West Virginia rolling distribution plan is succedding, here is why – CNN Video

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘health/2021/01/28/west-virginia-vaccination-rollout-successful-newday-marquez-dnt-vpx.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/210128073310-wva-vaccine-rollout-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210128073310-wva-vaccine-rollout-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210128073310-wva-vaccine-rollout-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210128073310-wva-vaccine-rollout-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210128073310-wva-vaccine-rollout-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210128073310-wva-vaccine-rollout-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210128073310-wva-vaccine-rollout-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”CNN’s Miguel Marquez explains what West Virginia is doing right with its vaccine roll out program as new Covid-19 variants emerge in the US and other states continue to struggle with vaccinating citizens.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210128073310-wva-vaccine-rollout-large-169.jpg”,”title”:”Here’s why West Virginia leads in rolling out the Covid-19 vaccine”,”videoCMSUrl”:”/video/data/3.0/video/health/2021/01/28/west-virginia-vaccination-rollout-successful-newday-marquez-dnt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2021/01/28/west-virginia-vaccination-rollout-successful-newday-marquez-dnt-vpx.cnn”,”videoId”:”health/2021/01/28/west-virginia-vaccination-rollout-successful-newday-marquez-dnt-vpx.cnn”,”videoUrl”:”/videos/health/2021/01/28/west-virginia-vaccination-rollout-successful-newday-marquez-dnt-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_0EB6C66B-1A96-717A-BCDB-48E61DD52156″},{“descriptionPlainText”:”CNN’s Matt Rivers reports on a coronavirus variant that originated in Brazil and has caused two-thirds of their recent infections. The variant has now been identified in the US for the first time.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210127204057-brazil-coronavirus-large-169.jpg”,”title”:”Coronavirus variant first spotted in Brazil found in US”,”videoCMSUrl”:”/video/data/3.0/video/health/2021/01/28/brazil-coronavirus-variant-outbreak-rivers-dnt-ebof-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2021/01/28/brazil-coronavirus-variant-outbreak-rivers-dnt-ebof-vpx.cnn”,”videoId”:”health/2021/01/28/brazil-coronavirus-variant-outbreak-rivers-dnt-ebof-vpx.cnn”,”videoUrl”:”/videos/health/2021/01/28/brazil-coronavirus-variant-outbreak-rivers-dnt-ebof-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_5327C17F-93E3-2130-EB63-4B01C75E1DCE”},{“descriptionPlainText”:”Teachers in Chicago fight for proper coronavirus safety measures as Chicago Public Schools is pushing to have kindergarten through eighth grade students return to classrooms. CNN’s Omar Jimenez reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210127175009-chicago-teachers-dnt-lead-vpx-large-169.jpg”,”title”:”Teachers fight return to classrooms without proper safety measures”,”videoCMSUrl”:”/video/data/3.0/video/health/2021/01/27/teachers-push-for-more-coronavirus-safety-measures-jimenez-dnt-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2021/01/27/teachers-push-for-more-coronavirus-safety-measures-jimenez-dnt-lead-vpx.cnn”,”videoId”:”health/2021/01/27/teachers-push-for-more-coronavirus-safety-measures-jimenez-dnt-lead-vpx.cnn”,”videoUrl”:”/videos/health/2021/01/27/teachers-push-for-more-coronavirus-safety-measures-jimenez-dnt-lead-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_0EB6C66B-1A96-717A-BCDB-48E61DD52156″},{“descriptionPlainText”:”CNN’s Erica Hill reports on the struggle to get Americans the Covid-19 vaccine as the US continues to report large numbers of new cases everyday.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210125084758-pfizer-vaccine-doses-ca-0121-large-169.jpg”,”title”:”WH Covid-19 task force: There is no vaccine stockpile”,”videoCMSUrl”:”/video/data/3.0/video/health/2021/01/27/covid-wrap-vaccine-us-cases-hill-dnt-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2021/01/27/covid-wrap-vaccine-us-cases-hill-dnt-lead-vpx.cnn”,”videoId”:”health/2021/01/27/covid-wrap-vaccine-us-cases-hill-dnt-lead-vpx.cnn”,”videoUrl”:”/videos/health/2021/01/27/covid-wrap-vaccine-us-cases-hill-dnt-lead-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_BD3ACBCD-24A9-55D0-22C2-468DF06E40D4″},{“descriptionPlainText”:”Senior adviser to the White House Covid-19 response team, Andy Slavitt, says during a coronavirus press briefing that it may be months before coronavirus vaccines will become widely available to the public.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210127123418-andy-slavitt-briefing-large-169.jpg”,”title”:”Covid-19 adviser predicts vaccines won’t be widely available for months”,”videoCMSUrl”:”/video/data/3.0/video/health/2021/01/27/coronavirus-vaccinations-slavitt-sot-biden-administration-briefing-ip-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2021/01/27/coronavirus-vaccinations-slavitt-sot-biden-administration-briefing-ip-vpx.cnn”,”videoId”:”health/2021/01/27/coronavirus-vaccinations-slavitt-sot-biden-administration-briefing-ip-vpx.cnn”,”videoUrl”:”/videos/health/2021/01/27/coronavirus-vaccinations-slavitt-sot-biden-administration-briefing-ip-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_55AF4D3E-DDAC-321D-7428-45E4D97D6DD2″},{“descriptionPlainText”:”CNN’s Stephanie Elam details her experience after she received either a Covid-19 or placebo vaccine in late 2020 as part of a trial.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210127121742-stephanie-elam-vaccine-1-large-169.jpg”,”title”:”No side effects: CNN correspondent on vaccine trial experience”,”videoCMSUrl”:”/video/data/3.0/video/health/2021/01/27/coronavirus-vaccine-follow-up-elam-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2021/01/27/coronavirus-vaccine-follow-up-elam-pkg-vpx.cnn”,”videoId”:”health/2021/01/27/coronavirus-vaccine-follow-up-elam-pkg-vpx.cnn”,”videoUrl”:”/videos/health/2021/01/27/coronavirus-vaccine-follow-up-elam-pkg-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_49F52E68-11EE-DA7C-A4DD-45C13D823A67″},{“descriptionPlainText”:”A more contagious, possibly deadlier variant of coronavirus first identified in the United Kingdom is confirmed to be in 24 US states. This comes as the United States grapples with vaccine supply. CNN’s Nick Watt reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210125004314-us-coronavirus-0124-large-169.jpg”,”title”:”Variant first identified in UK now confirmed in 24 US states”,”videoCMSUrl”:”/video/data/3.0/video/health/2021/01/26/coronavirus-vaccine-supply-variant-in-us-watt-dnt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2021/01/26/coronavirus-vaccine-supply-variant-in-us-watt-dnt-vpx.cnn”,”videoId”:”health/2021/01/26/coronavirus-vaccine-supply-variant-in-us-watt-dnt-vpx.cnn”,”videoUrl”:”/videos/health/2021/01/26/coronavirus-vaccine-supply-variant-in-us-watt-dnt-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_5BD41F82-BF61-8911-9F2B-44CD61249BC8″},{“descriptionPlainText”:”CNN’s Dr. Sanjay Gupta helps us understand the new coronavirus variants which have emerged in Brazil, South Africa and the United Kingdom. He tells us the effects these variants may have on the global pandemic.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210126074636-gupta-large-169.jpg”,”title”:”Dr. Gupta discusses transmissibility of new Covid-19 variants”,”videoCMSUrl”:”/video/data/3.0/video/health/2021/01/26/coronavirus-variants-gupta-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2021/01/26/coronavirus-variants-gupta-newday-vpx.cnn”,”videoId”:”health/2021/01/26/coronavirus-variants-gupta-newday-vpx.cnn”,”videoUrl”:”/videos/health/2021/01/26/coronavirus-variants-gupta-newday-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_524F9B54-DF69-39E9-B4E4-44CF6A606828″},{“descriptionPlainText”:”CNN’s Nick Watt reports that though coronavirus cases and hospitalizations have plateaued across the US, there is concern among health officials that a variant of the virus may be more infectious.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210125004314-us-coronavirus-0124-large-169.jpg”,”title”:”Coronavirus cases and hospitalizations plateau across US”,”videoCMSUrl”:”/video/data/3.0/video/health/2021/01/25/coronavirus-cases-hospitalizations-variant-vaccine-watt-dnt-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2021/01/25/coronavirus-cases-hospitalizations-variant-vaccine-watt-dnt-nr-vpx.cnn”,”videoId”:”health/2021/01/25/coronavirus-cases-hospitalizations-variant-vaccine-watt-dnt-nr-vpx.cnn”,”videoUrl”:”/videos/health/2021/01/25/coronavirus-cases-hospitalizations-variant-vaccine-watt-dnt-nr-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_B7DD3508-68E3-DF1D-7DBA-40BBB5A158A0″},{“descriptionPlainText”:”Childhood sweethearts Dick Meek, 89, and Shirley Meek, 87, passed minutes apart from Covid-19, three days before they were scheduled to receive the coronavirus vaccine. Their grandchildren tell CNN’s Alisyn Camerota more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210125090801-dick-and-shirley-meek-large-169.jpg”,”title”:”Grandparents die of Covid-19 while holding hands”,”videoCMSUrl”:”/video/data/3.0/video/health/2021/01/25/couple-died-of-covid-19-holding-hands-intv-camerota-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2021/01/25/couple-died-of-covid-19-holding-hands-intv-camerota-newday-vpx.cnn”,”videoId”:”health/2021/01/25/couple-died-of-covid-19-holding-hands-intv-camerota-newday-vpx.cnn”,”videoUrl”:”/videos/health/2021/01/25/couple-died-of-covid-19-holding-hands-intv-camerota-newday-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_E35CE156-0DE9-A753-61BF-3EA9F308FFDB”},{“descriptionPlainText”:”CDC Director Dr. Rochelle Walensky shares the logistics issues associated with distributing Covid-19 vaccines in an interview with Fox News.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210121014149-dr-rochelle-walensky-120820-large-169.jpg”,”title”:”Biden’s CDC director: Couldn’t tell you how much vaccine we have”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/01/25/biden-cdc-director-rochelle-walensky-coronavirus-vaccine-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/01/25/biden-cdc-director-rochelle-walensky-coronavirus-vaccine-nr-vpx.cnn”,”videoId”:”business/2021/01/25/biden-cdc-director-rochelle-walensky-coronavirus-vaccine-nr-vpx.cnn”,”videoUrl”:”/videos/business/2021/01/25/biden-cdc-director-rochelle-walensky-coronavirus-vaccine-nr-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_2E959222-D967-D2D2-85F7-3B45F8B0D698″},{“descriptionPlainText”:”In an interview with CBS, Dr. Deborah Birx said she saw President Donald Trump presenting graphs about the coronavirus pandemic that she never made and claimed that someone either outside or inside the administration was creating a parallel set of data to show to Trump.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210124191441-deborah-birx-trump-coronavirus-briefings-rs-vpx-00001330-large-169.jpg”,”title”:”Dr. Birx: Trump presented graphs that I never made”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/01/24/deborah-birx-trump-coronavirus-briefings-rs-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/01/24/deborah-birx-trump-coronavirus-briefings-rs-vpx.cnn”,”videoId”:”media/2021/01/24/deborah-birx-trump-coronavirus-briefings-rs-vpx.cnn”,”videoUrl”:”/videos/media/2021/01/24/deborah-birx-trump-coronavirus-briefings-rs-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_12BAE4A4-83B8-E01A-4A04-39D2F189C8D6″},{“descriptionPlainText”:”Sen. Elizabeth Warren (D-MA) explains how the coronavirus pandemic has negatively affected women and their career paths and how the government can help offset these effects.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210124085320-elizabeth-warren-inside-politics-1-24-21-large-169.jpg”,”title”:”Sen. Warren: Pandemic has really set women back”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/01/24/elizabeth-warren-covid-19-pandemic-women-economy-ip-phillip-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/01/24/elizabeth-warren-covid-19-pandemic-women-economy-ip-phillip-vpx.cnn”,”videoId”:”politics/2021/01/24/elizabeth-warren-covid-19-pandemic-women-economy-ip-phillip-vpx.cnn”,”videoUrl”:”/videos/politics/2021/01/24/elizabeth-warren-covid-19-pandemic-women-economy-ip-phillip-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_F9DB9759-1548-2D29-76D1-3A5E8C202F60″},{“descriptionPlainText”:”When schools switched to virtual learning, there was a huge effort to get students in need connected online. But parents in Oakland, California, found they needed more than just technology. CNN’s Evan McMorris-Santoro reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210123124452-digital-divide-coronavirus-online-learning-oakland-mcmorris-santoro-pkg-vpx-00023209-large-169.png”,”title”:”How the digital divide is impacting online learning amid pandemic”,”videoCMSUrl”:”/video/data/3.0/video/us/2021/01/23/digital-divide-coronavirus-online-learning-oakland-mcmorris-santoro-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/01/23/digital-divide-coronavirus-online-learning-oakland-mcmorris-santoro-pkg-vpx.cnn”,”videoId”:”us/2021/01/23/digital-divide-coronavirus-online-learning-oakland-mcmorris-santoro-pkg-vpx.cnn”,”videoUrl”:”/videos/us/2021/01/23/digital-divide-coronavirus-online-learning-oakland-mcmorris-santoro-pkg-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_56AE4EE4-97F1-4B22-7E27-35DFC52A12EC”},{“descriptionPlainText”:”The city of Philadelphia has cut ties with a Covid-19 vaccine provider, saying it lost “trust in them as an organization,” after several controversial moves by the group and its 22-year-old CEO. CNN’s Sara Murray reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210128173543-philly-large-169.jpg”,”title”:”Philadelphia severs ties with Covid-19 organization after controversy “,”videoCMSUrl”:”/video/data/3.0/video/health/2021/01/28/philadelphia-vaccine-controversy-murray-dnt-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2021/01/28/philadelphia-vaccine-controversy-murray-dnt-lead-vpx.cnn”,”videoId”:”health/2021/01/28/philadelphia-vaccine-controversy-murray-dnt-lead-vpx.cnn”,”videoUrl”:”/videos/health/2021/01/28/philadelphia-vaccine-controversy-murray-dnt-lead-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_3A7634EA-8131-8520-E922-34A069FF8BEC”}],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:”health/2021/01/28/west-virginia-vaccination-rollout-successful-newday-marquez-dnt-vpx.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-se6ol7’,videoDescriptionDivId: ‘js-video_description-se6ol7’,videoDurationDivId: ‘js-video_duration-se6ol7’,videoTitleDivId: ‘js-leaf-video_headline-se6ol7’,videoSourceDivId: ‘js-video_sourceName-se6ol7’});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(‘

Leave a Reply

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