‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘us/2019/05/28/javier-cantellops-hawaii-hiker-rescuer-sot-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/190528092743-javier-cantellops-5-28-19-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190528092743-javier-cantellops-5-28-19-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190528092743-javier-cantellops-5-28-19-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190528092743-javier-cantellops-5-28-19-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190528092743-javier-cantellops-5-28-19-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190528092743-javier-cantellops-5-28-19-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190528092743-javier-cantellops-5-28-19-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”A hiker was lost in a Hawaii forest for 17 days before she was rescued by her friend, Javier Cantellops. He tells CNN’s Alisyn Camerota about the moment he found her.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190528092743-javier-cantellops-5-28-19-large-169.jpg”,”title”:”Rescuer describes the moment he spotted lost Maui hiker”,”videoCMSUrl”:”/videos/us/2019/05/28/javier-cantellops-hawaii-hiker-rescuer-sot-newday-vpx.cnn”,”videoLeafUrl”:”/videos/us/2019/05/28/javier-cantellops-hawaii-hiker-rescuer-sot-newday-vpx.cnn”,”videoId”:”us/2019/05/28/javier-cantellops-hawaii-hiker-rescuer-sot-newday-vpx.cnn”,”videoUrl”:”/videos/us/2019/05/28/javier-cantellops-hawaii-hiker-rescuer-sot-newday-vpx.cnn”},{“descriptionPlainText”:”Ohio residents are witnessing the extensive damage left by a powerful tornado that ripped through the Dayton area. CNN’s Ryan Young reports from Celina, Ohio.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190528072821-celina-ohio-tornado-ryan-young-drone-large-169.jpg”,”title”:”Ohio tornado survivor: It’s heartbreaking”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/05/28/ohio-tornado-damage-update-young-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/05/28/ohio-tornado-damage-update-young-newday-vpx.cnn”,”videoId”:”us/2019/05/28/ohio-tornado-damage-update-young-newday-vpx.cnn”,”videoUrl”:”/videos/us/2019/05/28/ohio-tornado-damage-update-young-newday-vpx.cnn/video/playlists/top-news-videos/”},{“descriptionPlainText”:”President Donald Trump refused to back away from his positive assessment of North Korea, saying he wasn’t “personally bothered” by the regime’s recent short-range missile tests despite the contradictory views of his Japanese hosts and his own national security adviser. CNN’s Kaitlan Collins reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190527064938-trump-tokyo-05272019-large-169.jpg”,”title”:”Trump says he’s not bothered by North Korea missile tests”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/05/27/president-trump-in-japan-north-korea-missile-comments-collins-lead-dnt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/05/27/president-trump-in-japan-north-korea-missile-comments-collins-lead-dnt-vpx.cnn”,”videoId”:”politics/2019/05/27/president-trump-in-japan-north-korea-missile-comments-collins-lead-dnt-vpx.cnn”,”videoUrl”:”/videos/politics/2019/05/27/president-trump-in-japan-north-korea-missile-comments-collins-lead-dnt-vpx.cnn/video/playlists/top-news-videos/”},{“descriptionPlainText”:”Another mountaineer has died after summiting Mount Everest, bringing the death toll for the 2019 climbing season to 11 people. American Christopher John Kulish, 61, died after reaching the top of Everest on the Nepalese side of the mountain, the Director of Nepal’s Tourism Department told CNN.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190523135925-01-mount-everest-line-0522-large-169.jpg”,”title”:”Striking image shows deadly traffic jam atop Everest”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/05/27/mount-everest-climber-death-toll-damon-lklv-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/05/27/mount-everest-climber-death-toll-damon-lklv-lead-vpx.cnn”,”videoId”:”world/2019/05/27/mount-everest-climber-death-toll-damon-lklv-lead-vpx.cnn”,”videoUrl”:”/videos/world/2019/05/27/mount-everest-climber-death-toll-damon-lklv-lead-vpx.cnn/video/playlists/top-news-videos/”},{“descriptionPlainText”:”A 12-year-old girl and a 39-year-old man have died in a stabbing spree in Kawasaki, Japan, Nippon Medical School Musashikosugi Hospital spokesperson told CNN. Nineteen people in total sustained injuries in the attack.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190527230419-0528-japan-stabbing-02-large-169.jpg”,”title”:”Two dead in stabbing attack in Japan”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/05/28/kawasaki-japan-stabbing-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/05/28/kawasaki-japan-stabbing-vpx.cnn”,”videoId”:”world/2019/05/28/kawasaki-japan-stabbing-vpx.cnn”,”videoUrl”:”/videos/world/2019/05/28/kawasaki-japan-stabbing-vpx.cnn/video/playlists/top-news-videos/”},{“descriptionPlainText”:”Nearly 800,000 documents have been smuggled out of Syria, containing evidence of alleged war crimes carried out by the regime of President Bashar al-Assad. Retrieving the documents from the war-torn country has involved a group of Syrians, known as “document hunters,” who have risked their lives to retrieve evidence. CNN’s Jomana Karadsheh reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190528005539-bashar-al-assad-large-169.jpg”,”title”:”Smuggled documents allege Syria committed war crimes”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/05/28/syria-document-hunters-alleged-war-crime-evidence-karadsheh-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/05/28/syria-document-hunters-alleged-war-crime-evidence-karadsheh-pkg-vpx.cnn”,”videoId”:”world/2019/05/28/syria-document-hunters-alleged-war-crime-evidence-karadsheh-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2019/05/28/syria-document-hunters-alleged-war-crime-evidence-karadsheh-pkg-vpx.cnn/video/playlists/top-news-videos/”},{“descriptionPlainText”:”A tweet from the US Army asking veterans to share stories of how serving affected them prompted a slew of gut-wrenching replies, including many first-hand accounts of living with post traumatic stress disorder.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190527104805-us-army-tweet-5-23-19-large-169.jpg”,”title”:”Army tweet prompts painful replies from veterans”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/05/27/army-tweet-replies-lindsay-rodman-sot-newsroom-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/05/27/army-tweet-replies-lindsay-rodman-sot-newsroom-vpx.cnn”,”videoId”:”us/2019/05/27/army-tweet-replies-lindsay-rodman-sot-newsroom-vpx.cnn”,”videoUrl”:”/videos/us/2019/05/27/army-tweet-replies-lindsay-rodman-sot-newsroom-vpx.cnn/video/playlists/top-news-videos/”},{“descriptionPlainText”:”Houston Texans defensive end J.J. Watt announced that he is engaged to Houston Dash soccer player Kealia Ohai.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190527090019-j-j-watt-kealia-ohai-file-large-169.jpg”,”title”:”NFL star J.J. Watt announces engagement”,”videoCMSUrl”:”/video/data/3.0/video/sports/2019/05/27/jj-watt-kealia-ohai-engagement-orig-vstop-bdk.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2019/05/27/jj-watt-kealia-ohai-engagement-orig-vstop-bdk.cnn”,”videoId”:”sports/2019/05/27/jj-watt-kealia-ohai-engagement-orig-vstop-bdk.cnn”,”videoUrl”:”/videos/sports/2019/05/27/jj-watt-kealia-ohai-engagement-orig-vstop-bdk.cnn/video/playlists/top-news-videos/”},{“descriptionPlainText”:”Home Depot employees built a walker for, Logan Moore, a 2-year-old boy with hypotonia, a syndrome that impacts muscle tone and makes stability a struggle.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190526164210-04-home-depot-gives-child-a-walker-trnd-large-169.jpg”,”title”:”Home Depot employees build a walker for little boy”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/05/27/home-depot-employees-build-little-boy-a-walker-earlystart-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/05/27/home-depot-employees-build-little-boy-a-walker-earlystart-vpx.cnn”,”videoId”:”us/2019/05/27/home-depot-employees-build-little-boy-a-walker-earlystart-vpx.cnn”,”videoUrl”:”/videos/us/2019/05/27/home-depot-employees-build-little-boy-a-walker-earlystart-vpx.cnn/video/playlists/top-news-videos/”},{“descriptionPlainText”:”A Utah judge has been suspended for six months over anti-Trump comments he made in court and on social media.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190526091113-judge-michael-kwan-large-169.jpg”,”title”:”Judge suspended over anti-Trump remarks”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/05/26/utah-judge-suspended-anti-trump-remarks-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/05/26/utah-judge-suspended-anti-trump-remarks-vpx.cnn”,”videoId”:”us/2019/05/26/utah-judge-suspended-anti-trump-remarks-vpx.cnn”,”videoUrl”:”/videos/us/2019/05/26/utah-judge-suspended-anti-trump-remarks-vpx.cnn/video/playlists/top-news-videos/”},{“descriptionPlainText”:”President Trump takes a swipe at former Vice President Joe Biden during a press conference with Japanese Prime Minister Shinzo Abe.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190527032831-trump-biden-low-iq-large-169.jpg”,”title”:”Trump: Biden probably is a low-IQ individual”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/05/27/trump-biden-kim-jong-un-low-iq-tweet-abe-presser-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/05/27/trump-biden-kim-jong-un-low-iq-tweet-abe-presser-nr-vpx.cnn”,”videoId”:”politics/2019/05/27/trump-biden-kim-jong-un-low-iq-tweet-abe-presser-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2019/05/27/trump-biden-kim-jong-un-low-iq-tweet-abe-presser-nr-vpx.cnn/video/playlists/top-news-videos/”},{“descriptionPlainText”:”Bart Starr, the Hall of Fame Green Bay Packers quarterback who won the first two Super Bowl titles in the 1960s, died at the age of 85.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190526113737-01-bart-starr-large-169.jpg”,”title”:”Legendary quarterback Bart Starr passes away at 85″,”videoCMSUrl”:”/video/data/3.0/video/us/2019/05/26/bart-starr-packers-quarterback-obit-abc-orig-vstop.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/05/26/bart-starr-packers-quarterback-obit-abc-orig-vstop.cnn”,”videoId”:”us/2019/05/26/bart-starr-packers-quarterback-obit-abc-orig-vstop.cnn”,”videoUrl”:”/videos/us/2019/05/26/bart-starr-packers-quarterback-obit-abc-orig-vstop.cnn/video/playlists/top-news-videos/”},{“descriptionPlainText”:”Art Briles, the former Baylor University football coach who was ousted in May 2016 amid a sexual assault scandal involving some team players, will return to the sidelines this fall as the head coach of a Texas high school football team.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/160526125551-art-briles-file-large-169.jpg”,”title”:”Ex-football coach hired despite sexual assault scandal”,”videoCMSUrl”:”/video/data/3.0/video/sports/2019/05/26/art-briles-baylor-texas-high-school-football-coach-ndwknd-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2019/05/26/art-briles-baylor-texas-high-school-football-coach-ndwknd-vpx.cnn”,”videoId”:”sports/2019/05/26/art-briles-baylor-texas-high-school-football-coach-ndwknd-vpx.cnn”,”videoUrl”:”/videos/sports/2019/05/26/art-briles-baylor-texas-high-school-football-coach-ndwknd-vpx.cnn/video/playlists/top-news-videos/”},{“descriptionPlainText”:”A sunny round of golf, double hamburgers for lunch, ringside seats at a sumo wrestling “basho” and a barbeque dinner. Those were the components of Japanese Prime Minister Shinzo Abe’s latest bid to become President Donald Trump’s best global friend. CNN’s Boris Sanchez reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190525234758-21-trump-japan-abe-selfie-large-169.jpg”,”title”:”Japanese leader courts Trump amid North Korea tension”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/05/26/trump-shinzo-abe-tokyo-japan-sumo-match-golf-dinner-sanchez-lkl-ndwknd-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/05/26/trump-shinzo-abe-tokyo-japan-sumo-match-golf-dinner-sanchez-lkl-ndwknd-vpx.cnn”,”videoId”:”politics/2019/05/26/trump-shinzo-abe-tokyo-japan-sumo-match-golf-dinner-sanchez-lkl-ndwknd-vpx.cnn”,”videoUrl”:”/videos/politics/2019/05/26/trump-shinzo-abe-tokyo-japan-sumo-match-golf-dinner-sanchez-lkl-ndwknd-vpx.cnn/video/playlists/top-news-videos/”},{“descriptionPlainText”:”Two people are dead after a possible tornado touched down in El Reno, Oklahoma, according to Canadian County Emergency Management Director Andrew Skidmore. Multiple people were injured as it likely tore through a mobile home park, Fire Chief Kent Lagaly told CNN.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190526042933-oklahoma-possible-tornado-el-reno-kfor-large-169.jpg”,”title”:”Survivor describes storm hitting mobile home”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/05/26/oklahoma-possible-tornado-mobile-home-park-vanier-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/05/26/oklahoma-possible-tornado-mobile-home-park-vanier-nr-vpx.cnn”,”videoId”:”us/2019/05/26/oklahoma-possible-tornado-mobile-home-park-vanier-nr-vpx.cnn”,”videoUrl”:”/videos/us/2019/05/26/oklahoma-possible-tornado-mobile-home-park-vanier-nr-vpx.cnn/video/playlists/top-news-videos/”},{“descriptionPlainText”:”A yoga instructor who went missing for more than two weeks in a Hawaii forest tears up talking about her rescue.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190526061355-maui-hiker-large-169.jpg”,”title”:”Maui hiker in hospital breaks down over rescue “,”videoCMSUrl”:”/video/data/3.0/video/us/2019/05/26/maui-hiker-in-hospital-response-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/05/26/maui-hiker-in-hospital-response-newday-vpx.cnn”,”videoId”:”us/2019/05/26/maui-hiker-in-hospital-response-newday-vpx.cnn”,”videoUrl”:”/videos/us/2019/05/26/maui-hiker-in-hospital-response-newday-vpx.cnn/video/playlists/top-news-videos/”},{“descriptionPlainText”:”A Barron County, Wisconsin, judge had harsh words for Jake Patterson before he sentenced Patterson to two life sentences without the possibility of parole for kidnapping 13-year-old Jayme Closs and killing her parents, James and Denise Closs.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190524171952-judge-patterson-split-large-169.jpg”,”title”:”Judge to Closs’ kidnapper: You are the embodiment of evil”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/05/24/jake-patterson-sentencing-jayme-closs-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/05/24/jake-patterson-sentencing-jayme-closs-sot-vpx.cnn”,”videoId”:”us/2019/05/24/jake-patterson-sentencing-jayme-closs-sot-vpx.cnn”,”videoUrl”:”/videos/us/2019/05/24/jake-patterson-sentencing-jayme-closs-sot-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:”us/2019/05/28/javier-cantellops-hawaii-hiker-rescuer-sot-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-1ca6tzu’,videoDescriptionDivId: ‘js-video_description-1ca6tzu’,videoDurationDivId: ‘js-video_duration-1ca6tzu’,videoTitleDivId: ‘js-leaf-video_headline-1ca6tzu’,videoSourceDivId: ‘js-video_sourceName-1ca6tzu’});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(‘

Views: 504