‘Warrior’ police training is being offered across the US

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘us/2021/01/22/warrior-training-police-killology-orig-mg.cnn’,width: ‘100%’,height: ‘100%’,section: ‘domestic’,profile: ‘expansion’,network: ‘cnn’,markupId: ‘large-media_0’,adsection: ‘const-video-leaf’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: {“mini”:{“width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210122162438-warrior-training-police-killology-orig-mg-00021010-small-169.png”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210122162438-warrior-training-police-killology-orig-mg-00021010-medium-plus-169.png”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210122162438-warrior-training-police-killology-orig-mg-00021010-large-169.png”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210122162438-warrior-training-police-killology-orig-mg-00021010-exlarge-169.png”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210122162438-warrior-training-police-killology-orig-mg-00021010-super-169.png”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210122162438-warrior-training-police-killology-orig-mg-00021010-full-169.png”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210122162438-warrior-training-police-killology-orig-mg-00021010-small-11.png”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Police departments across the country are being trained in an aggressive, ready-to-kill approach to police training. How has this “warrior-style” of training contributed to the current state of policing in America?”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210122162438-warrior-training-police-killology-orig-mg-00021010-large-169.png”,”title”:”‘Warrior’ police training is being offered across the US”,”videoCMSUrl”:”/videos/us/2021/01/22/warrior-training-police-killology-orig-mg.cnn”,”videoLeafUrl”:”/videos/us/2021/01/22/warrior-training-police-killology-orig-mg.cnn”,”videoId”:”us/2021/01/22/warrior-training-police-killology-orig-mg.cnn”,”videoUrl”:”/videos/us/2021/01/22/warrior-training-police-killology-orig-mg.cnn”,”surrogateKey”:”video_512AE961-D712-F255-1C85-2B75C042CECD”},{“descriptionPlainText”:””Saturday Night Live” opened this weekend’s show with ridiculous everyday scenarios that attempted to answer questions surrounding the latest federal guidelines on mask requirements for fully vaccinated people.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210516030412-snl-cold-open-masks-fauci-large-169.jpg”,”title”:”Video: ‘SNL’ cold open goes over new mask rules”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/05/16/snl-fauci-mask-rules-cold-open.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/05/16/snl-fauci-mask-rules-cold-open.cnn”,”videoId”:”media/2021/05/16/snl-fauci-mask-rules-cold-open.cnn”,”videoUrl”:”/videos/media/2021/05/16/snl-fauci-mask-rules-cold-open.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_2D0FD81D-3C2D-1B52-4778-73F821E705AC”},{“descriptionPlainText”:”During an interview on Fox News, Randi Weingarten, president of the American Federation of Teachers, implored the network to stop spreading misinformation about the 2020 presidential election. Weingarten tells CNN’s Jim Acosta why she, as an educator, felt compelled to speak up about the issue.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210515175558-teachers-union-president-calls-out-fox-news-misinformation-weingarten-nr-vpx-00000507-large-169.jpg”,”title”:”Fox News guest calls out network for allowing misinformation”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/05/15/teachers-union-president-calls-out-fox-news-misinformation-weingarten-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/05/15/teachers-union-president-calls-out-fox-news-misinformation-weingarten-nr-vpx.cnn”,”videoId”:”media/2021/05/15/teachers-union-president-calls-out-fox-news-misinformation-weingarten-nr-vpx.cnn”,”videoUrl”:”/videos/media/2021/05/15/teachers-union-president-calls-out-fox-news-misinformation-weingarten-nr-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_7E5345A7-6950-E582-293A-71FF7C3574B7″},{“descriptionPlainText”:”BBC journalist Martin Bashir resigned citing health reasons shortly before a report publishes investigating his means of securing the bombshell 1995 interview with Princess Diana. During the interview, she caused a crisis within the royal family by detailing the breakdown of her marriage to Prince Charles.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210515165818-bbc-journalist-bashir-princess-diana-interview-stelter-sot-nr-vpx-00002703-large-169.jpg”,”title”:”BBC journalist quits amid Princess Diana interview inquiry”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/05/15/bbc-journalist-bashir-princess-diana-interview-stelter-sot-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/05/15/bbc-journalist-bashir-princess-diana-interview-stelter-sot-nr-vpx.cnn”,”videoId”:”media/2021/05/15/bbc-journalist-bashir-princess-diana-interview-stelter-sot-nr-vpx.cnn”,”videoUrl”:”/videos/media/2021/05/15/bbc-journalist-bashir-princess-diana-interview-stelter-sot-nr-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_081BCF37-3A69-729B-E5DA-71C329058825″},{“descriptionPlainText”:”CNN’s Natasha Chen reports from Charleston, South Carolina, as gas remains hard to come by in parts of the Southeast US.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210512155058-01-gas-plastic-bags-large-169.jpg”,”title”:”Gas still hard to find in parts of Southeast”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/05/15/gas-shortage-colonial-pipeline-update-chen-wxp-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/business/2021/05/15/gas-shortage-colonial-pipeline-update-chen-wxp-vpx.hln”,”videoId”:”business/2021/05/15/gas-shortage-colonial-pipeline-update-chen-wxp-vpx.hln”,”videoUrl”:”/videos/business/2021/05/15/gas-shortage-colonial-pipeline-update-chen-wxp-vpx.hln/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_5F1F4E19-0D60-A00A-1BDF-70961C6F1AA3″},{“descriptionPlainText”:”Mark Alston, co-owner of The Bayou in Utah, explains his decision to require proof of vaccination from patrons as the bar prepares to reopen.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210515115641-bayou-restaurant-vaccination-required-mark-alston-intv-nr-vpx-00000000-large-169.jpg”,”title”:”This bar will require proof of vaccination for entry”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/05/15/bayou-restaurant-vaccination-required-mark-alston-intv-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/05/15/bayou-restaurant-vaccination-required-mark-alston-intv-nr-vpx.cnn”,”videoId”:”business/2021/05/15/bayou-restaurant-vaccination-required-mark-alston-intv-nr-vpx.cnn”,”videoUrl”:”/videos/business/2021/05/15/bayou-restaurant-vaccination-required-mark-alston-intv-nr-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_C64E9EF4-9C0C-4E0C-E634-70B56563236C”},{“descriptionPlainText”:”Alicia Levine, chief strategist at BNY Mellon, says the market is buying the Fed’s transitory inflation message but will depend on how long it lasts.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210513104245-dow-stock-market-0513-large-169.jpg”,”title”:”Strategist: Hot inflation consistent with reopening challenges”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/05/14/inflation-economy-fed-alicia-levine.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/05/14/inflation-economy-fed-alicia-levine.cnnbusiness”,”videoId”:”business/2021/05/14/inflation-economy-fed-alicia-levine.cnnbusiness”,”videoUrl”:”/videos/business/2021/05/14/inflation-economy-fed-alicia-levine.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_706174CD-F4CC-F19C-FCF6-6B5BCC93C800″},{“descriptionPlainText”:”The Duke of Sussex has further disclosed his private life — his pain growing up in the British Royal Family, how he and Meghan managed to keep their relationship under wraps, as well as his new life — in an interview with actor Dax Shepard, host of the “Armchair Expert” podcast, in an episode released on May 13.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210514141038-screengrab-prince-harry-large-169.jpg”,”title”:”Prince Harry compares Royal life to Truman show”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/05/14/prince-harry-podcast-interview-armchair-expert-dax-shepard-foster-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/05/14/prince-harry-podcast-interview-armchair-expert-dax-shepard-foster-pkg-intl-hnk-vpx.cnn”,”videoId”:”media/2021/05/14/prince-harry-podcast-interview-armchair-expert-dax-shepard-foster-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/media/2021/05/14/prince-harry-podcast-interview-armchair-expert-dax-shepard-foster-pkg-intl-hnk-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_E6899930-960A-F85A-0BE7-695AF201432E”},{“descriptionPlainText”:”Republican Rep. Liz Cheney calls out Fox News during a combative interview with Bret Baier in which she argued that “Fox News has a particular obligation to make sure people know the election wasn’t stolen.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210513193304-cheney-on-fox-news-large-169.jpeg”,”title”:”Liz Cheney calls out Fox News … on Fox News”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/05/13/liz-cheney-calls-out-fox-news-trump-election-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/05/13/liz-cheney-calls-out-fox-news-trump-election-vpx.cnn”,”videoId”:”media/2021/05/13/liz-cheney-calls-out-fox-news-trump-election-vpx.cnn”,”videoUrl”:”/videos/media/2021/05/13/liz-cheney-calls-out-fox-news-trump-election-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_50E8A9D9-7694-2477-C068-680FDF0BA5E5″},{“descriptionPlainText”:”The identity of The Russian Dolls was revealed as a popular 1990s band on “The Masked Singer.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210513100357-01-masked-singer-russian-dolls-large-169.jpg”,”title”:”‘Masked Singer’ reveals first band to compete on show”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/05/13/masked-singer-russian-dolls-reveal-hanson-orig-bdk.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/05/13/masked-singer-russian-dolls-reveal-hanson-orig-bdk.cnn”,”videoId”:”media/2021/05/13/masked-singer-russian-dolls-reveal-hanson-orig-bdk.cnn”,”videoUrl”:”/videos/media/2021/05/13/masked-singer-russian-dolls-reveal-hanson-orig-bdk.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_7E8294BB-77D9-5C42-1D15-6698D78A271B”},{“descriptionPlainText”:”Meteorologist Jennifer McDermed got caught in an on-air graphics error that “multiplied” her across the screen. She and her coworkers thought it was hilarious.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210513105748-weather-reporter-multiplies-large-169.jpg”,”title”:”Weather reporter ‘multiplies’ in hilarious graphics error on live TV”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/05/13/weather-reporter-multiplies-orig-jk.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/05/13/weather-reporter-multiplies-orig-jk.cnn”,”videoId”:”media/2021/05/13/weather-reporter-multiplies-orig-jk.cnn”,”videoUrl”:”/videos/media/2021/05/13/weather-reporter-multiplies-orig-jk.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_3DD02BAC-BB4D-D083-264B-66BBA07D1529″},{“descriptionPlainText”:”President Biden warned gas station owners against taking advantage of consumers after a ransomware attack on the Colonial Pipeline has led to gas shortages at many stations in the eastern United States.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210513124513-01-joe-biden-pipeline-0513-screengrab-large-169.jpg”,”title”:”Biden issues warning to gas station owners on price gouging”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/05/13/biden-pipeline-gas-supply-sot-ip-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/05/13/biden-pipeline-gas-supply-sot-ip-vpx.cnn”,”videoId”:”business/2021/05/13/biden-pipeline-gas-supply-sot-ip-vpx.cnn”,”videoUrl”:”/videos/business/2021/05/13/biden-pipeline-gas-supply-sot-ip-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_F1BD2DAC-3BC4-DCB2-D94B-669B8D246DBD”},{“descriptionPlainText”:”Daytime talk show host Ellen DeGeneres will end her highly successful show in 2022. Watch her emotional announcement.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210513121011-ellen-degeneres-emotional-talk-show-ending-large-169.jpg”,”title”:”Emotional Ellen DeGeneres announces her show is ending”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/05/13/ellen-degeneres-talk-show-ending-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2021/05/13/ellen-degeneres-talk-show-ending-orig.cnn-business”,”videoId”:”business/2021/05/13/ellen-degeneres-talk-show-ending-orig.cnn-business”,”videoUrl”:”/videos/business/2021/05/13/ellen-degeneres-talk-show-ending-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_4BD3E97C-B85F-637D-E36B-667A0D9EE791″},{“descriptionPlainText”:”Gas shortage concerns are driving gasoline demand up as the Colonial Pipeline remains shut five days after it was hit by a cyber attack. CNN’s Matt Egan reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210508093128-file-colonial-pipeline-alabama-2016-large-169.jpg”,”title”:”Demand for gas is rising after pipeline hack”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/05/11/colonial-pipeline-shutdown-gasoline-demand.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/05/11/colonial-pipeline-shutdown-gasoline-demand.cnnbusiness”,”videoId”:”business/2021/05/11/colonial-pipeline-shutdown-gasoline-demand.cnnbusiness”,”videoUrl”:”/videos/business/2021/05/11/colonial-pipeline-shutdown-gasoline-demand.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_0F4805BD-5DB5-7082-9278-5BA073D8063A”},{“descriptionPlainText”:”The final five contestants on “American Idol” were chosen after their Mother’s Day performances drew praise from judge Katy Perry.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210510140545-american-idol-top-five-selfie-large-169.jpg”,”title”:”‘American Idol’ down to final five contestants”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/05/10/american-idol-season-19-final-five-orig-bdk.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/05/10/american-idol-season-19-final-five-orig-bdk.cnn”,”videoId”:”media/2021/05/10/american-idol-season-19-final-five-orig-bdk.cnn”,”videoUrl”:”/videos/media/2021/05/10/american-idol-season-19-final-five-orig-bdk.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_99876FF4-323E-EDA4-F056-57404E666178″},{“descriptionPlainText”:”A couple attending an event hosted by Rep. Matt Gaetz (R-FL) and Rep. Marjorie Taylor Greene (R-GA) tell CNN’s Donie O’Sullivan why they still believe debunked conspiracy theories cited as evidence that the 2020 presidential election was “stolen” from former President Donald Trump.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210510110049-donie-osullivan-gaetz-event-trump-voter-01-large-169.jpg”,”title”:”‘I saw it on TV!’: Why Trump supporter says she believes election lie”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/05/10/trump-voter-gaetz-rally-election-conspiracy-big-lie-o-sullivan-lkl-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/05/10/trump-voter-gaetz-rally-election-conspiracy-big-lie-o-sullivan-lkl-vpx.cnn”,”videoId”:”media/2021/05/10/trump-voter-gaetz-rally-election-conspiracy-big-lie-o-sullivan-lkl-vpx.cnn”,”videoUrl”:”/videos/media/2021/05/10/trump-voter-gaetz-rally-election-conspiracy-big-lie-o-sullivan-lkl-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_9EBDB278-04A0-8E6C-42B7-56C3B9C36FBB”}],currentVideoCollectionId = ”,isLivePlayer = false,mediaMetadataCallbacks,mobilePinnedView = null,moveToNextTimeout,mutePlayerEnabled = false,nextVideoId = ”,nextVideoUrl = ”,turnOnFlashMessaging = false,videoPinner,videoEndSlateImpl;if (CNN.autoPlayVideoExist === false) {autoStartVideo = true;if (autoStartVideo === true) {if (turnOnFlashMessaging === true) {autoStartVideo = false;containerEl = jQuery(document.getElementById(configObj.markupId));CNN.VideoPlayer.showFlashSlate(containerEl);} else {CNN.autoPlayVideoExist = true;}}}configObj.autostart = CNN.Features.enableAutoplayBlock ? false : autoStartVideo;CNN.VideoPlayer.setPlayerProperties(configObj.markupId, autoStartVideo, isLivePlayer, isVideoReplayClicked, mutePlayerEnabled);CNN.VideoPlayer.setFirstVideoInCollection(currentVideoCollection, configObj.markupId);var embedLinkHandler = {},videoPinner,embedCodeCopy;function onVideoCarouselItemClicked(evt) {‘use strict’;var videoId,articleElem,videoPlayer,thumbImageElem,thumbImageLargeSource,overrides = {autostart: false,muteOverlayClicked: true,videoCollection: this.videoCollection},shouldStartVideo = false,playerInstance;try {articleElem = jQuery(evt.currentTarget).find(‘article’);thumbImageElem = jQuery(articleElem).find(‘.media__image’);videoId = articleElem.data().videoId;if (CNN.VideoPlayer.getLibraryName(configObj.markupId) === ‘fave’) {playerInstance = FAVE.player.getInstance(configObj.markupId);if (CNN.Utils.existsObject(playerInstance) &&typeof playerInstance.getVideoData === ‘function’ &&playerInstance.getVideoData().id !== videoId) {jQuery(articleElem).closest(‘.cn-carousel-medium-strip’).parent().find(‘script[name=”metaScript”]’).remove();playerInstance.play(videoId, overrides);}} else {videoPlayer = CNNVIDEOAPI.CNNVideoManager.getInstance().getPlayerByContainer(configObj.markupId);if (videoPlayer && videoPlayer.videoInstance) {if (!videoPlayer.videoInstance.cvp) {if (typeof thumbImageElem !== ‘undefined’ && thumbImageElem !== null) {thumbImageLargeSource = thumbImageElem.data() && thumbImageElem.data().srcLarge ? thumbImageElem.data().srcLarge : ‘none’;}overrides.thumb = thumbImageLargeSource ? thumbImageLargeSource : ‘none’;shouldStartVideo = true;}if (videoPlayer.videoInstance.config) {if (videoPlayer.videoInstance.config.video !== videoId) {jQuery(articleElem).closest(‘.cn-carousel-medium-strip’).parent().find(‘script[name=”metaScript”]’).remove();CNNVIDEOAPI.CNNVideoManager.getInstance().playVideo(configObj.markupId, videoId, overrides);}}}}} catch (error) {console.log(“error in initializing video player” + error);}}function setInitialVideoEmbed() {}function initialize(){var carousel = jQuery(document.getElementById(‘cn-current_video_collection’)).find(‘.js-owl-carousel’),owl;if (carousel) {carousel.find(‘.cn__column.carousel__content__item’).find(‘a’).removeAttr(‘href’);jQuery(carousel).on(‘click’, ‘.cn__column.carousel__content__item’, onVideoCarouselItemClicked);}}if (CNN.VideoPlayer.getLibraryName(configObj.markupId) === ‘videoLoader’) {window.CNNVideoAPILoadCompleteHandlers = window.CNNVideoAPILoadCompleteHandlers ? window.CNNVideoAPILoadCompleteHandlers : [];window.CNNVideoAPILoadCompleteHandlers.push(initialize);window.CNNVideoAPILoadCompleteHandlers.push(setInitialVideoEmbed);} else {initialize();}CNN.INJECTOR.executeFeature(‘videx’).done(function () {var initMeta = {id:”us/2021/01/22/warrior-training-police-killology-orig-mg.cnn”, isEmbeddable: “yes”};CNN.Videx.EmbedButton.updateCode(initMeta);}).fail(function () {throw ‘Unable to fetch the videx bundle.’;});function updateCurrentlyPlaying(videoId) {var videoCollectionId = ‘current_video_collection’,videocardContents = getCurrentVideoCardContents(videoId),carousel = jQuery(document.getElementById(‘cn-current_video_collection’)).find(‘.js-owl-carousel’),domain = CNN.Host.domain || (document.location.protocol + ‘//’ + document.location.hostname),owl,$owlFirstItem,$owlPrevItem,showDetailsSpanContent = ”,gigyaShareElement,showIndex,whatsappShareElement,$carouselContentItems = jQuery(‘.carousel__content__item’, document.getElementById(‘cn-current_video_collection’));gigyaShareElement = jQuery(‘div.js-gigya-sharebar’);if (typeof gigyaShareElement !== ‘undefined’ && CNN.Utils.existsObject(videocardContents)) {jQuery(gigyaShareElement).attr(‘data-title’, videocardContents.headlinePlainText || ”);jQuery(gigyaShareElement).attr(‘data-description’, videocardContents.descriptionPlainText || ”);jQuery(gigyaShareElement).attr(‘data-link’, domain + videocardContents.url || ”);jQuery(gigyaShareElement).attr(‘data-image-src’, (videocardContents.media && videocardContents.media.elementContents && videocardContents.media.elementContents.imageUrl) || ”);}whatsappShareElement = jQuery(‘div.share-bar-whatsapp-container’);if (typeof whatsappShareElement !== ‘undefined’) {jQuery(whatsappShareElement).attr(‘data-title’, videocardContents.headlinePlainText || ”);jQuery(whatsappShareElement).attr(‘data-storyurl’, domain + videocardContents.url || ”);}if (carousel && currentVideoCollectionContainsId(videoId)) {owl = carousel.data(‘owl.carousel’) || {};showIndex = getCurrentVideoIndex(videoId);if (typeof owl.to === ‘function’) {owl.to(showIndex);}$owlPrevItem = CNN.Utils.exists(owl.$element) ? owl.$element.find(‘.cd.cd–active’) : $carouselContentItems.find(‘.cd.cd–active’);$owlPrevItem.removeClass(‘cd–active’);$owlPrevItem.find(‘.media__over-text’).remove();$owlPrevItem.find(‘.media__icon’).show();$owlFirstItem = CNN.Utils.exists(owl._items) ? jQuery(owl._items[showIndex]) : $carouselContentItems.eq(showIndex);$owlFirstItem.find(‘.cd’).addClass(‘cd–active’);$owlFirstItem.find(‘.media a:first-child’).append(‘

Now Playing

‘);if (Modernizr && !Modernizr.phone) {$owlFirstItem.find(‘.media__icon’).hide();}}CNN.Videx.Metadata.init({dateCreated: videocardContents.dateCreated,descriptionText: videocardContents.descriptionText,duration: videocardContents.duration,sourceLink: videocardContents.sourceLink,sourceName: videocardContents.sourceName,title: videocardContents.headlineText},{videoCollectionDivId: ‘cn-82vnix’,videoDescriptionDivId: ‘js-video_description-82vnix’,videoDurationDivId: ‘js-video_duration-82vnix’,videoTitleDivId: ‘js-leaf-video_headline-82vnix’,videoSourceDivId: ‘js-video_sourceName-82vnix’});if (CNN.Utils.exists(videocardContents.showName)) {if (CNN.Utils.exists(videocardContents.showUrl)) {showDetailsSpanContent = ‘‘ + videocardContents.showName + ‘ | ‘;} else {showDetailsSpanContent = videocardContents.showName + ‘ | ‘;}}fastdom.measure(function getShowInfo() {var $show = jQuery(‘.metadata__show’),$isShowDetailsSpanExists = $show.find(‘span’).hasClass(‘metadata–show__name’),$showName = jQuery(‘.metadata–show__name’);fastdom.mutate(function updateShowInfo() {if (!$isShowDetailsSpanExists) {$show.prepend(‘

Loading

Leave a Reply

Your email address will not be published. Required fields are marked *

Follow by Email
Pinterest
LinkedIn
Share