Reality Check: We need infrastructure to survive the climate crisis

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘politics/2021/06/30/climate-change-crisis-record-highs-reality-check-avlon-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/210630094729-john-avlon-0630-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210630094729-john-avlon-0630-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210630094729-john-avlon-0630-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210630094729-john-avlon-0630-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210630094729-john-avlon-0630-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210630094729-john-avlon-0630-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210630094729-john-avlon-0630-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”CNN’s John Avlon takes a look at the urgent crisis of climate change that is causing rising tides and record setting heat waves and its impact on US infrastructure.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210630094729-john-avlon-0630-large-169.jpg”,”title”:”Reality Check: We need infrastructure to survive the climate crisis”,”videoCMSUrl”:”/videos/politics/2021/06/30/climate-change-crisis-record-highs-reality-check-avlon-newday-vpx.cnn”,”videoLeafUrl”:”/videos/politics/2021/06/30/climate-change-crisis-record-highs-reality-check-avlon-newday-vpx.cnn”,”videoId”:”politics/2021/06/30/climate-change-crisis-record-highs-reality-check-avlon-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/06/30/climate-change-crisis-record-highs-reality-check-avlon-newday-vpx.cnn”,”surrogateKey”:”video_0064FBA3-8141-6ECE-1BD2-5D09CC653A83″},{“descriptionPlainText”:”Attorney George Conway says President Donald Trump’s children should be “very, very worried” about the investigation into the Trump Organization.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210702084912-george-conway-newday-07022021-large-169.jpg”,”title”:”George Conway: I’d be very, very worried if I were Trump’s children”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/07/02/george-conway-trump-organization-investigation-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/07/02/george-conway-trump-organization-investigation-newday-vpx.cnn”,”videoId”:”politics/2021/07/02/george-conway-trump-organization-investigation-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/07/02/george-conway-trump-organization-investigation-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_B288E379-A1E4-51FC-ECD8-674094088332″},{“descriptionPlainText”:”New York prosecutors charged the Trump Organization, the Trump Payroll Corporation and Chief Financial Officer Allen Weisselberg in connection with an alleged tax scheme stretching back to 2005, in an extraordinary legal development against the former President’s namesake company. Weisselberg, the Trump organization and the Trump Payroll Corporation have all pleaded not guilty. Trump himself was not charged. CNN’s Alisyn Camerota discusses with Trump’s former personal attorney Michael Cohen.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210701155610-michael-cohen-allen-weisselberg-indictment-screengrab-vpx-07012021-large-169.jpg”,”title”:”Michael Cohen: Everything went through Donald Trump”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/07/01/allen-weisselberg-indictment-trump-organization-michael-cohen-intv-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/07/01/allen-weisselberg-indictment-trump-organization-michael-cohen-intv-nr-vpx.cnn”,”videoId”:”politics/2021/07/01/allen-weisselberg-indictment-trump-organization-michael-cohen-intv-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2021/07/01/allen-weisselberg-indictment-trump-organization-michael-cohen-intv-nr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_9E12A8D1-E869-60C5-3B34-6382C0C0F3F8″},{“descriptionPlainText”:”CNN’s Jeffrey Toobin says the result of the Supreme Court upholding two Arizona election laws means the landmark 1965 Voting Rights Act is ‘close to being irrelevant’ and will require congressional action to save it.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210630170106-03-scotus-0628-large-169.jpg”,”title”:”Toobin: Voting Rights Act close to being irrelevant”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/07/01/toobin-supreme-court-arizona-voting-law-ruling-analysis-sot-vpx-nr.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/07/01/toobin-supreme-court-arizona-voting-law-ruling-analysis-sot-vpx-nr.cnn”,”videoId”:”politics/2021/07/01/toobin-supreme-court-arizona-voting-law-ruling-analysis-sot-vpx-nr.cnn”,”videoUrl”:”/videos/politics/2021/07/01/toobin-supreme-court-arizona-voting-law-ruling-analysis-sot-vpx-nr.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_90B4344D-9785-3D5F-8401-62A2EA3CFCC0″},{“descriptionPlainText”:”House Minority Leader Kevin McCarthy took questions from reporters the day after the House voted to create a select committee to investigate the January 6 insurrection.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210701122120-kevin-mccarthy-0701-large-169.jpg”,”title”:”McCarthy: ‘Unprecedented’ move by Liz Cheney”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/07/01/kevin-mccarthy-house-select-committee-january-6-ath-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/07/01/kevin-mccarthy-house-select-committee-january-6-ath-vpx.cnn”,”videoId”:”politics/2021/07/01/kevin-mccarthy-house-select-committee-january-6-ath-vpx.cnn”,”videoUrl”:”/videos/politics/2021/07/01/kevin-mccarthy-house-select-committee-january-6-ath-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_D95D9E33-473E-4AE4-B08F-62C4CC717C28″},{“descriptionPlainText”:”CNN’s SE Cupp says Democrats need to avoid an “all or nothing” approach to getting an infrastructure deal done.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210701131733-se-cupp-unfiltered-07012021-large-169.jpg”,”title”:”SE Cupp: Democrats letting the perfect get in the way of the good”,”videoCMSUrl”:”/video/data/3.0/video/opinions/2021/07/01/se-cupp-democrats-infrastructure-deal-unfiltered-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/opinions/2021/07/01/se-cupp-democrats-infrastructure-deal-unfiltered-vpx.cnn”,”videoId”:”opinions/2021/07/01/se-cupp-democrats-infrastructure-deal-unfiltered-vpx.cnn”,”videoUrl”:”/videos/opinions/2021/07/01/se-cupp-democrats-infrastructure-deal-unfiltered-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_98479F28-C87D-2C2C-9C33-630FA9634AFC”},{“descriptionPlainText”:”CNN presidential historian Tim Naftali analyzes a C-SPAN poll that ranks former President Donald Trump as the worst living President.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210113140558-02-trump-impeachment-centered-large-169.jpg”,”title”:”Presidential historian: Trump should not be happy with this”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/07/01/donald-trump-presidential-c-span-poll-naftali-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/07/01/donald-trump-presidential-c-span-poll-naftali-newday-vpx.cnn”,”videoId”:”politics/2021/07/01/donald-trump-presidential-c-span-poll-naftali-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/07/01/donald-trump-presidential-c-span-poll-naftali-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_8B4A1103-C03D-B44B-2155-622B197F4E06″},{“descriptionPlainText”:”CNN’s John Avlon looks at “election subversion,” a tactic Avlon says that Republican state legislators are deploying to hold on to power “by any means necessary.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210629083935-john-avlon-0629-large-169.jpg”,”title”:”Reality Check: ‘Election subversion’ is the new GOP tactic”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/06/29/election-subversion-voter-suppression-republicans-reality-check-avlon-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/06/29/election-subversion-voter-suppression-republicans-reality-check-avlon-newday-vpx.cnn”,”videoId”:”politics/2021/06/29/election-subversion-voter-suppression-republicans-reality-check-avlon-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/06/29/election-subversion-voter-suppression-republicans-reality-check-avlon-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_DD49A18E-9333-3FF7-555C-57AF4FF75163″},{“descriptionPlainText”:”CNN’s Donie O’Sullivan speaks with supporters of President Donald Trump at a rally in Wellington, Ohio, who falsely believe that Trump won the 2020 election.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210628202958-donald-trump-rally-president-2020-election-osullivan-pkg-vpx-ebof-00015214-large-169.png”,”title”:”Three percenter at Trump rally warns of future violence”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/06/29/donald-trump-rally-president-2020-election-osullivan-pkg-vpx-ebof.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/06/29/donald-trump-rally-president-2020-election-osullivan-pkg-vpx-ebof.cnn”,”videoId”:”politics/2021/06/29/donald-trump-rally-president-2020-election-osullivan-pkg-vpx-ebof.cnn”,”videoUrl”:”/videos/politics/2021/06/29/donald-trump-rally-president-2020-election-osullivan-pkg-vpx-ebof.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_A2D9F190-E0B7-56B5-6254-551CD987CD47″},{“descriptionPlainText”:”CNN’s Erin Burnett talks to the former daughter-in-law of top Trump Organization official Allen Weisselberg, Jennifer Weisselberg, about the Manhattan district attorney’s investigation into the Trump Organization.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210628200552-jennifer-weisselberg-intv-sot-vpx-screengrab-large-169.jpg”,”title”:”Former daughter-in-law of Trump exec on potential of him flipping”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/06/29/jennifer-weisselberg-trump-organization-investigation-ebof-intv-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/06/29/jennifer-weisselberg-trump-organization-investigation-ebof-intv-sot-vpx.cnn”,”videoId”:”politics/2021/06/29/jennifer-weisselberg-trump-organization-investigation-ebof-intv-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2021/06/29/jennifer-weisselberg-trump-organization-investigation-ebof-intv-sot-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_2E4CE366-A6EA-6998-F1CC-5514FEA26F76″},{“descriptionPlainText”:”Former Attorney General William Barr says he suspected Former President Donald Trump’s claims on widespread election fraud were “all bullsh*t.” His comments were made public after The Atlantic published the statement as part of an excerpt from “Betrayal,” a book by ABC News chief Washington correspondent Jonathan Karl.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201222172423-02-bill-barr-0210-large-169.jpg”,”title”:”Barr on Trump election fraud claims: It was ‘all bullsh*t'”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/06/28/william-barr-calls-out-trump-election-fraud-intv-honig-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/06/28/william-barr-calls-out-trump-election-fraud-intv-honig-newday-vpx.cnn”,”videoId”:”politics/2021/06/28/william-barr-calls-out-trump-election-fraud-intv-honig-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/06/28/william-barr-calls-out-trump-election-fraud-intv-honig-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_22F92530-D3E7-FD73-27E6-52719765BC0D”},{“descriptionPlainText”:”Rep. Alexandria Ocasio-Cortez (D-NY) fired back via a tweet after Rep. Marjorie Taylor Greene (R-GA) called her “a communist” and “not an American” at a rally for former President Donald Trump.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210628090334-marjorie-taylor-greene-alexandria-ocasio-cortez-split-for-video-large-169.jpg”,”title”:”See Ocasio-Cortez’s response to Taylor Greene’s insult”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/06/28/marjorie-taylor-greene-alexandria-ocasio-cortez-communist-sot-vpx-nr.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/06/28/marjorie-taylor-greene-alexandria-ocasio-cortez-communist-sot-vpx-nr.cnn”,”videoId”:”politics/2021/06/28/marjorie-taylor-greene-alexandria-ocasio-cortez-communist-sot-vpx-nr.cnn”,”videoUrl”:”/videos/politics/2021/06/28/marjorie-taylor-greene-alexandria-ocasio-cortez-communist-sot-vpx-nr.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_494C9490-0EF1-1F4E-99E9-52A9637994C6″},{“descriptionPlainText”:”Sen. Mitt Romney (R-UT) discusses the damage caused by former President Donald Trump’s lie about the 2020 US presidential election and says it’s time for Trump and his supporters to move on.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210627095721-mitt-romney-trump-split-june-27-for-video-large-169.jpg”,”title”:”Romney: Trump rallies pushing big lie are entertaining but not real “,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/06/27/romney-trump-big-lie-rallies-entertaining-but-not-real-sot-vpx-sotu.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/06/27/romney-trump-big-lie-rallies-entertaining-but-not-real-sot-vpx-sotu.cnn”,”videoId”:”politics/2021/06/27/romney-trump-big-lie-rallies-entertaining-but-not-real-sot-vpx-sotu.cnn”,”videoUrl”:”/videos/politics/2021/06/27/romney-trump-big-lie-rallies-entertaining-but-not-real-sot-vpx-sotu.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_1472A9BD-F970-668B-BB60-4D9EFA907F99″},{“descriptionPlainText”:”Former Vice President Mike Pence rebuked former President Donald Trump on the question of overturning the results of the 2020 presidential election. Pence also said he will “always be proud” of his role in affirming the election results on January 6 following a deadly riot of Trump supporters at the US Capitol. CNN’s Whitney Wild reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210625115422-mike-pence-reagan-foundation-trump-january-6-large-169.jpg”,”title”:”Hear Mike Pence call attempt to decertify election ‘un-American'”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/06/25/mike-pence-donald-trump-january-6-2020-election-results-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/06/25/mike-pence-donald-trump-january-6-2020-election-results-newday-vpx.cnn”,”videoId”:”politics/2021/06/25/mike-pence-donald-trump-january-6-2020-election-results-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/06/25/mike-pence-donald-trump-january-6-2020-election-results-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_334A7D34-3389-2783-CCFE-42AAC8B99C12″},{“descriptionPlainText”:”CNN’s Anderson Cooper talks with conservative lawyer George Conway about former President Trump’s longtime adviser Rudy Giuliani’s suspension from practicing law in the state of New York.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210624211544-cooper-conway-split-large-169.jpg”,”title”:”Conway: Giuliani will likely never see inside of courtroom again unless as defendant”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/06/25/george-conway-giuliani-court-ac360-intv-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/06/25/george-conway-giuliani-court-ac360-intv-sot-vpx.cnn”,”videoId”:”politics/2021/06/25/george-conway-giuliani-court-ac360-intv-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2021/06/25/george-conway-giuliani-court-ac360-intv-sot-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_B6039194-ACD6-42C6-7396-40ACDBD0CC85″},{“descriptionPlainText”:”President Joe Biden said he has agreed to a deal on infrastructure with a bipartisan group of senators after White House officials and the senators had a massive breakthrough the night before in their infrastructure negotiations. CNN’s Manu Raju reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210624125117-01-biden-senators-0624-large-169.jpg”,”title”:”Biden announces an infrastructure deal has been made”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/06/24/biden-infrastructure-meeting-senators-bts-ip-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/06/24/biden-infrastructure-meeting-senators-bts-ip-vpx.cnn”,”videoId”:”politics/2021/06/24/biden-infrastructure-meeting-senators-bts-ip-vpx.cnn”,”videoUrl”:”/videos/politics/2021/06/24/biden-infrastructure-meeting-senators-bts-ip-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_4FFEE8BE-E588-0275-8AB9-3EEF6A1792E9″}],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:”politics/2021/06/30/climate-change-crisis-record-highs-reality-check-avlon-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-1vxrzib’,videoDescriptionDivId: ‘js-video_description-1vxrzib’,videoDurationDivId: ‘js-video_duration-1vxrzib’,videoTitleDivId: ‘js-leaf-video_headline-1vxrzib’,videoSourceDivId: ‘js-video_sourceName-1vxrzib’});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