Anderson Cooper returns to Orlando’s Pulse

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘tv/2017/06/28/pulse-orlando-terror-at-the-nightclub-ron-1.cnn’,width: ‘100%’,height: ‘100%’,section: ‘international’,profile: ‘expansion’,network: ‘cnn’,markupId: ‘large-media_0’,adsection: ‘const-video-leaf’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: {“mini”:{“height”:124,”width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/170628133540-pulse-orlando-terror-at-the-nightclub-ron-1-00000422-small-169.jpg”},”xsmall”:{“height”:173,”width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/170628133540-pulse-orlando-terror-at-the-nightclub-ron-1-00000422-medium-plus-169.jpg”},”small”:{“height”:259,”width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/170628133540-pulse-orlando-terror-at-the-nightclub-ron-1-00000422-large-169.jpg”},”medium”:{“height”:438,”width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/170628133540-pulse-orlando-terror-at-the-nightclub-ron-1-00000422-exlarge-169.jpg”},”large”:{“height”:619,”width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/170628133540-pulse-orlando-terror-at-the-nightclub-ron-1-00000422-super-169.jpg”},”full16x9″:{“height”:900,”width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/170628133540-pulse-orlando-terror-at-the-nightclub-ron-1-00000422-full-169.jpg”},”mini1x1″:{“height”:120,”width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/170628133540-pulse-orlando-terror-at-the-nightclub-ron-1-00000422-small-11.jpg”}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Anderson Cooper returns to the Pulse nightclub with owner Barbara Poma. Follow the journeys of those touched by the tragedy and watch the CNN Special Report “The Pulse of Orlando: Terror at the Nightclub” Friday at 10 p.m. ET.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170628133540-pulse-orlando-terror-at-the-nightclub-ron-1-00000422-large-169.jpg”,”title”:”Anderson Cooper returns to Orlando’s Pulse”,”videoCMSUrl”:”/videos/tv/2017/06/28/pulse-orlando-terror-at-the-nightclub-ron-1.cnn”,”videoLeafUrl”:”/videos/tv/2017/06/28/pulse-orlando-terror-at-the-nightclub-ron-1.cnn”,”videoId”:”tv/2017/06/28/pulse-orlando-terror-at-the-nightclub-ron-1.cnn”,”videoUrl”:”/videos/tv/2017/06/28/pulse-orlando-terror-at-the-nightclub-ron-1.cnn”},{“descriptionPlainText”:”The meeting was on. Then it was off. Then it was on again. Here’s a look at the crazy weeks that brought Donald Trump and Kim Jong Un together.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180607121237-20180607-trump-kim-jong-un-singapore-flag-large-169.jpg”,”title”:”Singapore summit: How did we get here?”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/06/09/singapore-summit-donald-trump-kim-jong-un-lon-orig-bks.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/06/09/singapore-summit-donald-trump-kim-jong-un-lon-orig-bks.cnn”,”videoId”:”world/2018/06/09/singapore-summit-donald-trump-kim-jong-un-lon-orig-bks.cnn”,”videoUrl”:”/videos/world/2018/06/09/singapore-summit-donald-trump-kim-jong-un-lon-orig-bks.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”See the dramatic rescue of South Korean Joohee Han, who survived six days in the Australian wilderness after a hiking accident.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180608122352-aus-rescue-2-large-169.jpg”,”title”:”Dramatic rescue of woman after days missing in Australia”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/06/08/australia-hiker-rescue-mxb-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/06/08/australia-hiker-rescue-mxb-lon-orig.cnn”,”videoId”:”world/2018/06/08/australia-hiker-rescue-mxb-lon-orig.cnn”,”videoUrl”:”/videos/world/2018/06/08/australia-hiker-rescue-mxb-lon-orig.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”A bizarre fashion show in a Saudi Arabia’s luxury hotel has become a viral sensation on social media for featuring drones flying fashion dresses on the runway.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180607132021-02-saudi-arabia-drone-fashion-show-crop-large-169.jpg”,”title”:”Drones on runway in Saudi fashion show”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/06/07/saudi-arabia-fashion-show-drones-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/06/07/saudi-arabia-fashion-show-drones-lon-orig.cnn”,”videoId”:”world/2018/06/07/saudi-arabia-fashion-show-drones-lon-orig.cnn”,”videoUrl”:”/videos/world/2018/06/07/saudi-arabia-fashion-show-drones-lon-orig.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”Five unusual-looking concrete houses will be constructed using a 3D printer in Eindhoven, the Netherlands.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180606155458-3d-houses-netherlands-3-large-169.jpg”,”title”:”Watch these 3D-printed homes being built”,”videoCMSUrl”:”/video/data/3.0/video/architecture/2018/06/06/3d-printed-houses-netherlands-sje-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/architecture/2018/06/06/3d-printed-houses-netherlands-sje-lon-orig.cnn”,”videoId”:”architecture/2018/06/06/3d-printed-houses-netherlands-sje-lon-orig.cnn”,”videoUrl”:”/videos/architecture/2018/06/06/3d-printed-houses-netherlands-sje-lon-orig.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”Filipino President Rodrigo Duterte was accused of misogynistic behavior when he kissed a woman he had invited on stage at an event in Seoul, South Korea.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180604145742-duterte-kiss1-large-169.jpg”,”title”:”Duterte’s ‘misogynist’ kiss sparks anger”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/06/04/duterte-kiss-jba-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/06/04/duterte-kiss-jba-lon-orig.cnn”,”videoId”:”world/2018/06/04/duterte-kiss-jba-lon-orig.cnn”,”videoUrl”:”/videos/world/2018/06/04/duterte-kiss-jba-lon-orig.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”Lava and ash from Guatemala’s Fuego volcano has killed dozens of people and sparked the evacuation of thousands.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180604104607-guatemala-volcano-restricted-large-169.jpg”,”title”:”Deadly Guatemala volcano covers villages in ash”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/06/04/guatemala-volcano-fuego-sje-london-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/06/04/guatemala-volcano-fuego-sje-london-orig.cnn”,”videoId”:”world/2018/06/04/guatemala-volcano-fuego-sje-london-orig.cnn”,”videoUrl”:”/videos/world/2018/06/04/guatemala-volcano-fuego-sje-london-orig.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”A huge flash was seen in surveillance videos that captured an asteroid breaking up on its way to Earth.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180610041810-asteroid-southern-africa-sje-lon-orig-00001220-large-169.jpg”,”title”:”Asteroid lights up sky as it breaks up over Earth”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/06/05/asteroid-southern-africa-sje-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/06/05/asteroid-southern-africa-sje-lon-orig.cnn”,”videoId”:”world/2018/06/05/asteroid-southern-africa-sje-lon-orig.cnn”,”videoUrl”:”/videos/world/2018/06/05/asteroid-southern-africa-sje-lon-orig.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”Video shows 22-year-old Mamoudou Gassama climbing up an apartment building in just seconds to rescue a child dangling from a balcony.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180528041130-paris-balcony-rescue-vignette-large-169.jpg”,”title”:”Moment man climbs building to save child”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/05/28/paris-balcony-rescue-lon-orig-td.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/05/28/paris-balcony-rescue-lon-orig-td.cnn”,”videoId”:”world/2018/05/28/paris-balcony-rescue-lon-orig-td.cnn”,”videoUrl”:”/videos/world/2018/05/28/paris-balcony-rescue-lon-orig-td.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”A state of emergency was declared in Howard County, as a massive storm drenched the Baltimore region, triggering flash floods in Ellicott City and leaving one person missing.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180527195119-02-flash-floods-maryland-large-169.jpg”,”title”:”Flash floods ravage Ellicott City”,”videoCMSUrl”:”/video/data/3.0/video/us/2018/05/28/baltimore-flash-floods-ellicott-city-lon-orig-bks.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2018/05/28/baltimore-flash-floods-ellicott-city-lon-orig-bks.cnn”,”videoId”:”us/2018/05/28/baltimore-flash-floods-ellicott-city-lon-orig-bks.cnn”,”videoUrl”:”/videos/us/2018/05/28/baltimore-flash-floods-ellicott-city-lon-orig-bks.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”On May 24, US President Donald Trump canceled what would have been a historic summit with North Korean leader Kim Jong Un. CNN’s Christiane Amanpour looks at where the relationship between the two countries goes from here.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180309115433-01-trump-kim-jong-un-split-large-169.jpg”,”title”:”US-North Korea: Where do we go from here? “,”videoCMSUrl”:”/video/data/3.0/video/world/2018/05/25/north-korea-us-amanpour-lon-orig-bks.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/05/25/north-korea-us-amanpour-lon-orig-bks.cnn”,”videoId”:”world/2018/05/25/north-korea-us-amanpour-lon-orig-bks.cnn”,”videoUrl”:”/videos/world/2018/05/25/north-korea-us-amanpour-lon-orig-bks.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”North Korea appeared to destroy at least three nuclear tunnels and several buildings at its Punggye-ri nuclear test site on May 24.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180524200539-01-north-korea-test-site-demolition-large-169.jpg”,”title”:”See North Korea’s nuclear tunnels go up in smoke”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/05/25/north-korea-nuclear-tunnel-explosion-jba-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/05/25/north-korea-nuclear-tunnel-explosion-jba-lon-orig.cnn”,”videoId”:”world/2018/05/25/north-korea-nuclear-tunnel-explosion-jba-lon-orig.cnn”,”videoUrl”:”/videos/world/2018/05/25/north-korea-nuclear-tunnel-explosion-jba-lon-orig.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”Prince Harry and Meghan Markle’s first public appearance since their wedding was interrupted by a pesky bee.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180523100313-prince-harry-bee-encounter-1-large-169.jpg”,”title”:”Meghan laughs off Harry’s bee encounter”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/05/23/prince-harry-bee-attack-orig-vstan-bdk.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/05/23/prince-harry-bee-attack-orig-vstan-bdk.cnn”,”videoId”:”world/2018/05/23/prince-harry-bee-attack-orig-vstan-bdk.cnn”,”videoUrl”:”/videos/world/2018/05/23/prince-harry-bee-attack-orig-vstan-bdk.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”Royalty, actors, athletes, fashionistas … Watch Prince Harry and Meghan Markle’s wedding guests roll up on the big day.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180519155427-celebrity-guest-split-3-large-169.jpg”,”title”:”Famous royal wedding guests: Who was there”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/05/19/celebrity-guests-royal-wedding-sje-lm-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/05/19/celebrity-guests-royal-wedding-sje-lm-lon-orig.cnn”,”videoId”:”world/2018/05/19/celebrity-guests-royal-wedding-sje-lm-lon-orig.cnn”,”videoUrl”:”/videos/world/2018/05/19/celebrity-guests-royal-wedding-sje-lm-lon-orig.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”Crowds of royal fans from around the world flocked to the town of Windsor on the day of Prince Harry and Meghan Markle’s wedding.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180519125130-royal-wedding-love-and-laughter-windsor-lon-orig-00013129-large-169.jpg”,”title”:”Love & laughter at the royal wedding”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/05/19/royal-wedding-love-and-laughter-windsor-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/05/19/royal-wedding-love-and-laughter-windsor-lon-orig.cnn”,”videoId”:”world/2018/05/19/royal-wedding-love-and-laughter-windsor-lon-orig.cnn”,”videoUrl”:”/videos/world/2018/05/19/royal-wedding-love-and-laughter-windsor-lon-orig.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”In just a few short months, the North Korean leader has gone from launching missiles to meeting world leaders. But will he ever really give up his nuclear arsenal?”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180426160428-north-korea-kim-jong-un-video-large-169.jpg”,”title”:”Will Kim Jong Un ever give up his nukes?”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/04/26/will-kim-jong-un-give-up-nuclear-weapons-bgk-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/04/26/will-kim-jong-un-give-up-nuclear-weapons-bgk-lon-orig.cnn”,”videoId”:”world/2018/04/26/will-kim-jong-un-give-up-nuclear-weapons-bgk-lon-orig.cnn”,”videoUrl”:”/videos/world/2018/04/26/will-kim-jong-un-give-up-nuclear-weapons-bgk-lon-orig.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”More than 100 Palestinians have been killed since the latest round of protests began.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180514164714-03-gaza-protests-unfurled-large-169.jpg”,”title”:”What sparked the latest Palestinian protests?”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/05/15/palestinian-protests-timeline-lon-orig-mkd.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/05/15/palestinian-protests-timeline-lon-orig-mkd.cnn”,”videoId”:”world/2018/05/15/palestinian-protests-timeline-lon-orig-mkd.cnn”,”videoUrl”:”/videos/world/2018/05/15/palestinian-protests-timeline-lon-orig-mkd.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”Find out why this small strip of land has been through so many conflicts and political upheavals since the end of World War II.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180515200030-gaza-protest-thumbnail-large-169.jpg”,”title”:”The history of Gaza in 2 minutes”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/05/15/history-of-gaza-sje-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/05/15/history-of-gaza-sje-lon-orig.cnn”,”videoId”:”world/2018/05/15/history-of-gaza-sje-lon-orig.cnn”,”videoUrl”:”/videos/world/2018/05/15/history-of-gaza-sje-lon-orig.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”92-year-old Malaysian politician Mahathir Mohamad has become the world’s oldest leader, after a shock victory in the country’s election.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180510102217-01-mahathir-mohamad-0510-large-169.jpg”,”title”:”Mahathir Mohamad: The world’s oldest leader”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/05/11/malaysia-mahathir-mohamad-prime-minister-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/05/11/malaysia-mahathir-mohamad-prime-minister-lon-orig.cnn”,”videoId”:”world/2018/05/11/malaysia-mahathir-mohamad-prime-minister-lon-orig.cnn”,”videoUrl”:”/videos/world/2018/05/11/malaysia-mahathir-mohamad-prime-minister-lon-orig.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”CNN’s Fred Pleitgen explains how the average Iranian citizen could face skyrocketing prices as the US withdraws from the Iran deal.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180509163630-iran-citizens-large-169.jpg”,”title”:”How will US pulling out of deal impact Iranians?”,”videoCMSUrl”:”/video/data/3.0/video/cnnmoney/2018/05/09/us-iran-deal-impact-people-economy-sje-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/cnnmoney/2018/05/09/us-iran-deal-impact-people-economy-sje-lon-orig.cnn”,”videoId”:”cnnmoney/2018/05/09/us-iran-deal-impact-people-economy-sje-lon-orig.cnn”,”videoUrl”:”/videos/cnnmoney/2018/05/09/us-iran-deal-impact-people-economy-sje-lon-orig.cnn/video/playlists/trending-video/”},{“descriptionPlainText”:”China’s first domestically built aircraft carrier has begun sea trials, a historic step in the country’s mission to build a “world class” navy.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180514081520-01-china-aircraft-carrier-large-169.jpg”,”title”:”China’s second aircraft carrier sets sail”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/05/14/new-china-aircraft-carrier-lon-orig-jba.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2018/05/14/new-china-aircraft-carrier-lon-orig-jba.cnn”,”videoId”:”world/2018/05/14/new-china-aircraft-carrier-lon-orig-jba.cnn”,”videoUrl”:”/videos/world/2018/05/14/new-china-aircraft-carrier-lon-orig-jba.cnn/video/playlists/trending-video/”}],currentVideoCollectionId = ”,isLivePlayer = false,mediaMetadataCallbacks,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 = 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:”tv/2017/06/28/pulse-orlando-terror-at-the-nightclub-ron-1.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-1k3jh96’,videoDescriptionDivId: ‘js-video_description-1k3jh96’,videoDurationDivId: ‘js-video_duration-1k3jh96’,videoTitleDivId: ‘js-leaf-video_headline-1k3jh96’,videoSourceDivId: ‘js-video_sourceName-1k3jh96’});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(‘

Source link

Leave a Reply

Your email address will not be published. Required fields are marked *