Why scientists blame climate crisis for extreme weather

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘weather/2021/09/05/climate-change-wildfires-hurricanes-flooding-connection-chen-ndwknd-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/210905085157-climate-change-screengrab-chen-for-video-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210905085157-climate-change-screengrab-chen-for-video-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210905085157-climate-change-screengrab-chen-for-video-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210905085157-climate-change-screengrab-chen-for-video-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210905085157-climate-change-screengrab-chen-for-video-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210905085157-climate-change-screengrab-chen-for-video-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210905085157-climate-change-screengrab-chen-for-video-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”CNN’s Natasha Chen reports on why many climate scientists say that climate crisis and rising global temperatures are leading to more wildfires and stronger storms.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210905085157-climate-change-screengrab-chen-for-video-large-169.jpg”,”title”:”Why scientists blame climate crisis for extreme weather”,”videoCMSUrl”:”/video/data/3.0/video/weather/2021/09/05/climate-change-wildfires-hurricanes-flooding-connection-chen-ndwknd-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/weather/2021/09/05/climate-change-wildfires-hurricanes-flooding-connection-chen-ndwknd-vpx.cnn”,”videoId”:”weather/2021/09/05/climate-change-wildfires-hurricanes-flooding-connection-chen-ndwknd-vpx.cnn”,”videoUrl”:”/videos/weather/2021/09/05/climate-change-wildfires-hurricanes-flooding-connection-chen-ndwknd-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_16048C56-B984-3E6C-B276-B5D21124129C”},{“descriptionPlainText”:”Former California Governor Arnold Schwarzenegger says the state’s atmosphere ahead of the recall vote for Gov. Gavin Newsom is very similar to when Schwarzenegger was elected to office.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210905104213-arnold-schwarzenegger-california-recall-election-bash-sotu-vpx-00005401-large-169.jpg”,”title”:”Hear what Arnold Schwarzenegger thinks about the California recall election”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/09/05/arnold-schwarzenegger-california-recall-election-bash-sotu-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/09/05/arnold-schwarzenegger-california-recall-election-bash-sotu-vpx.cnn”,”videoId”:”politics/2021/09/05/arnold-schwarzenegger-california-recall-election-bash-sotu-vpx.cnn”,”videoUrl”:”/videos/politics/2021/09/05/arnold-schwarzenegger-california-recall-election-bash-sotu-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_CAAE9C52-D493-A2C6-4258-BB0069D31446″},{“descriptionPlainText”:”The northeastern US will contend with some showers this weekend along with cooler temperatures while the South and West will be hot. CNN meteorologist Tyler Mauldin has the forecast.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210903150608-weather-labor-day-forecast-090321-large-169.jpg”,”title”:”Storms, heat and taste of fall for US this Labor Day weekend”,”videoCMSUrl”:”/video/data/3.0/video/weather/2021/09/04/labor-day-weekend-weather-forecast.cnn/index.xml”,”videoLeafUrl”:”/videos/weather/2021/09/04/labor-day-weekend-weather-forecast.cnn”,”videoId”:”weather/2021/09/04/labor-day-weekend-weather-forecast.cnn”,”videoUrl”:”/videos/weather/2021/09/04/labor-day-weekend-weather-forecast.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_F5976FD9-FB13-DD49-CB18-B60D9849E6BB”},{“descriptionPlainText”:”Tuhan’s family crossed the border between China’s western Xinjiang region and Afghanistan 45 years ago. Now, as the Taliban exerts control over the country, she fears being forced to return to China. CNN’s Ivan Watson reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210903031633-taliban-parade-0901-large-169.jpg”,”title”:”Uyghur exiles in Afghanistan facing uncertain future”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/09/04/uyghur-afghanistan-taliban-china-watson-pkg-intl-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/09/04/uyghur-afghanistan-taliban-china-watson-pkg-intl-vpx.cnn”,”videoId”:”world/2021/09/04/uyghur-afghanistan-taliban-china-watson-pkg-intl-vpx.cnn”,”videoUrl”:”/videos/world/2021/09/04/uyghur-afghanistan-taliban-china-watson-pkg-intl-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_E9E2388E-0124-740A-53E4-B65301E19DB1″},{“descriptionPlainText”:”Willard Scott, former longtime weatherman for “Today,” has died, according to the NBC show. He was 87.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210904164221-02-willard-scott-file-1982-large-169.jpg”,”title”:”Longtime weatherman for ‘Today’ dead at 87″,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2021/09/04/willard-scott-weatherman-today-death-acosta-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/entertainment/2021/09/04/willard-scott-weatherman-today-death-acosta-nr-vpx.cnn”,”videoId”:”entertainment/2021/09/04/willard-scott-weatherman-today-death-acosta-nr-vpx.cnn”,”videoUrl”:”/videos/entertainment/2021/09/04/willard-scott-weatherman-today-death-acosta-nr-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_6208F3B5-7D30-DC6C-0861-B674FFB54034″},{“descriptionPlainText”:”Video provided by affiliate WCBS shows floodwater crash through a basement wall in Cranford, New Jersey. A mother and one of her sons were trapped in the basement but made it out alive after being rescued by other family members.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210904074208-ida-cranford-new-jersey-basement-collapse-screengrab-large-169.jpg”,”title”:”Floodwater crashes through wall of New Jersey home”,”videoCMSUrl”:”/video/data/3.0/video/weather/2021/09/04/ida-new-jersey-basement-wall-collapse-sot-wxp-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/weather/2021/09/04/ida-new-jersey-basement-wall-collapse-sot-wxp-vpx.hln”,”videoId”:”weather/2021/09/04/ida-new-jersey-basement-wall-collapse-sot-wxp-vpx.hln”,”videoUrl”:”/videos/weather/2021/09/04/ida-new-jersey-basement-wall-collapse-sot-wxp-vpx.hln/video/playlists/top-news-videos/”,”surrogateKey”:”video_16048C56-B984-3E6C-B276-B5D21124129C”},{“descriptionPlainText”:”The head of the UN Mine Action Team in Afghanistan says the Taliban are asking for help to locate and remove explosives left from war including ones they laid themselves. CNN’s Max Foster reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210904083124-afghan-landmines-pkg-vpx-large-169.jpg”,”title”:”The Taliban are asking for help locating explosives they laid”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/09/04/mine-action-team-in-afghanistan-foster-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/09/04/mine-action-team-in-afghanistan-foster-pkg-vpx.cnn”,”videoId”:”world/2021/09/04/mine-action-team-in-afghanistan-foster-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2021/09/04/mine-action-team-in-afghanistan-foster-pkg-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_6947DB8D-9922-6E6C-769D-B65F17CC0B58″},{“descriptionPlainText”:”Michael Mann, a lead author of the UN Climate Change report, explains the science that directly connects rising temperatures to the increased frequency and severity of major storms.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210904120444-michael-mann-climate-scientist-screengrab-for-video-large-169.jpg”,”title”:”Climate scientist makes dire prediction about monster storms”,”videoCMSUrl”:”/video/data/3.0/video/weather/2021/09/04/michael-mann-climate-change-severe-weather-sot-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/weather/2021/09/04/michael-mann-climate-change-severe-weather-sot-nr-vpx.cnn”,”videoId”:”weather/2021/09/04/michael-mann-climate-change-severe-weather-sot-nr-vpx.cnn”,”videoUrl”:”/videos/weather/2021/09/04/michael-mann-climate-change-severe-weather-sot-nr-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_234B8DB6-F81F-33B2-0D25-B09EA22E6684″},{“descriptionPlainText”:”CNN’s Sara Murray looks at the career of Wisconsin Republican Sen. Ron Johnson and his path to promoting conspiracies.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210903121507-sen-ron-johnson-large-169.jpg”,”title”:”How GOP’s Ron Johnson evolved into conspiracy promoter”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/09/03/ron-johnson-profile-wisconsin-murray-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/09/03/ron-johnson-profile-wisconsin-murray-lead-vpx.cnn”,”videoId”:”politics/2021/09/03/ron-johnson-profile-wisconsin-murray-lead-vpx.cnn”,”videoUrl”:”/videos/politics/2021/09/03/ron-johnson-profile-wisconsin-murray-lead-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_58817274-B633-3E05-0939-B067FBE1969B”},{“descriptionPlainText”:”CNN’s Randi Kaye talks to 15-year-old Paulina Velasquez and her mom Agnes about Paulina’s hospitalization after getting coronavirus.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210903204123-kaye-pkg-teen-covid-large-169.jpg”,”title”:”Florida teen speaks out after Covid-19 sent her to the ICU”,”videoCMSUrl”:”/video/data/3.0/video/health/2021/09/04/teen-message-covid-vaccination-kaye-pkg-ac360-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2021/09/04/teen-message-covid-vaccination-kaye-pkg-ac360-vpx.cnn”,”videoId”:”health/2021/09/04/teen-message-covid-vaccination-kaye-pkg-ac360-vpx.cnn”,”videoUrl”:”/videos/health/2021/09/04/teen-message-covid-vaccination-kaye-pkg-ac360-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_D9E11D2E-0AD8-43F3-98C2-B29BAAD641F2″},{“descriptionPlainText”:”Dr. Jonathan Reiner reacts to President Donald Trump telling the Wall Street Journal that he “probably won’t” get a Covid-19 vaccine booster.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210903195512-trump-reiner-split-vpx-large-169.jpg”,”title”:”‘Almost intentional sabotage’: Doctor reacts to Trump vaccine comments”,”videoCMSUrl”:”/video/data/3.0/video/health/2021/09/03/trump-vaccine-booster-shot-reiner-ebof-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2021/09/03/trump-vaccine-booster-shot-reiner-ebof-vpx.cnn”,”videoId”:”health/2021/09/03/trump-vaccine-booster-shot-reiner-ebof-vpx.cnn”,”videoUrl”:”/videos/health/2021/09/03/trump-vaccine-booster-shot-reiner-ebof-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_D961E893-F551-9CF1-CFFA-B093BEE6BF66″},{“descriptionPlainText”:”Rep. Pramila Jayapal (D-WA) talks with CNN about her opposition to Texas’ restrictive abortion ban.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210903155346-rep-pramila-jayapal-newsroom-09032021-large-169.jpg”,”title”:”Congresswoman against Texas abortion ban makes personal revelation”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/09/03/pramila-jayapal-texas-abortion-ban-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/09/03/pramila-jayapal-texas-abortion-ban-nr-vpx.cnn”,”videoId”:”politics/2021/09/03/pramila-jayapal-texas-abortion-ban-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2021/09/03/pramila-jayapal-texas-abortion-ban-nr-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_55233952-EC6E-0226-45E6-B0B8BC8A77CB”},{“descriptionPlainText”:”A former Marine who told his girlfriend he was receiving visions from God broke into two homes outside Lakeland, Florida, and fatally shot four people, including a 3-month-old baby, according to authorities.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210906083006-4-people-killed-near-lakeland-florida-former-marine-newday-kaye-vpx-00014815-large-169.png”,”title”:”Sheriff shares disturbing details about Marine who killed 4 people”,”videoCMSUrl”:”/video/data/3.0/video/us/2021/09/06/4-people-killed-near-lakeland-florida-former-marine-newday-kaye-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/09/06/4-people-killed-near-lakeland-florida-former-marine-newday-kaye-vpx.cnn”,”videoId”:”us/2021/09/06/4-people-killed-near-lakeland-florida-former-marine-newday-kaye-vpx.cnn”,”videoUrl”:”/videos/us/2021/09/06/4-people-killed-near-lakeland-florida-former-marine-newday-kaye-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_2DA10E3D-A196-8A57-44DD-B17BD2E7B65B”},{“descriptionPlainText”:”Melania Trump’s disinterest in public political life runs deep enough that she has told several friends that not only does she not intend to bolster her husband’s political ambitions, she also has zero desire for a White House redux, according to several people who spoke with CNN about her mindset. CNN’s Kate Bennett reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210117140135-file-melania-trump-november-2020-large-169.jpg”,”title”:”Melania Trump not interested in returning to White House, sources say”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/09/05/bennett-melania-trump-not-interested-in-campaigning-ip-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/09/05/bennett-melania-trump-not-interested-in-campaigning-ip-vpx.cnn”,”videoId”:”politics/2021/09/05/bennett-melania-trump-not-interested-in-campaigning-ip-vpx.cnn”,”videoUrl”:”/videos/politics/2021/09/05/bennett-melania-trump-not-interested-in-campaigning-ip-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_8EE3719C-B579-8E23-766B-AD78B7F40F65″},{“descriptionPlainText”:”Rep. Adam Kinzinger (R-IL) responds to House Freedom Caucus head Rep. Andy Biggs’ plan to request him and Rep. Liz Cheney (R-WY) be removed from the Republican Conference for their roles on the January 6 select committee.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210905104416-kinzinger-sotu-0905-vpx-large-169.jpg”,”title”:”Kinzinger: If GOP is pushing lies, we should not have the majority”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/09/05/kinzinger-on-biggs-gop-truth-telling-bash-sotu-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/09/05/kinzinger-on-biggs-gop-truth-telling-bash-sotu-vpx.cnn”,”videoId”:”politics/2021/09/05/kinzinger-on-biggs-gop-truth-telling-bash-sotu-vpx.cnn”,”videoUrl”:”/videos/politics/2021/09/05/kinzinger-on-biggs-gop-truth-telling-bash-sotu-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_C67F9899-6157-FD68-2BEF-AE3460A71808″},{“descriptionPlainText”:”Sen. Amy Klobuchar (D-MN) says the Supreme Court decision to not intervene to stop a Texas law that prohibits abortions after fetal cardiac activity is detected — usually around six weeks into a pregnancy – is an “assault on women’s health” and jeopardizes Roe V. Wade.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210905111102-amy-klobuchar-screengrab-for-video-september-5-2021-large-169.jpg”,”title”:”‘Blatantly against Roe v. Wade’: Klobuchar slams Supreme Court decision”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/09/05/amy-klobuchar-texas-law-scotus-roe-v-wade-sotu-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/09/05/amy-klobuchar-texas-law-scotus-roe-v-wade-sotu-sot-vpx.cnn”,”videoId”:”politics/2021/09/05/amy-klobuchar-texas-law-scotus-roe-v-wade-sotu-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2021/09/05/amy-klobuchar-texas-law-scotus-roe-v-wade-sotu-sot-vpx.cnn/video/playlists/top-news-videos/”,”surrogateKey”:”video_0AB03AF4-E08D-448D-4919-AE09A206C5CF”}],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:”weather/2021/09/05/climate-change-wildfires-hurricanes-flooding-connection-chen-ndwknd-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-29gzcdn’,videoDescriptionDivId: ‘js-video_description-29gzcdn’,videoDurationDivId: ‘js-video_duration-29gzcdn’,videoTitleDivId: ‘js-leaf-video_headline-29gzcdn’,videoSourceDivId: ‘js-video_sourceName-29gzcdn’});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