Opinion: Yale physician explains how the pandemic may end

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘opinions/2021/02/03/covid-19-pandemic-end-lon-orig-bks.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/210203180704-covid-legacy-thumbnail-for-video-3-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210203180704-covid-legacy-thumbnail-for-video-3-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210203180704-covid-legacy-thumbnail-for-video-3-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210203180704-covid-legacy-thumbnail-for-video-3-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210203180704-covid-legacy-thumbnail-for-video-3-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210203180704-covid-legacy-thumbnail-for-video-3-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210203180704-covid-legacy-thumbnail-for-video-3-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Dr Nicholas Christakis, physician and social scientist at Yale University, explains the legacy Covid-19 will leave behind and his prediction for how long the pandemic will last.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210203180704-covid-legacy-thumbnail-for-video-3-large-169.jpg”,”title”:”Opinion: Why the pandemic won’t be over until 2024″,”videoCMSUrl”:”/video/data/3.0/video/opinions/2021/02/03/covid-19-pandemic-end-lon-orig-bks.cnn/index.xml”,”videoLeafUrl”:”/videos/opinions/2021/02/03/covid-19-pandemic-end-lon-orig-bks.cnn”,”videoId”:”opinions/2021/02/03/covid-19-pandemic-end-lon-orig-bks.cnn”,”videoUrl”:”/videos/opinions/2021/02/03/covid-19-pandemic-end-lon-orig-bks.cnn/video/playlists/intl-stories-worth-watching/”,”surrogateKey”:”video_6FF9BDB0-336C-7359-09A6-687F00B739FE”},{“descriptionPlainText”:”CNN’s Stephanie Busari speaks with Omar Farouq, the Nigerian teen who was freed after his 10-year prison sentence for blasphemy was overturned. Farouq was convicted in a Sharia court in Kano State in northwest Nigeria after he was accused of using foul language toward Allah in an argument with a friend.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210129133641-omar-farouq-teen-nigeria-blasphemy-conviction-overturned-busari-large-169.jpg”,”title”:”Hear from Nigerian teen freed after overturned blasphemy sentence”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/01/29/nigeria-omar-farouq-teen-freed-blasphemy-busari-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/01/29/nigeria-omar-farouq-teen-freed-blasphemy-busari-intl-ldn-vpx.cnn”,”videoId”:”world/2021/01/29/nigeria-omar-farouq-teen-freed-blasphemy-busari-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/01/29/nigeria-omar-farouq-teen-freed-blasphemy-busari-intl-ldn-vpx.cnn/video/playlists/intl-stories-worth-watching/”,”surrogateKey”:”video_DBF11665-E873-CE0E-DA4F-6D0D2ECEBA26″},{“descriptionPlainText”:”The Atlantic salmon run used to be majestic. Today the species is on the brink of extinction. One hatchery in Maine is giving the species in the US hope.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210128095841-atlantic-salmon-c2e-large-169.jpg”,”title”:”Here’s how to help the Atlantic salmon avoid extinction”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/01/27/atlantic-salmon-extinction-c2e-intl-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/01/27/atlantic-salmon-extinction-c2e-intl-lon-orig.cnn”,”videoId”:”world/2021/01/27/atlantic-salmon-extinction-c2e-intl-lon-orig.cnn”,”videoUrl”:”/videos/world/2021/01/27/atlantic-salmon-extinction-c2e-intl-lon-orig.cnn/video/playlists/intl-stories-worth-watching/”,”surrogateKey”:”video_A54752B9-EC97-49FC-422D-6DFFA651CA56″},{“descriptionPlainText”:”Poland imposed a controversial near-total ban on abortions. See protesters react to the new law.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210127232229-03-poland-abortion-protest-210127-large-169.jpg”,”title”:”Some in Poland may leave the country because of this law”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/01/28/poland-abortion-ruling-protests-lon-orig-na.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/01/28/poland-abortion-ruling-protests-lon-orig-na.cnn”,”videoId”:”world/2021/01/28/poland-abortion-ruling-protests-lon-orig-na.cnn”,”videoUrl”:”/videos/world/2021/01/28/poland-abortion-ruling-protests-lon-orig-na.cnn/video/playlists/intl-stories-worth-watching/”,”surrogateKey”:”video_310C2754-E2BE-0D75-89DB-5E8037D43351″},{“descriptionPlainText”:”With landscapes ranging from deserts to tropical forests, Sierra Gorda is one of Mexico’s top biodiversity hotspots. Martha “Pati” Ruiz Corzo moved her family there in 1984 and started a non-profit conservation group to save the region from the impact of human activity. Today, she may be its most trusted protector.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210127134437-15-sierra-gorda-large-169.jpg”,”title”:”Meet the guardian of Mexico’s “fat mountains””,”videoCMSUrl”:”/video/data/3.0/video/tv/2021/01/27/martha-ruiz-corzo-c2e-hnk-spc-intl.cnn/index.xml”,”videoLeafUrl”:”/videos/tv/2021/01/27/martha-ruiz-corzo-c2e-hnk-spc-intl.cnn”,”videoId”:”tv/2021/01/27/martha-ruiz-corzo-c2e-hnk-spc-intl.cnn”,”videoUrl”:”/videos/tv/2021/01/27/martha-ruiz-corzo-c2e-hnk-spc-intl.cnn/video/playlists/intl-stories-worth-watching/”,”surrogateKey”:”video_9C82DF48-188F-904E-4D3A-6B464DD34267″},{“descriptionPlainText”:”Around 5,000 manta rays swim in the warm waters of Maldives, where they are protected. Globally, the species faces multiple threats, though. Beth Faulkner of the Maldivian Manta Ray Project says that swimming in the wild with these gentle giants can help their survival: “The more people are aware of manta rays … the more they’re going to want to protect them.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210121155740-manta-ray-maldives-c2e-1-large-169.jpg”,”title”:”Swimming with manta rays could help save them”,”videoCMSUrl”:”/video/data/3.0/video/tv/2021/01/21/manta-trust-maldives-ocean-conservation-c2e-hnk.cnn/index.xml”,”videoLeafUrl”:”/videos/tv/2021/01/21/manta-trust-maldives-ocean-conservation-c2e-hnk.cnn”,”videoId”:”tv/2021/01/21/manta-trust-maldives-ocean-conservation-c2e-hnk.cnn”,”videoUrl”:”/videos/tv/2021/01/21/manta-trust-maldives-ocean-conservation-c2e-hnk.cnn/video/playlists/intl-stories-worth-watching/”,”surrogateKey”:”video_D390B688-3800-B9A8-3A3A-638399A70E42″},{“descriptionPlainText”:”Indonesia’s Mount Merapi volcano on Java island erupted on January 28 spewing ash and smoke, and prompting authorities to warn of the risk of lava flows reaching roads, officials said.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210128161107-indonesia-volcano-mount-merapi-ctw-large-169.jpg”,”title”:”Hundreds flee as Indonesian volcano spews ash and smoke”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/01/28/indonesia-mount-merapi-smoke-ash-ctw-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/01/28/indonesia-mount-merapi-smoke-ash-ctw-intl-ldn-vpx.cnn”,”videoId”:”world/2021/01/28/indonesia-mount-merapi-smoke-ash-ctw-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/01/28/indonesia-mount-merapi-smoke-ash-ctw-intl-ldn-vpx.cnn/video/playlists/intl-stories-worth-watching/”,”surrogateKey”:”video_EF32CF8C-49CD-D521-C34E-6E1C4AD41560″},{“descriptionPlainText”:”A team of international experts from the World Health Organization are looking for the source of the coronavirus in Wuhan, China — the original epicenter of the outbreak. CNN’s David Culver speaks with British zoologist Dr. Peter Daszak, one of the scientists taking part in the high-profile source-tracing mission.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210204131413-peter-daszak-world-health-organization-wuhan-china-culver-pkg-large-169.jpg”,”title”:”Hear from WHO investigator looking for source of Covid-19 in Wuhan”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/02/04/coronavirus-origin-china-who-mission-wuhan-institute-of-virology-culver-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/02/04/coronavirus-origin-china-who-mission-wuhan-institute-of-virology-culver-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2021/02/04/coronavirus-origin-china-who-mission-wuhan-institute-of-virology-culver-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/02/04/coronavirus-origin-china-who-mission-wuhan-institute-of-virology-culver-pkg-intl-ldn-vpx.cnn/video/playlists/intl-stories-worth-watching/”,”surrogateKey”:”video_C103B494-87FB-1919-131E-67403C601B0E”},{“descriptionPlainText”:”Days after the military coup in Myanmar, some protesters took to the streets to peacefully demonstrate in Mandalay while hospital workers in the country’s largest city Yangon threatened to go on strike.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210204172633-myanmar-protests-large-169.jpg”,”title”:”See how Burmese are using non-violence to protest coup”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/02/04/myanmar-coup-protests-ctw-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/02/04/myanmar-coup-protests-ctw-intl-ldn-vpx.cnn”,”videoId”:”world/2021/02/04/myanmar-coup-protests-ctw-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/02/04/myanmar-coup-protests-ctw-intl-ldn-vpx.cnn/video/playlists/intl-stories-worth-watching/”,”surrogateKey”:”video_C0C5B5C0-0DDB-7A36-D36D-2465F4F2691C”},{“descriptionPlainText”:”A Russian fighter jet flew low over the Black Sea on January 31, near the USS Donald Cook, a naval missile destroyer operating in the Black Sea, according to a tweet from US Naval Forces Europe-Africa/US 6th Fleet, which tweeted video of the incident.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210201170250-russian-jet-black-sea-uss-donald-cook-large-169.jpg”,”title”:”See Russian jet fly low near US Navy ship in Black Sea”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/02/01/us-navy-ship-russian-jet-black-sea-ctw-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/02/01/us-navy-ship-russian-jet-black-sea-ctw-intl-ldn-vpx.cnn”,”videoId”:”world/2021/02/01/us-navy-ship-russian-jet-black-sea-ctw-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/02/01/us-navy-ship-russian-jet-black-sea-ctw-intl-ldn-vpx.cnn/video/playlists/intl-stories-worth-watching/”,”surrogateKey”:”video_6FF9BDB0-336C-7359-09A6-687F00B739FE”},{“descriptionPlainText”:”Hospitals across Japan are struggling to cope with the country’s worst surge in Covid-19 cases since the pandemic began. The Prime Minister has apologized for the government’s insufficient medical care while insisting that the Olympic Games — now less than 6 months away — will go ahead as scheduled. CNN’s Selina Wang reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210204131949-screengrab-japan-hospital-large-169.jpg”,”title”:”Japan struggling to cope with virus surge as Olympics loom”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/02/04/japan-health-care-hospitals-overwhelmed-olympics-coronavirus-covid-19-wang-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/02/04/japan-health-care-hospitals-overwhelmed-olympics-coronavirus-covid-19-wang-pkg-intl-hnk-vpx.cnn”,”videoId”:”world/2021/02/04/japan-health-care-hospitals-overwhelmed-olympics-coronavirus-covid-19-wang-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/02/04/japan-health-care-hospitals-overwhelmed-olympics-coronavirus-covid-19-wang-pkg-intl-hnk-vpx.cnn/video/playlists/intl-stories-worth-watching/”,”surrogateKey”:”video_A0496E34-7003-02B2-BA21-4E290F2915A3″},{“descriptionPlainText”:”Dubai is cracking down on their hospitality industry as Covid-19 cases surge in the popular vacation destination. CNN’s John Defterios reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190408152511-01-dubai-skyline-file-large-169.jpg”,”title”:”Dubai cracks down on tourism industry as Covid-19 cases surge”,”videoCMSUrl”:”/video/data/3.0/video/travel/2021/02/02/dubai-hospitality-industry-crackdown-covid-19-case-surge-ctw-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2021/02/02/dubai-hospitality-industry-crackdown-covid-19-case-surge-ctw-vpx.cnn”,”videoId”:”travel/2021/02/02/dubai-hospitality-industry-crackdown-covid-19-case-surge-ctw-vpx.cnn”,”videoUrl”:”/videos/travel/2021/02/02/dubai-hospitality-industry-crackdown-covid-19-case-surge-ctw-vpx.cnn/video/playlists/intl-stories-worth-watching/”,”surrogateKey”:”video_41E79EDD-BCF6-196B-A661-436137F0EDAB”},{“descriptionPlainText”:”Calm app narrator and Head of Mindfulness Tamara Levitt tells CNN’s Becky Anderson why limiting stress is an important part of staying healthy during the Covid-19 pandemic.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210204124348-tamara-levitt-large-169.jpg”,”title”:”Mindfulness coach offers tips for maintaining mental health”,”videoCMSUrl”:”/video/data/3.0/video/health/2021/02/04/mental-health-mindfulness-during-pandemic-ctw-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2021/02/04/mental-health-mindfulness-during-pandemic-ctw-vpx.cnn”,”videoId”:”health/2021/02/04/mental-health-mindfulness-during-pandemic-ctw-vpx.cnn”,”videoUrl”:”/videos/health/2021/02/04/mental-health-mindfulness-during-pandemic-ctw-vpx.cnn/video/playlists/intl-stories-worth-watching/”,”surrogateKey”:”video_F482021C-F74C-16FF-9728-4A6BE33DB3D7″},{“descriptionPlainText”:”A dramatic second wave of coronavirus is wreaking havoc in Colombia. Overworked health care professionals are feeling the crunch as the government recently announced its vaccination campaign will not start until the end of February. Journalist Stefano Pozzebon reports from Soacha, Colombia.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210203094716-colombia-coronavirus-vaccine-hospital-pozzebon-pkg-intl-ldn-vpx-00000117-large-169.png”,”title”:”Inside a hospital dealing with a ‘dramatic’ second wave”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/02/03/colombia-coronavirus-vaccine-hospital-pozzebon-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/02/03/colombia-coronavirus-vaccine-hospital-pozzebon-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2021/02/03/colombia-coronavirus-vaccine-hospital-pozzebon-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/02/03/colombia-coronavirus-vaccine-hospital-pozzebon-pkg-intl-ldn-vpx.cnn/video/playlists/intl-stories-worth-watching/”,”surrogateKey”:”video_2F813C0A-51B5-A868-EBD5-425F174E468C”},{“descriptionPlainText”:”As the first female and first Black and South Asian Vice President, Kamala Harris’ style will come under scrutiny. Fashion critic Robin Givhan explains why Harris’ clothes have meaning to those who see themselves in her and why we shouldn’t compare her style to a first lady.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210120114516-48-biden-inauguration-harris-swearing-in-large-169.jpg”,”title”:”Why does it matter what Kamala Harris wears?”,”videoCMSUrl”:”/video/data/3.0/video/fashion/2021/01/21/kamala-harris-fashion-choices-ts-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/fashion/2021/01/21/kamala-harris-fashion-choices-ts-orig.cnn”,”videoId”:”fashion/2021/01/21/kamala-harris-fashion-choices-ts-orig.cnn”,”videoUrl”:”/videos/fashion/2021/01/21/kamala-harris-fashion-choices-ts-orig.cnn/video/playlists/intl-stories-worth-watching/”,”surrogateKey”:”video_B86FD172-4122-8586-C6AB-2345D1C4C4F9″}],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:”opinions/2021/02/03/covid-19-pandemic-end-lon-orig-bks.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-n3n036’,videoDescriptionDivId: ‘js-video_description-n3n036’,videoDurationDivId: ‘js-video_duration-n3n036’,videoTitleDivId: ‘js-leaf-video_headline-n3n036’,videoSourceDivId: ‘js-video_sourceName-n3n036’});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