Extreme weather threatens US infrastructure

‘);$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/07/23/climate-crisis-extreme-weather-infrastructure-pete-muntean-newday-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/210723081636-road-collapse-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210723081636-road-collapse-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210723081636-road-collapse-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210723081636-road-collapse-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210723081636-road-collapse-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210723081636-road-collapse-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210723081636-road-collapse-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”CNN’s Pete Muntean looks at the extreme weather conditions across the nation and what cities are doing to protect themselves from future weather caused by the climate crisis.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210723081636-road-collapse-large-169.jpg”,”title”:”Extreme weather threatens US infrastructure “,”videoCMSUrl”:”/videos/us/2021/07/23/climate-crisis-extreme-weather-infrastructure-pete-muntean-newday-vpx.cnn”,”videoLeafUrl”:”/videos/us/2021/07/23/climate-crisis-extreme-weather-infrastructure-pete-muntean-newday-vpx.cnn”,”videoId”:”us/2021/07/23/climate-crisis-extreme-weather-infrastructure-pete-muntean-newday-vpx.cnn”,”videoUrl”:”/videos/us/2021/07/23/climate-crisis-extreme-weather-infrastructure-pete-muntean-newday-vpx.cnn”,”surrogateKey”:”video_7D2BC91A-EF2D-2C9B-8152-D316ED3965FF”},{“descriptionPlainText”:”CNN’s Bill Weir talks with teen climate activist Greta Thunberg on the challenges and victories in her fight to bring global awareness to climate change.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190920054334-greta-thunberg-large-169.jpg”,”title”:”Meet teen climate activist Greta Thunberg”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/09/20/greta-thunberg-profile-bill-weir-climate-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/09/20/greta-thunberg-profile-bill-weir-climate-pkg-vpx.cnn”,”videoId”:”world/2019/09/20/greta-thunberg-profile-bill-weir-climate-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2019/09/20/greta-thunberg-profile-bill-weir-climate-pkg-vpx.cnn/video/playlists/climate-change/”,”surrogateKey”:”video_71E98101-DAFE-3592-CCA1-4CB6C4F49F8F”},{“descriptionPlainText”:”Here are a few things you can do to start making a difference in slowing down climate change.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190828202703-recycling-bin-stock-large-169.jpg”,”title”:”What you can actually do to slow the climate crisis”,”videoCMSUrl”:”/video/data/3.0/video/weather/2019/09/03/climate-change-global-warming-what-can-i-do-chad-myers-nws-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/weather/2019/09/03/climate-change-global-warming-what-can-i-do-chad-myers-nws-orig.cnn”,”videoId”:”weather/2019/09/03/climate-change-global-warming-what-can-i-do-chad-myers-nws-orig.cnn”,”videoUrl”:”/videos/weather/2019/09/03/climate-change-global-warming-what-can-i-do-chad-myers-nws-orig.cnn/video/playlists/climate-change/”,”surrogateKey”:”video_9F4FA164-866C-C35C-7EFC-F930958DB6E9″},{“descriptionPlainText”:”Tune in Saturday April 25 at 10pm EST and join Chief Climate Correspondent Bill Weir for an American road trip to explore how the climate crisis is already transforming life as we know it.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200420132733-weir-climate-doc-promo-road-to-change-large-169.jpg”,”title”:”The Road to Change: America’s Climate Crisis”,”videoCMSUrl”:”/video/data/3.0/video/tv/2020/04/20/road-to-change-america-climate-crisis-weir.cnn/index.xml”,”videoLeafUrl”:”/videos/tv/2020/04/20/road-to-change-america-climate-crisis-weir.cnn”,”videoId”:”tv/2020/04/20/road-to-change-america-climate-crisis-weir.cnn”,”videoUrl”:”/videos/tv/2020/04/20/road-to-change-america-climate-crisis-weir.cnn/video/playlists/climate-change/”,”surrogateKey”:”video_8BD4CC9D-70ED-E99E-A91C-987AA5EAD770″},{“descriptionPlainText”:”CNN’s Bill Weir travels to Alaska for a firsthand look at how the climate crisis is drastically impacting the landscape, and the ripple effects being felt worldwide.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190905131723-bill-weir-alaska-pkg-1-large-169.jpg”,”title”:”Climate crisis in Alaska is impacting the entire world”,”videoCMSUrl”:”/video/data/3.0/video/weather/2019/09/05/alaska-climate-crisis-impact-weir-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/weather/2019/09/05/alaska-climate-crisis-impact-weir-pkg-vpx.cnn”,”videoId”:”weather/2019/09/05/alaska-climate-crisis-impact-weir-pkg-vpx.cnn”,”videoUrl”:”/videos/weather/2019/09/05/alaska-climate-crisis-impact-weir-pkg-vpx.cnn/video/playlists/climate-change/”,”surrogateKey”:”video_3E41FDC3-A4A2-45E7-D3B3-027C2933856A”},{“descriptionPlainText”:”From Alaska to Uganda, people share how climate change is affecting their everyday lives.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/151209072401-faces-of-climate-change-orig-nws-00005521-large-169.jpg”,”title”:”How climate change is changing lives”,”videoCMSUrl”:”/video/data/3.0/video/world/2015/12/08/faces-of-climate-change-orig-nws.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2015/12/08/faces-of-climate-change-orig-nws.cnn”,”videoId”:”world/2015/12/08/faces-of-climate-change-orig-nws.cnn”,”videoUrl”:”/videos/world/2015/12/08/faces-of-climate-change-orig-nws.cnn/video/playlists/climate-change/”,”surrogateKey”:”video_49373114-4C8F-5155-8E7D-838737F4F984″},{“descriptionPlainText”:”Several surveys have shown that 97% of scientists believe climate change is caused by man. CNN’s Chad Myers explains why that percentage is so important.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/150917095948-climate-change-97-percent-consensus-orig-00005513-large-169.jpg”,”title”:”Scientists agree: Climate change is man-made”,”videoCMSUrl”:”/video/data/3.0/video/weather/2015/09/17/climate-change-97-percent-consensus-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/weather/2015/09/17/climate-change-97-percent-consensus-orig.cnn”,”videoId”:”weather/2015/09/17/climate-change-97-percent-consensus-orig.cnn”,”videoUrl”:”/videos/weather/2015/09/17/climate-change-97-percent-consensus-orig.cnn/video/playlists/climate-change/”,”surrogateKey”:”video_CF7F9D96-5D36-D00E-7DEE-DB91C183DBE0″},{“descriptionPlainText”:”CNN hosted seven straight hours of town halls about the climate crisis with several 2020 Democratic candidates. See the best moments.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190904213357-06-elizabeth-warren-climate-town-hall-large-169.jpg”,”title”:”See how candidates stood out in 7 hours of climate talk”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/09/05/climate-crisis-town-halls-best-moments-llr-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/09/05/climate-crisis-town-halls-best-moments-llr-orig.cnn”,”videoId”:”politics/2019/09/05/climate-crisis-town-halls-best-moments-llr-orig.cnn”,”videoUrl”:”/videos/politics/2019/09/05/climate-crisis-town-halls-best-moments-llr-orig.cnn/video/playlists/climate-change/”,”surrogateKey”:”video_F20D6711-E5B8-8A87-F929-FF3736828945″},{“descriptionPlainText”:”Presidential hopeful Elizabeth Warren addresses the climate crisis and how she would face President Donald Trump on the debate stage if she wins the Democratic nomination.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190904212817-04-elizabeth-warren-climate-town-hall-large-169.jpg”,”title”:”Warren: Where Trump is right now is a nightmare “,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/09/05/elizabeth-warren-donald-trump-cnn-climate-crisis-town-hall-2020-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/09/05/elizabeth-warren-donald-trump-cnn-climate-crisis-town-hall-2020-sot-vpx.cnn”,”videoId”:”politics/2019/09/05/elizabeth-warren-donald-trump-cnn-climate-crisis-town-hall-2020-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2019/09/05/elizabeth-warren-donald-trump-cnn-climate-crisis-town-hall-2020-sot-vpx.cnn/video/playlists/climate-change/”,”surrogateKey”:”video_22C3868A-91AB-2018-0121-FF0FAABA9236″},{“descriptionPlainText”:”2020 presidential candidate Joe Biden claims the military told him that climate crisis is one of the greatest concerns for war and disruption.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190904205853-joe-biden-climate-change-town-hall-large-169.jpg”,”title”:”Biden: Military warned us of climate crisis danger”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/09/05/joe-biden-climate-change-town-hall-military-personal-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/09/05/joe-biden-climate-change-town-hall-military-personal-vpx.cnn”,”videoId”:”politics/2019/09/05/joe-biden-climate-change-town-hall-military-personal-vpx.cnn”,”videoUrl”:”/videos/politics/2019/09/05/joe-biden-climate-change-town-hall-military-personal-vpx.cnn/video/playlists/climate-change/”,”surrogateKey”:”video_BF15897C-0701-CA12-3F98-FEE9471E7A11″},{“descriptionPlainText”:”Democratic presidential candidate Bernie Sanders says President Trump’s approach to climate crisis is idiotic and dangerous during CNN’s climate town hall.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190904205512-03-bernie-sanders-climate-town-hall-large-169.jpg”,”title”:”Sanders: Trump’s stance on climate change is idiotic”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/09/04/bernie-sanders-sot-trump-stance-climate-cnn-town-hall-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/09/04/bernie-sanders-sot-trump-stance-climate-cnn-town-hall-vpx.cnn”,”videoId”:”politics/2019/09/04/bernie-sanders-sot-trump-stance-climate-cnn-town-hall-vpx.cnn”,”videoUrl”:”/videos/politics/2019/09/04/bernie-sanders-sot-trump-stance-climate-cnn-town-hall-vpx.cnn/video/playlists/climate-change/”,”surrogateKey”:”video_FE278433-ADA2-B56D-5668-FDED2970FC9C”},{“descriptionPlainText”:”Democratic presidential candidate Sen. Kamala Harris (D-CA) says she would get rid of the filibuster for a Green New Deal if she is elected in 2020.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190904191851-kamala-harris-climate-change-town-hall-large-169.jpg”,”title”:”Harris on Trump: Lead or get out of the way”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/09/04/kamala-harris-climate-change-town-hall-filibusters-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/09/04/kamala-harris-climate-change-town-hall-filibusters-vpx.cnn”,”videoId”:”politics/2019/09/04/kamala-harris-climate-change-town-hall-filibusters-vpx.cnn”,”videoUrl”:”/videos/politics/2019/09/04/kamala-harris-climate-change-town-hall-filibusters-vpx.cnn/video/playlists/climate-change/”,”surrogateKey”:”video_A6DC8597-7553-55CA-E31A-FE8D7F2CCF54″},{“descriptionPlainText”:”Democratic presidential candidate Andrew Yang said he considers safe drinking water to be a basic human right at CNN’s climate crisis town hall.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190904174604-02-andrew-yang-climate-town-hall-screengrab-large-169.jpg”,”title”:”Yang: You know what’s expensive? Poisoning our kids “,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/09/04/yang-cnn-climate-crisis-town-hall-2020-democratic-candidates-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/09/04/yang-cnn-climate-crisis-town-hall-2020-democratic-candidates-vpx.cnn”,”videoId”:”politics/2019/09/04/yang-cnn-climate-crisis-town-hall-2020-democratic-candidates-vpx.cnn”,”videoUrl”:”/videos/politics/2019/09/04/yang-cnn-climate-crisis-town-hall-2020-democratic-candidates-vpx.cnn/video/playlists/climate-change/”,”surrogateKey”:”video_D059F0B4-387F-132C-C8C9-FDEDF53561EE”},{“descriptionPlainText”:”Democratic presidential candidate Beto O’Rourke fields an audience question on federal disaster assistance and Puerto Rico.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190904225751-06-beto-orourke-climate-town-hall-large-169.jpg”,”title”:”O’Rourke: We need to support the people of Puerto Rico”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/09/05/beto-orourke-cnn-climate-crisis-town-hall-puerto-rico-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/09/05/beto-orourke-cnn-climate-crisis-town-hall-puerto-rico-sot-vpx.cnn”,”videoId”:”politics/2019/09/05/beto-orourke-cnn-climate-crisis-town-hall-puerto-rico-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2019/09/05/beto-orourke-cnn-climate-crisis-town-hall-puerto-rico-sot-vpx.cnn/video/playlists/climate-change/”,”surrogateKey”:”video_98DFE6DA-6683-F6A7-C5DE-FF682059E8A3″},{“descriptionPlainText”:”Democratic presidential candidate Pete Buttigieg responds to a viewer question about what one question he would ask President Donald Trump in a debate on climate change.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190904221047-05-pete-buttigieg-climate-town-hall-large-169.jpg”,”title”:”Pete Buttigieg: I would ask Trump to step aside”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/09/05/pete-buttigieg-climate-town-hall-one-question-for-trump-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/09/05/pete-buttigieg-climate-town-hall-one-question-for-trump-sot-vpx.cnn”,”videoId”:”politics/2019/09/05/pete-buttigieg-climate-town-hall-one-question-for-trump-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2019/09/05/pete-buttigieg-climate-town-hall-one-question-for-trump-sot-vpx.cnn/video/playlists/climate-change/”,”surrogateKey”:”video_7F7E920A-1647-B4D4-9A1F-FF3AE2D62E37″},{“descriptionPlainText”:”Democratic presidential candidate Elizabeth Warren says that deciding if the government should have a say in which light bulbs we use isn’t the real question at CNN’s climate town hall.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190904212817-04-elizabeth-warren-climate-town-hall-large-169.jpg”,”title”:”Warren: This is what fossil fuel wants us talking about”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/09/04/elizabeth-warren-fossil-fuel-industry-cnn-climate-town-hall-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/09/04/elizabeth-warren-fossil-fuel-industry-cnn-climate-town-hall-vpx.cnn”,”videoId”:”politics/2019/09/04/elizabeth-warren-fossil-fuel-industry-cnn-climate-town-hall-vpx.cnn”,”videoUrl”:”/videos/politics/2019/09/04/elizabeth-warren-fossil-fuel-industry-cnn-climate-town-hall-vpx.cnn/video/playlists/climate-change/”,”surrogateKey”:”video_25D33EDC-A395-5413-8138-FDEE2E3A5274″},{“descriptionPlainText”:”Democratic presidential nominee Julian Castro says as president he would end fossil fuel exploration, including fracking, on public lands. However, Castro does not plan to call for an immediate fracking ban.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190904174014-julian-castro-9-4-large-169.jpg”,”title”:”Student calls out Julian Castro’s record on fracking”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/09/04/julian-castro-fracking-cnn-climate-crisis-town-hall-2020-vpx-sot.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/09/04/julian-castro-fracking-cnn-climate-crisis-town-hall-2020-vpx-sot.cnn”,”videoId”:”politics/2019/09/04/julian-castro-fracking-cnn-climate-crisis-town-hall-2020-vpx-sot.cnn”,”videoUrl”:”/videos/politics/2019/09/04/julian-castro-fracking-cnn-climate-crisis-town-hall-2020-vpx-sot.cnn/video/playlists/climate-change/”,”surrogateKey”:”video_AC8C2713-31FA-E29F-AABB-FDE3CFE08E1E”}],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/07/23/climate-crisis-extreme-weather-infrastructure-pete-muntean-newday-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-7avbk3’,videoDescriptionDivId: ‘js-video_description-7avbk3’,videoDurationDivId: ‘js-video_duration-7avbk3’,videoTitleDivId: ‘js-leaf-video_headline-7avbk3’,videoSourceDivId: ‘js-video_sourceName-7avbk3’});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