‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘weather/2019/07/11/flooding-hits-louisiana-as-residents-brace-for-hurricane-lc-orig.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/190710163635-01-new-orleans-flooding-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190710163635-01-new-orleans-flooding-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190710163635-01-new-orleans-flooding-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190710163635-01-new-orleans-flooding-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190710163635-01-new-orleans-flooding-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190710163635-01-new-orleans-flooding-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190710163635-01-new-orleans-flooding-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”The National Hurricane Center issued hurricane watches for parts of coastal Louisiana, as the first tropical system to slam the US this year is expected to make landfall as a hurricane.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190710163635-01-new-orleans-flooding-large-169.jpg”,”title”:”Flooding hits Louisiana as residents brace for hurricane”,”videoCMSUrl”:”/videos/weather/2019/07/11/flooding-hits-louisiana-as-residents-brace-for-hurricane-lc-orig.cnn”,”videoLeafUrl”:”/videos/weather/2019/07/11/flooding-hits-louisiana-as-residents-brace-for-hurricane-lc-orig.cnn”,”videoId”:”weather/2019/07/11/flooding-hits-louisiana-as-residents-brace-for-hurricane-lc-orig.cnn”,”videoUrl”:”/videos/weather/2019/07/11/flooding-hits-louisiana-as-residents-brace-for-hurricane-lc-orig.cnn”},{“descriptionPlainText”:”Five armed Iranian Islamic Revolutionary Guard Corps boats unsuccessfully tried to seize a British oil tanker in the Persian Gulf, according to two US officials with direct knowledge of the incident.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190710213513-iranian-boats-attempted-to-seize-british-tanker-zakaria-ac360-vpx-00000000-large-169.jpg”,”title”:”Fareed Zakaria: Here’s what’s really going on with Iran”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/07/11/iranian-boats-attempted-to-seize-british-tanker-zakaria-ac360-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/07/11/iranian-boats-attempted-to-seize-british-tanker-zakaria-ac360-vpx.cnn”,”videoId”:”world/2019/07/11/iranian-boats-attempted-to-seize-british-tanker-zakaria-ac360-vpx.cnn”,”videoUrl”:”/videos/world/2019/07/11/iranian-boats-attempted-to-seize-british-tanker-zakaria-ac360-vpx.cnn/video/playlists/top-news-videos/”},{“descriptionPlainText”:”Forecasts call for a hurricane to make landfall across the Louisiana coast this weekend bringing with it dangerous storm surge and extreme flooding.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190711051713-daily-weather-forecast-tropical-storm-barry-gulf-coast-flood-storm-surge-00000211-large-169.jpg”,”title”:”Tropical Storm Barry to form in Gulf of Mexico today”,”videoCMSUrl”:”/video/data/3.0/video/weather/2019/07/11/daily-weather-forecast-tropical-storm-barry-gulf-coast-flood-storm-surge.cnn/index.xml”,”videoLeafUrl”:”/videos/weather/2019/07/11/daily-weather-forecast-tropical-storm-barry-gulf-coast-flood-storm-surge.cnn”,”videoId”:”weather/2019/07/11/daily-weather-forecast-tropical-storm-barry-gulf-coast-flood-storm-surge.cnn”,”videoUrl”:”/videos/weather/2019/07/11/daily-weather-forecast-tropical-storm-barry-gulf-coast-flood-storm-surge.cnn/video/playlists/top-news-videos/”},{“descriptionPlainText”:”CNN’s Anderson Cooper evaluates claims US Labor Secretary Alexander Acosta made during a press conference where he defended his handling of a sex crimes case against multi-millionaire Jeffrey Epstein.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190710201437-anderson-cooper-7-10-2019-large-169.jpg”,”title”:”Cooper: This is the one thing Acosta didn’t do”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/07/10/alexander-acosta-jeffrey-epstein-kth-ac360-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/07/10/alexander-acosta-jeffrey-epstein-kth-ac360-vpx.cnn”,”videoId”:”politics/2019/07/10/alexander-acosta-jeffrey-epstein-kth-ac360-vpx.cnn”,”videoUrl”:”/videos/politics/2019/07/10/alexander-acosta-jeffrey-epstein-kth-ac360-vpx.cnn/video/playlists/top-news-videos/”},{“descriptionPlainText”:”A former South Korean soldier says he was victimized for being gay in the military, where homosexual activity is illegal. CNN’s Paula Hancocks reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181101104042-south-korea-army-day-2013-large-169.jpg”,”title”:”Ex-South Korean soldier says he was abused for being gay”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/07/11/south-korea-military-lgbtq-paula-hancocks-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/07/11/south-korea-military-lgbtq-paula-hancocks-pkg-vpx.cnn”,”videoId”:”world/2019/07/11/south-korea-military-lgbtq-paula-hancocks-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2019/07/11/south-korea-military-lgbtq-paula-hancocks-pkg-vpx.cnn/video/playlists/top-news-videos/”},{“descriptionPlainText”:”CNN’s Ed Lavandera reports on the increasing desperation among migrants as they wait to begin the asylum process in the US.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190710200840-ed-lavandera-pkg-large-169.jpg”,”title”:”Migrants take matters into their own hands on border”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/07/10/migrants-asylum-process-lavandera-pkg-ebof-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/07/10/migrants-asylum-process-lavandera-pkg-ebof-vpx.cnn”,”videoId”:”politics/2019/07/10/migrants-asylum-process-lavandera-pkg-ebof-vpx.cnn”,”videoUrl”:”/videos/politics/2019/07/10/migrants-asylum-process-lavandera-pkg-ebof-vpx.cnn/video/playlists/top-news-videos/”},{“descriptionPlainText”:”Kim Jong Un’s regime may be planning to make a move against a former US Marine accused of leading a raid on North Korea’s embassy in Madrid. CNN’s Brian Todd reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190710183520-ahn-ex-marine-north-korea-embassy-raid-large-169.jpg”,”title”:”North Korea may be targeting former Marine accused of embassy raid”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/07/10/kim-jong-un-may-be-targeting-us-marine-ahn-embassy-raid-brian-todd-tsr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/07/10/kim-jong-un-may-be-targeting-us-marine-ahn-embassy-raid-brian-todd-tsr-vpx.cnn”,”videoId”:”world/2019/07/10/kim-jong-un-may-be-targeting-us-marine-ahn-embassy-raid-brian-todd-tsr-vpx.cnn”,”videoUrl”:”/videos/world/2019/07/10/kim-jong-un-may-be-targeting-us-marine-ahn-embassy-raid-brian-todd-tsr-vpx.cnn/video/playlists/top-news-videos/”},{“descriptionPlainText”:”The US Women’s National Soccer Team hasn’t stopped celebrating since winning their fourth World Cup.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190710121253-16-wwcup-parade-0710-large-169.jpg”,”title”:”Dancing and champagne welcome US women’s team home”,”videoCMSUrl”:”/video/data/3.0/video/sports/2019/07/08/us-soccer-womens-uswnt-world-cup-records-orig-llr.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2019/07/08/us-soccer-womens-uswnt-world-cup-records-orig-llr.cnn”,”videoId”:”sports/2019/07/08/us-soccer-womens-uswnt-world-cup-records-orig-llr.cnn”,”videoUrl”:”/videos/sports/2019/07/08/us-soccer-womens-uswnt-world-cup-records-orig-llr.cnn/video/playlists/top-news-videos/”},{“descriptionPlainText”:”A Delta flight had to make an emergency landing in Raleigh, North Carolina, due to engine problems. Hear passengers describe the frightening experience.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190625151552-delta-airlines-planes-large-169.jpg”,”title”:”See scary moment Delta plane makes an emergency landing”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/07/10/delta-plane-engine-trouble-emergency-landing-in-raleigh-lc-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/07/10/delta-plane-engine-trouble-emergency-landing-in-raleigh-lc-orig.cnn”,”videoId”:”us/2019/07/10/delta-plane-engine-trouble-emergency-landing-in-raleigh-lc-orig.cnn”,”videoUrl”:”/videos/us/2019/07/10/delta-plane-engine-trouble-emergency-landing-in-raleigh-lc-orig.cnn/video/playlists/top-news-videos/”},{“descriptionPlainText”:”President Donald Trump signed an executive order aimed at transforming kidney care for more than 37 million Americans with some form of kidney disease. The administration said it is the first kidney-focused executive order since 1973.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190710121211-president-trump-kidney-executive-order-signing-large-169.jpg”,”title”:”Trump signs executive order to transform kidney care”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/07/10/president-trump-kidney-health-care-executive-order-signing-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/07/10/president-trump-kidney-health-care-executive-order-signing-sot-vpx.cnn”,”videoId”:”politics/2019/07/10/president-trump-kidney-health-care-executive-order-signing-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2019/07/10/president-trump-kidney-health-care-executive-order-signing-sot-vpx.cnn/video/playlists/top-news-videos/”},{“descriptionPlainText”:”The crowd at the ceremony honoring the women’s World Cup champions interrupted US Soccer Federation President Carlos Cordeiro’s speech by chanting “equal pay.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190710120748-crowd-chants-at-womens-soccer-ceremony-large-169.jpg”,”title”:”Crowd interrupts US Soccer Federation President’s speech”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/07/10/chants-equal-pay-womens-world-cup-champions-carlos-cordeiro-sot-ath-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/07/10/chants-equal-pay-womens-world-cup-champions-carlos-cordeiro-sot-ath-vpx.cnn”,”videoId”:”us/2019/07/10/chants-equal-pay-womens-world-cup-champions-carlos-cordeiro-sot-ath-vpx.cnn”,”videoUrl”:”/videos/us/2019/07/10/chants-equal-pay-womens-world-cup-champions-carlos-cordeiro-sot-ath-vpx.cnn/video/playlists/top-news-videos/”},{“descriptionPlainText”:”An 18-month-old girl died after falling from a window on a Royal Caribbean cruise ship. The family’s attorney wants to hold the cruise line accountable.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190709140227-03-cruise-ship-toddler-large-169.jpg”,”title”:”Attorney blames cruise line in child’s fatal fall”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/07/09/toddler-falls-cruise-ship-chloe-wiegand-orig-llr.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/07/09/toddler-falls-cruise-ship-chloe-wiegand-orig-llr.cnn”,”videoId”:”us/2019/07/09/toddler-falls-cruise-ship-chloe-wiegand-orig-llr.cnn”,”videoUrl”:”/videos/us/2019/07/09/toddler-falls-cruise-ship-chloe-wiegand-orig-llr.cnn/video/playlists/top-news-videos/”},{“descriptionPlainText”:”Emmy Award-winning actor Rip Torn, who starred in “Men in Black” and HBO’s “The Larry Sanders Show,” has died, his publicist said. He was 88.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190710041906-rip-torn-large-169.jpg”,”title”:”Emmy-Award winning actor Rip Torn dead at 88″,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2019/07/10/emmy-award-winning-actor-rip-torn-dead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/entertainment/2019/07/10/emmy-award-winning-actor-rip-torn-dead-vpx.cnn”,”videoId”:”entertainment/2019/07/10/emmy-award-winning-actor-rip-torn-dead-vpx.cnn”,”videoUrl”:”/videos/entertainment/2019/07/10/emmy-award-winning-actor-rip-torn-dead-vpx.cnn/video/playlists/top-news-videos/”},{“descriptionPlainText”:”Former Michigan State football star, Malik McDowell, was charged with simple assault of a police officer, operating while under the influence, obstructing justice and driving with a suspended license after police in Michigan pulled him over in February.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190710103042-malik-mcdowell-lathrup-police-large-169.jpg”,”title”:”NFL player fights police officer after being tased”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/07/10/us-michigan-malik-mcdowell-arrest-police-officer-gas-station-nfl-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/07/10/us-michigan-malik-mcdowell-arrest-police-officer-gas-station-nfl-lon-orig.cnn”,”videoId”:”world/2019/07/10/us-michigan-malik-mcdowell-arrest-police-officer-gas-station-nfl-lon-orig.cnn”,”videoUrl”:”/videos/world/2019/07/10/us-michigan-malik-mcdowell-arrest-police-officer-gas-station-nfl-lon-orig.cnn/video/playlists/top-news-videos/”},{“descriptionPlainText”:”Kentucky Democrat Amy McGrath, a former fighter pilot who rose to national prominence last year in her failed campaign for Congress against Republican Andy Barr, is now taking on Senate Majority Leader Mitch McConnell in 2020.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190709131401-mcgrath-mcconnell-split-large-169.jpg”,”title”:”Amy McGrath mounts bid to oust Mitch McConnell in 2020″,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/07/10/amy-mcgrath-pkg-ebof-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/07/10/amy-mcgrath-pkg-ebof-vpx.cnn”,”videoId”:”politics/2019/07/10/amy-mcgrath-pkg-ebof-vpx.cnn”,”videoUrl”:”/videos/politics/2019/07/10/amy-mcgrath-pkg-ebof-vpx.cnn/video/playlists/top-news-videos/”},{“descriptionPlainText”:”An American toddler fell to her death from the deck of a Royal Caribbean cruise ship docked in San Juan, Puerto Rico, a spokesman for the local Port Authority said. CNN’s Martin Savidge reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190709140227-03-cruise-ship-toddler-large-169.jpg”,”title”:”Toddler dies after falling from Royal Caribbean ship”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/07/09/toddler-dies-cruise-ship-family-attorney-savidge-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/07/09/toddler-dies-cruise-ship-family-attorney-savidge-nr-vpx.cnn”,”videoId”:”us/2019/07/09/toddler-dies-cruise-ship-family-attorney-savidge-nr-vpx.cnn”,”videoUrl”:”/videos/us/2019/07/09/toddler-dies-cruise-ship-family-attorney-savidge-nr-vpx.cnn/video/playlists/top-news-videos/”},{“descriptionPlainText”:”President Trump weighs in on whether female athletes should receive equal pay to their male counterparts following the US Women’s World Cup win.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190707171156-trump-equal-pay-large-169.jpg”,”title”:”Trump weighs in on equal pay for female athletes”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/07/07/trump-equal-pay-female-athletes-sot-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/07/07/trump-equal-pay-female-athletes-sot-nr-vpx.cnn”,”videoId”:”politics/2019/07/07/trump-equal-pay-female-athletes-sot-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2019/07/07/trump-equal-pay-female-athletes-sot-nr-vpx.cnn/video/playlists/top-news-videos/”}],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/2019/07/11/flooding-hits-louisiana-as-residents-brace-for-hurricane-lc-orig.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-xqedlo’,videoDescriptionDivId: ‘js-video_description-xqedlo’,videoDurationDivId: ‘js-video_duration-xqedlo’,videoTitleDivId: ‘js-leaf-video_headline-xqedlo’,videoSourceDivId: ‘js-video_sourceName-xqedlo’});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(‘