Haunting video shows what dying of Covid-19 could look like

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘health/2020/11/24/covid-precautions-icu-doctor-intubation-orig-mss.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/201124170918-ken-remy-icu-intubation-simulation-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201124170918-ken-remy-icu-intubation-simulation-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201124170918-ken-remy-icu-intubation-simulation-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201124170918-ken-remy-icu-intubation-simulation-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201124170918-ken-remy-icu-intubation-simulation-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201124170918-ken-remy-icu-intubation-simulation-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201124170918-ken-remy-icu-intubation-simulation-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”An ICU doctor posted an unfiltered simulation of the last things a person might see before dying of Covid-19.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201124170918-ken-remy-icu-intubation-simulation-large-169.jpg”,”title”:”This doctor wants you to know what dying of Covid-19 could look like”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/11/24/covid-precautions-icu-doctor-intubation-orig-mss.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/11/24/covid-precautions-icu-doctor-intubation-orig-mss.cnn”,”videoId”:”health/2020/11/24/covid-precautions-icu-doctor-intubation-orig-mss.cnn”,”videoUrl”:”/videos/health/2020/11/24/covid-precautions-icu-doctor-intubation-orig-mss.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_2CDDF6DC-0306-545D-2F99-FC47B32A6986″},{“descriptionPlainText”:”Alexa Aragonez and her family made a coronavirus PSA to the residents of Arlington, Texas, warning about gathering for Thanksgiving after they had 15 family members catch coronavirus at a small family birthday party earlier in November.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201124151810-aragonez-family-covid-psa-large-169.jpg”,”title”:”Family warns of Thanksgiving after superspreader birthday party”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/11/24/alexa-aragonez-intv-family-psa-coronavirus-thanksgiving-birthday-superspreader-sot-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/11/24/alexa-aragonez-intv-family-psa-coronavirus-thanksgiving-birthday-superspreader-sot-nr-vpx.cnn”,”videoId”:”us/2020/11/24/alexa-aragonez-intv-family-psa-coronavirus-thanksgiving-birthday-superspreader-sot-nr-vpx.cnn”,”videoUrl”:”/videos/us/2020/11/24/alexa-aragonez-intv-family-psa-coronavirus-thanksgiving-birthday-superspreader-sot-nr-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_49A1EC62-B316-42F7-544B-01397FB851E6″},{“descriptionPlainText”:”Americans continue to travel with Thanksgiving just days away, despite the Centers for Disease Control and Prevention’s recommendation to stay home to stop the spread of the virus.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201123092957-us-airport-1122-miami-large-169.jpg”,”title”:”Americans continue holiday travel despite Covid-19 case surge”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/11/23/coronavirus-wrap-thanksgiving-travel-jones-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/11/23/coronavirus-wrap-thanksgiving-travel-jones-lead-vpx.cnn”,”videoId”:”health/2020/11/23/coronavirus-wrap-thanksgiving-travel-jones-lead-vpx.cnn”,”videoUrl”:”/videos/health/2020/11/23/coronavirus-wrap-thanksgiving-travel-jones-lead-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_22C37678-C700-25B6-62E0-00B78439D083″},{“descriptionPlainText”:”CNN’s Vanessa Yurkevich reports on how the coronavirus pandemic has taken a toll on the hotel industry, speaking to several furloughed workers in major tourist cities.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201124081506-hotel-employee-large-169.jpg”,”title”:”Furloughed server: I’m frustrated the government isn’t doing much”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/11/24/luxury-hotels-employees-coronavirus-pandemic-newday-yurkevich-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/11/24/luxury-hotels-employees-coronavirus-pandemic-newday-yurkevich-pkg-vpx.cnn”,”videoId”:”business/2020/11/24/luxury-hotels-employees-coronavirus-pandemic-newday-yurkevich-pkg-vpx.cnn”,”videoUrl”:”/videos/business/2020/11/24/luxury-hotels-employees-coronavirus-pandemic-newday-yurkevich-pkg-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_A7480E51-CDC9-5740-2B03-0211EA073DB6″},{“descriptionPlainText”:”CNN’s Dr Sanjay Gupta explains the new type of vaccine that pharmaceutical companies Pfizer and Moderna are developing to help fight the coronavirus pandemic.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201123083120-vaccine-gupta-large-169.jpg”,”title”:”Medical science using groundbreaking technology for some vaccines”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/11/23/vaccine-technology-coronavirus-pfizer-moderna-gupta-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/11/23/vaccine-technology-coronavirus-pfizer-moderna-gupta-newday-vpx.cnn”,”videoId”:”health/2020/11/23/vaccine-technology-coronavirus-pfizer-moderna-gupta-newday-vpx.cnn”,”videoUrl”:”/videos/health/2020/11/23/vaccine-technology-coronavirus-pfizer-moderna-gupta-newday-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_6F85EA7C-9465-BBDD-745E-01F720D7E794″},{“descriptionPlainText”:”Traditionally the Thanksgiving holiday is heavily traveled, but climbing coronavirus case numbers have many rethinking their plans. CNN’s Natasha Chen reports the decision hasn’t come easily for all.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201122161126-thanksgiving-travel-family-decisions-coronavirus-pandemic-chen-dnt-nr-vpx-00001623-large-169.jpg”,”title”:”Covid-19 risk looms over families torn on holiday travel”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/11/22/thanksgiving-travel-family-decisions-coronavirus-pandemic-chen-dnt-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/11/22/thanksgiving-travel-family-decisions-coronavirus-pandemic-chen-dnt-nr-vpx.cnn”,”videoId”:”health/2020/11/22/thanksgiving-travel-family-decisions-coronavirus-pandemic-chen-dnt-nr-vpx.cnn”,”videoUrl”:”/videos/health/2020/11/22/thanksgiving-travel-family-decisions-coronavirus-pandemic-chen-dnt-nr-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_C67A430A-D07D-3D36-1113-FC94ACE3F5E8″},{“descriptionPlainText”:”CNN’s Paul Vercammen reports from a Los Angeles food bank where long lines of those in need ahead of the holiday season shows the devastating economic impact of the Covid-19 pandemic.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201121122251-la-food-line-large-169.jpg”,”title”:”Long lines form outside of food banks ahead of the holidays”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/11/21/coronavirus-pandemic-food-bank-los-angeles-holiday-vercammen-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/11/21/coronavirus-pandemic-food-bank-los-angeles-holiday-vercammen-nr-vpx.cnn”,”videoId”:”us/2020/11/21/coronavirus-pandemic-food-bank-los-angeles-holiday-vercammen-nr-vpx.cnn”,”videoUrl”:”/videos/us/2020/11/21/coronavirus-pandemic-food-bank-los-angeles-holiday-vercammen-nr-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_501191D3-F971-3D51-BD2F-FC585B8F7480″},{“descriptionPlainText”:”As the US surpasses 12 million coronavirus cases nationwide, some Americans are rethinking their Thanksgiving travel plans. CNN’s Pete Muntean reports the CDC says people should not travel for the holiday, but it hasn’t stopped all passengers.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201121171823-thanksgiving-week-travel-coronavirus-cdc-warning-muntean-lklv-nr-vpx-00001923-large-169.jpg”,”title”:”Holiday travel continues despite CDC warning”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/11/21/thanksgiving-week-travel-coronavirus-cdc-warning-muntean-lklv-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/11/21/thanksgiving-week-travel-coronavirus-cdc-warning-muntean-lklv-nr-vpx.cnn”,”videoId”:”travel/2020/11/21/thanksgiving-week-travel-coronavirus-cdc-warning-muntean-lklv-nr-vpx.cnn”,”videoUrl”:”/videos/travel/2020/11/21/thanksgiving-week-travel-coronavirus-cdc-warning-muntean-lklv-nr-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_2CDDF6DC-0306-545D-2F99-FC47B32A6986″},{“descriptionPlainText”:”Having a safe and effective vaccine is a turning point in the fight against the coronavirus pandemic. But there are many challenging steps ahead — from making large quantities to delivery around the world — before a vaccine can have an impact on the spread of the virus.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201120163142-digvid-vaccine-explainer-thumbnail-large-169.jpg”,”title”:”A Covid-19 vaccine won’t be a magic bullet”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/11/20/will-covid-vaccine-end-pandemic-lon-orig-na.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/11/20/will-covid-vaccine-end-pandemic-lon-orig-na.cnn”,”videoId”:”health/2020/11/20/will-covid-vaccine-end-pandemic-lon-orig-na.cnn”,”videoUrl”:”/videos/health/2020/11/20/will-covid-vaccine-end-pandemic-lon-orig-na.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_E4B0791B-F746-AD8A-9E6D-FBFE0E5D8155″},{“descriptionPlainText”:”CNN’s Lucy Kafanov reports on the skyrocketing number of cases and deaths in the US as Americans prepare to celebrate Thanksgiving.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201123024451-us-coronavirus-1121-large-169.jpg”,”title”:”Expert: Thanksgiving could be ‘mother’ of superspreader events”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/11/25/coronavirus-daily-wrap-thanksgiving-superspreader-kafanov-dnt-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/11/25/coronavirus-daily-wrap-thanksgiving-superspreader-kafanov-dnt-nr-vpx.cnn”,”videoId”:”health/2020/11/25/coronavirus-daily-wrap-thanksgiving-superspreader-kafanov-dnt-nr-vpx.cnn”,”videoUrl”:”/videos/health/2020/11/25/coronavirus-daily-wrap-thanksgiving-superspreader-kafanov-dnt-nr-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_99E09BCD-13F9-7F42-8E69-F718B9BD553B”},{“descriptionPlainText”:”Dr. Ken Remy, an intensive care unit doctor in St. Louis, talks with Brianna Keilar about what it is like for people dying of Covid-19 in an ICU bed.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201125135114-dr-ken-remy-large-169.jpg”,”title”:”ICU doctor begs people to look out for their family members”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/11/25/dr-ken-remy-coronavirus-icu-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/11/25/dr-ken-remy-coronavirus-icu-nr-vpx.cnn”,”videoId”:”health/2020/11/25/dr-ken-remy-coronavirus-icu-nr-vpx.cnn”,”videoUrl”:”/videos/health/2020/11/25/dr-ken-remy-coronavirus-icu-nr-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_471EB9F2-5A0F-FEE7-ECB9-FA693BAAC9A3″},{“descriptionPlainText”:”Denver Mayor Michael Hancock is apologizing for flying to see his family hours after encouraging Denver residents to avoid Thanksgiving travel. CNN medical analyst Dr. Jonathan Reiner responds.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201125201554-denver-mayor-reiner-split-screengrab-large-169.jpg”,”title”:”‘Shame on him’: Medical analyst on Denver mayor’s holiday travel”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/11/26/denver-mayor-holiday-travel-coronavirus-reiner-bolduan-ebof-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/11/26/denver-mayor-holiday-travel-coronavirus-reiner-bolduan-ebof-vpx.cnn”,”videoId”:”us/2020/11/26/denver-mayor-holiday-travel-coronavirus-reiner-bolduan-ebof-vpx.cnn”,”videoUrl”:”/videos/us/2020/11/26/denver-mayor-holiday-travel-coronavirus-reiner-bolduan-ebof-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_8826BAD6-98A2-B6DB-34F2-F53D8C472CBB”},{“descriptionPlainText”:”Regina Status is one of 50 million Americans who won’t have enough to eat this year, in part because of the coronavirus pandemic. CNN’s Vanessa Yurkevich reports on food insecurity this Thanksgiving.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201125163857-07-hunger-crisis-in-america-thanksgiving-large-169.jpg”,”title”:”Woman relying on food bank: You just have to survive it”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/11/26/food-banks-thanksgiving-coronavirus-pandemic-yurkevich-dnt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/11/26/food-banks-thanksgiving-coronavirus-pandemic-yurkevich-dnt-vpx.cnn”,”videoId”:”us/2020/11/26/food-banks-thanksgiving-coronavirus-pandemic-yurkevich-dnt-vpx.cnn”,”videoUrl”:”/videos/us/2020/11/26/food-banks-thanksgiving-coronavirus-pandemic-yurkevich-dnt-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_A38F7CA3-F2F0-19F9-70B2-F1B129555F6D”},{“descriptionPlainText”:”The coronavirus pandemic continues to rage across the nation as hospitals struggle with rising patient numbers ahead of the Thanksgiving holiday. CNN’s Lucy Kafanov has more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201124094622-covid-testing-large-169.jpg”,”title”:”States see uptick in coronavirus cases ahead of Thanksgiving holiday”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/11/24/covid-cases-surge-thanksgiving-week-wrap-pkg-kafanov-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/11/24/covid-cases-surge-thanksgiving-week-wrap-pkg-kafanov-lead-vpx.cnn”,”videoId”:”health/2020/11/24/covid-cases-surge-thanksgiving-week-wrap-pkg-kafanov-lead-vpx.cnn”,”videoUrl”:”/videos/health/2020/11/24/covid-cases-surge-thanksgiving-week-wrap-pkg-kafanov-lead-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_BB9AF3DD-2477-8702-FFF5-EBCE4BE47606″},{“descriptionPlainText”:”CNN’s Wolf Blitzer speaks with Assistant Secretary for Health Adm. Brett Giroir after he said President Donald Trump’s coronavirus task force is reviewing evidence about how long people need to quarantine to be safe and slow the spread of Covid-19.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201124181703-brett-giroir-tsr-11-24-2020-vpx-large-169.jpg”,”title”:”Giroir: Shorter quarantine might improve public health response “,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/11/24/brett-giroir-trump-admin-quarantine-time-sot-tsr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/11/24/brett-giroir-trump-admin-quarantine-time-sot-tsr-vpx.cnn”,”videoId”:”politics/2020/11/24/brett-giroir-trump-admin-quarantine-time-sot-tsr-vpx.cnn”,”videoUrl”:”/videos/politics/2020/11/24/brett-giroir-trump-admin-quarantine-time-sot-tsr-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_A83DA29C-875B-E4D3-D07A-ECBE302913B7″}],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/2020/11/24/covid-precautions-icu-doctor-intubation-orig-mss.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-1557vd4’,videoDescriptionDivId: ‘js-video_description-1557vd4’,videoDurationDivId: ‘js-video_duration-1557vd4’,videoTitleDivId: ‘js-leaf-video_headline-1557vd4’,videoSourceDivId: ‘js-video_sourceName-1557vd4’});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