Chilling voicemail captures resident’s escape after collapse

‘);$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/06/30/voicemail-survivor-champlain-towers-collapse-sot-vpx-nr.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/210630115947-surfside-building-collapse-aerial-0624-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210630115947-surfside-building-collapse-aerial-0624-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210630115947-surfside-building-collapse-aerial-0624-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210630115947-surfside-building-collapse-aerial-0624-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210630115947-surfside-building-collapse-aerial-0624-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210630115947-surfside-building-collapse-aerial-0624-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210630115947-surfside-building-collapse-aerial-0624-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”CNN obtained a distressed voicemail from 59-year-old Raysa Rodriguez, a survivor of the Champlain Towers collapse. She left the voicemail for her brother after she was awoken by the sound of the building falling down.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210630115947-surfside-building-collapse-aerial-0624-large-169.jpg”,”title”:”Chilling voicemail captures resident’s escape after collapse”,”videoCMSUrl”:”/video/data/3.0/video/us/2021/06/30/voicemail-survivor-champlain-towers-collapse-sot-vpx-nr.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/06/30/voicemail-survivor-champlain-towers-collapse-sot-vpx-nr.cnn”,”videoId”:”us/2021/06/30/voicemail-survivor-champlain-towers-collapse-sot-vpx-nr.cnn”,”videoUrl”:”/videos/us/2021/06/30/voicemail-survivor-champlain-towers-collapse-sot-vpx-nr.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_5AE3F221-6427-BF28-3340-5E387338647D”},{“descriptionPlainText”:”The Wall Street Journal reports that the Manhattan District Attorney is expected to file tax-related charges against the Trump Organization and CFO Allen Weisselberg. CNN’s Kara Scannell has more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210630110656-kara-scannell-newsroom-6-30-2021-large-169.jpg”,”title”:”CNN reporter: Here’s what to expect in Trump Organization charges”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/06/30/wsj-trump-organization-weisselberg-reported-charges-scannell-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/06/30/wsj-trump-organization-weisselberg-reported-charges-scannell-nr-vpx.cnn”,”videoId”:”politics/2021/06/30/wsj-trump-organization-weisselberg-reported-charges-scannell-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2021/06/30/wsj-trump-organization-weisselberg-reported-charges-scannell-nr-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_58ACA81E-B813-4A53-FB0E-5E6CDB38EB08″},{“descriptionPlainText”:”Canada and US cities in the Northwest have reported their hottest temperatures on record, and more than 52 million people are under a heat warning or advisory from coast to coast. CNN’s Jason Carroll reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210629192138-vancouver-misting-station-0628-large-169.jpg”,”title”:”Millions remain under heat warning as extreme temps grip Northwest”,”videoCMSUrl”:”/video/data/3.0/video/weather/2021/06/30/us-canada-heat-wave-jason-carroll-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/weather/2021/06/30/us-canada-heat-wave-jason-carroll-pkg-vpx.cnn”,”videoId”:”weather/2021/06/30/us-canada-heat-wave-jason-carroll-pkg-vpx.cnn”,”videoUrl”:”/videos/weather/2021/06/30/us-canada-heat-wave-jason-carroll-pkg-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_AAB65AEF-D8B4-9240-7F5E-5E33258F08CF”},{“descriptionPlainText”:”Dr. Anthony Fauci says the rise in coronavirus from the Delta variant in certain part of the US “is entirely avoidable, entirely preventable” if more people in those areas would get the Covid-19 vaccination.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210630090914-dr-anthony-fauci-june-29-2021-screengrab-large-169.jpg”,”title”:”Fauci on vaccination rates: It’s almost like there’s two Americas”,”videoCMSUrl”:”/video/data/3.0/video/health/2021/06/30/anthony-fauci-covid-vaccination-rate-delta-variant-sot-vpx-dlt.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2021/06/30/anthony-fauci-covid-vaccination-rate-delta-variant-sot-vpx-dlt.cnn”,”videoId”:”health/2021/06/30/anthony-fauci-covid-vaccination-rate-delta-variant-sot-vpx-dlt.cnn”,”videoUrl”:”/videos/health/2021/06/30/anthony-fauci-covid-vaccination-rate-delta-variant-sot-vpx-dlt.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_C6FC89AA-A86F-59A7-8774-5F55C207F49C”},{“descriptionPlainText”:”English football fans celebrated wildly after England beat Germany in their Euro 2020 last-16 match to finally end its decades-long inferiority complex against its old, historic rival. Germany hadn’t lost a knockout match to England in a major international competition since the 1966 World Cup final.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210630170710-split-england-germany-fans-reax-euro-2020-large-169.jpg”,”title”:”See ecstatic fans celebrate England’s historic win over Germany”,”videoCMSUrl”:”/video/data/3.0/video/sports/2021/06/30/euro-2020-england-germany-football-reaction-lewis-lkl-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2021/06/30/euro-2020-england-germany-football-reaction-lewis-lkl-intl-hnk-vpx.cnn”,”videoId”:”sports/2021/06/30/euro-2020-england-germany-football-reaction-lewis-lkl-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/sports/2021/06/30/euro-2020-england-germany-football-reaction-lewis-lkl-intl-hnk-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_0E396EAB-A2C3-8CD1-34E0-5E625A530D5C”},{“descriptionPlainText”:”Dr. Jonathan Reiner says unvaccinated people should wear masks as the Delta variant continues to spread across the globe.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210629201102-dr-jonathan-reiner-06-29-2021-large-169.jpeg”,”title”:”Should you wear a mask amid Delta variant surge? Watch doctor’s answer”,”videoCMSUrl”:”/video/data/3.0/video/health/2021/06/30/delta-variant-mask-mandate-reiner-ebof-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2021/06/30/delta-variant-mask-mandate-reiner-ebof-vpx.cnn”,”videoId”:”health/2021/06/30/delta-variant-mask-mandate-reiner-ebof-vpx.cnn”,”videoUrl”:”/videos/health/2021/06/30/delta-variant-mask-mandate-reiner-ebof-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_5AE3F221-6427-BF28-3340-5E387338647D”},{“descriptionPlainText”:”The US House of Representatives voted to expel Confederate statues from the Capitol building.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200630160650-joseph-wheeler-capitol-statue-large-169.jpg”,”title”:”House votes to remove Confederate statues from the Capitol”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/06/29/house-vote-confederate-statues-orig-vf.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/06/29/house-vote-confederate-statues-orig-vf.cnn”,”videoId”:”politics/2021/06/29/house-vote-confederate-statues-orig-vf.cnn”,”videoUrl”:”/videos/politics/2021/06/29/house-vote-confederate-statues-orig-vf.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_80A5DBCF-C644-F5C6-700E-5D6B61E69664″},{“descriptionPlainText”:”Gas prices are surging this holiday weekend due to a labor shortage with truck drivers. CNN’s Alison Kosik reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210427230914-gas-station-california-file-large-169.jpg”,”title”:”Gas prices are expected to spike. Here’s why”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/06/29/gas-prices-spike-holiday-travel-vpx.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/06/29/gas-prices-spike-holiday-travel-vpx.cnnbusiness”,”videoId”:”business/2021/06/29/gas-prices-spike-holiday-travel-vpx.cnnbusiness”,”videoUrl”:”/videos/business/2021/06/29/gas-prices-spike-holiday-travel-vpx.cnnbusiness/video/playlists/top-news-videos/”,”surrogateKey”:”video_84F382E8-4F73-E3C6-B211-5CF1D2EDEF0D”},{“descriptionPlainText”:”Former President Obama spoke out about the danger of misinformation at an American Library Association conference.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210629173712-obama-misinformation-ala-confernce—use-this-version-large-169.jpg”,”title”:”Obama opens up about what worries him”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/06/29/obama-worries-misinformation-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/06/29/obama-worries-misinformation-vpx.cnn”,”videoId”:”politics/2021/06/29/obama-worries-misinformation-vpx.cnn”,”videoUrl”:”/videos/politics/2021/06/29/obama-worries-misinformation-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_1B6F7F03-111E-D3D1-C568-5CFF45B9D2EC”},{“descriptionPlainText”:”Jamie Lynn Spears spoke out on social media about the conservatorship of her sister, Britney Spears.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171226091730-jamie-lynn-spears-large-169.jpg”,”title”:”Jamie Lynn Spears breaks her silence about Britney”,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2021/06/30/jamie-lynn-spears-britney-spears-conservatorship-mxp-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/entertainment/2021/06/30/jamie-lynn-spears-britney-spears-conservatorship-mxp-vpx.cnn”,”videoId”:”entertainment/2021/06/30/jamie-lynn-spears-britney-spears-conservatorship-mxp-vpx.cnn”,”videoUrl”:”/videos/entertainment/2021/06/30/jamie-lynn-spears-britney-spears-conservatorship-mxp-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_0DE01824-A08D-409B-8AFD-5BF93287E00E”},{“descriptionPlainText”:”Forensic structural engineer Stephanie Walkup analyzes photos the Miami Herald obtained by a contractor 36 hours before the Champlain Towers condo building collapsed, showing damage and standing water in the basement-level parking garage.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210629153442-miami-herald-damage-photos-screengrab-for-video-large-169.jpg”,”title”:”Structural engineer explains damage shown in condo photos”,”videoCMSUrl”:”/video/data/3.0/video/us/2021/06/29/surfside-condo-photos-stephanie-walkup-structural-engineer-sot-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/06/29/surfside-condo-photos-stephanie-walkup-structural-engineer-sot-nr-vpx.cnn”,”videoId”:”us/2021/06/29/surfside-condo-photos-stephanie-walkup-structural-engineer-sot-nr-vpx.cnn”,”videoUrl”:”/videos/us/2021/06/29/surfside-condo-photos-stephanie-walkup-structural-engineer-sot-nr-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_C48602FB-80D1-72D9-F264-5A3D01993C59″},{“descriptionPlainText”:”The Taliban claim to have opened the border between Afghanistan and Tajikistan, which comes as President Joe Biden says the partnership between the US and Afghanistan will be sustained after ordering the withdrawal of all US troops from the country. CNN’s Nic Robertson reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210629105659-taliban-video-afghanistan-robertson-pkg-large-169.jpg”,”title”:”New footage appears to show Taliban gaining ground in Afghanistan”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/06/29/taliban-afghanistan-us-withdrawal-robertson-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/06/29/taliban-afghanistan-us-withdrawal-robertson-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2021/06/29/taliban-afghanistan-us-withdrawal-robertson-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/06/29/taliban-afghanistan-us-withdrawal-robertson-pkg-intl-ldn-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_33BD9E71-83C7-C160-D6D7-5962F00C37E8″},{“descriptionPlainText”:”Bill Cosby was released from prison after Pennsylvania’s highest court overturned his sexual assault conviction, saying the disgraced actor’s due process rights were violated. CNN affiliate KYW captured video of Cosby arriving at his home in Cheltenham, Pennsylvania, shortly after his release.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210630154516-bill-cosby-returns-home-prison-release-conviction-overturned-nr-vpx-00000229-large-169.jpg”,”title”:”Bill Cosby seen arriving home after release from prison”,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2021/06/30/bill-cosby-returns-home-prison-release-conviction-overturned-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/entertainment/2021/06/30/bill-cosby-returns-home-prison-release-conviction-overturned-nr-vpx.cnn”,”videoId”:”entertainment/2021/06/30/bill-cosby-returns-home-prison-release-conviction-overturned-nr-vpx.cnn”,”videoUrl”:”/videos/entertainment/2021/06/30/bill-cosby-returns-home-prison-release-conviction-overturned-nr-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_E57418FB-E402-2012-1866-5928D50B3660″},{“descriptionPlainText”:”Victoria Valentino, one of the women who accused Bill Cosby of sexual assault, says that the decision by the Pennsylvania Supreme Court to vacate Cosby’s conviction was a “gut punch” and came out of the blue.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210630153622-bill-cosby-file-2018-large-169.jpg”,”title”:”Hear Bill Cosby accuser’s reaction to his release from prison”,”videoCMSUrl”:”/video/data/3.0/video/us/2021/06/30/cosby-accuser-victoria-valentino-reaction-sot-vpx-nr.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/06/30/cosby-accuser-victoria-valentino-reaction-sot-vpx-nr.cnn”,”videoId”:”us/2021/06/30/cosby-accuser-victoria-valentino-reaction-sot-vpx-nr.cnn”,”videoUrl”:”/videos/us/2021/06/30/cosby-accuser-victoria-valentino-reaction-sot-vpx-nr.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_E94A9578-EEB8-0FD6-4AD0-59AEAFEDC148″},{“descriptionPlainText”:”CNN’s Jim Acosta was booed after he asked former President Donald Trump if he would apologize for the January 6 insurrection during a visit to the southern border.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210630200340-trump-acosta-large-169.jpg”,”title”:”Jim Acosta booed after asking Trump to apologize for riot”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/06/30/jim-acosta-donald-trump-border-wall-capitol-riot-sot-vpx-ebof.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/06/30/jim-acosta-donald-trump-border-wall-capitol-riot-sot-vpx-ebof.cnn”,”videoId”:”politics/2021/06/30/jim-acosta-donald-trump-border-wall-capitol-riot-sot-vpx-ebof.cnn”,”videoUrl”:”/videos/politics/2021/06/30/jim-acosta-donald-trump-border-wall-capitol-riot-sot-vpx-ebof.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_13AEA87F-8AFE-D5FA-B70C-5A4331837FFF”},{“descriptionPlainText”:”Donald Rumsfeld, secretary of defense under Republican Presidents George W. Bush and Gerald Ford, has died, according to a statement from his family. He was 88 years old. CNN’s Barbara Starr reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210630154122-donald-rumsfeld-file-062305-large-169.jpg”,”title”:”Donald Rumsfeld dies at 88″,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/06/30/donald-rumsfeld-obit-starr-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/06/30/donald-rumsfeld-obit-starr-pkg-vpx.cnn”,”videoId”:”politics/2021/06/30/donald-rumsfeld-obit-starr-pkg-vpx.cnn”,”videoUrl”:”/videos/politics/2021/06/30/donald-rumsfeld-obit-starr-pkg-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_70781B36-E36F-B1B8-8102-593C315E023F”}],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/06/30/voicemail-survivor-champlain-towers-collapse-sot-vpx-nr.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-172kj15’,videoDescriptionDivId: ‘js-video_description-172kj15’,videoDurationDivId: ‘js-video_duration-172kj15’,videoTitleDivId: ‘js-leaf-video_headline-172kj15’,videoSourceDivId: ‘js-video_sourceName-172kj15’});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