CNN tours base migrants stayed at before heading to US

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘world/2021/09/21/haiti-migrants-united-states-journey-rivers-pkg.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/210921141537-haiti-migrants-united-states-journey-rivers-pkg-00003008-small-169.png”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210921141537-haiti-migrants-united-states-journey-rivers-pkg-00003008-medium-plus-169.png”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210921141537-haiti-migrants-united-states-journey-rivers-pkg-00003008-large-169.png”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210921141537-haiti-migrants-united-states-journey-rivers-pkg-00003008-exlarge-169.png”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210921141537-haiti-migrants-united-states-journey-rivers-pkg-00003008-super-169.png”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210921141537-haiti-migrants-united-states-journey-rivers-pkg-00003008-full-169.png”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210921141537-haiti-migrants-united-states-journey-rivers-pkg-00003008-small-11.png”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”CNN’s Matt Rivers travels to southern Mexico where thousands of Haitian migrants are entering the country as part of their risky journey to the US.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210921141537-haiti-migrants-united-states-journey-rivers-pkg-00003008-large-169.png”,”title”:”Hundreds of Haitian migrants pass through Mexico in bid to reach US”,”videoCMSUrl”:”/videos/world/2021/09/21/haiti-migrants-united-states-journey-rivers-pkg.cnn”,”videoLeafUrl”:”/videos/world/2021/09/21/haiti-migrants-united-states-journey-rivers-pkg.cnn”,”videoId”:”world/2021/09/21/haiti-migrants-united-states-journey-rivers-pkg.cnn”,”videoUrl”:”/videos/world/2021/09/21/haiti-migrants-united-states-journey-rivers-pkg.cnn”,”surrogateKey”:”video_753B4211-D501-A2ED-FC97-085FC58CE45F”},{“descriptionPlainText”:”A Taliban commander goes on a public relations offensive as he walks the busy streets of Kabul’s financial district. CNN’s Nic Robertson reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210920184053-taliban-robertson-pkg-large-169.jpg”,”title”:”CNN follows Taliban leader as he patrols busy streets. See how people are feeling”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/09/20/taliban-leader-kabul-robertson-pkg-vpx-lead.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/09/20/taliban-leader-kabul-robertson-pkg-vpx-lead.cnn”,”videoId”:”world/2021/09/20/taliban-leader-kabul-robertson-pkg-vpx-lead.cnn”,”videoUrl”:”/videos/world/2021/09/20/taliban-leader-kabul-robertson-pkg-vpx-lead.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_6FAF7E98-6673-9A2F-1741-054F7943A01B”},{“descriptionPlainText”:”China is forcefully sending away a large number of Burmese migrant workers in the border city of Ruili as part of its draconian Covid-19 containment measures. Many are fearful to return to a country that’s facing a worsening coronavirus situation and an ongoing civil war. CNN’s Paula Hancocks speaks to several Burmese migrant workers about their desperation.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210920180833-screengrab-burmese-migrants-large-169.jpg”,”title”:”Video shows precarious situation on China’s border with Myanmar”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/09/20/china-burmese-migrants-covid-hancocks-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/09/20/china-burmese-migrants-covid-hancocks-pkg-intl-hnk-vpx.cnn”,”videoId”:”world/2021/09/20/china-burmese-migrants-covid-hancocks-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/09/20/china-burmese-migrants-covid-hancocks-pkg-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_40C18BB2-E1A0-299B-E394-029F9996B109″},{“descriptionPlainText”:”French President Emmanuel Macron and President Joe Biden will hold a phone call in the next few days “to move forward” following the fallout from the announcement of the AUKUS deal according to a French government spokesperson. CNN’s Jim Bittermann reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210920163508-screengrab-biden-macron-large-169.jpg”,”title”:”France and US try to move forward after fallout from AUKUS”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/09/20/france-aukus-australia-us-bittermann-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/09/20/france-aukus-australia-us-bittermann-intl-hnk-vpx.cnn”,”videoId”:”world/2021/09/20/france-aukus-australia-us-bittermann-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/09/20/france-aukus-australia-us-bittermann-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_7A1E914E-4E75-D28A-09CA-025181F65926″},{“descriptionPlainText”:”The Cumbre Vieja volcano in the Spanish Canary Island of La Palma erupted after over 25,000 earthquakes had been detected in the past nine days in the area.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210919141807-spain-volcano-erupt-canary-island-mss-orig-00000014-large-169.png”,”title”:”Watch lava shoot from Spanish volcano”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/09/19/spain-volcano-erupt-canary-island-mss-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/09/19/spain-volcano-erupt-canary-island-mss-orig.cnn”,”videoId”:”world/2021/09/19/spain-volcano-erupt-canary-island-mss-orig.cnn”,”videoUrl”:”/videos/world/2021/09/19/spain-volcano-erupt-canary-island-mss-orig.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_E6F0EC85-A370-D5BE-4861-FF1C5110A035″},{“descriptionPlainText”:”CNN’s Nic Robertson goes to the site of the drone strike that killed 10 civilians, 7 of them children, in Afghanistan to speak to the family of the victims.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210919091413-screengrab-robertson-us-drone-strike-afghanistan-02-large-169.jpg”,”title”:”CNN visits the site of botched US drone strike in Afghanistan”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/09/19/afghanistan-drone-strike-civilians-killed-robertson-ndwknd-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/09/19/afghanistan-drone-strike-civilians-killed-robertson-ndwknd-vpx.cnn”,”videoId”:”world/2021/09/19/afghanistan-drone-strike-civilians-killed-robertson-ndwknd-vpx.cnn”,”videoUrl”:”/videos/world/2021/09/19/afghanistan-drone-strike-civilians-killed-robertson-ndwknd-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_1F3518A7-7A8D-141C-58F8-FE2AC4A0BEA8″},{“descriptionPlainText”:”CNN’s Phil Black speaks to one of 600 Afghans stranded in the northern city of Mazar I Sharif. All have worked closely with the US over the past decade but were not able to escape Afghanistan when the Taliban took over.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210918081935-afghans-stranded-taliban-black-pkg-vpx-00000322-large-169.png”,”title”:”‘They should not forget us’: Afghan who worked closely with US now stranded”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/09/18/afghans-stranded-taliban-black-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/09/18/afghans-stranded-taliban-black-pkg-vpx.cnn”,”videoId”:”world/2021/09/18/afghans-stranded-taliban-black-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2021/09/18/afghans-stranded-taliban-black-pkg-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_84E8742B-A05D-7D6F-0A7D-F8CAEC575D7A”},{“descriptionPlainText”:”Former Defense Secretary William Cohen reacts to the admission from the US military that it targeted the wrong vehicle in a drone strike in Kabul and killed 10 civilians.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210917183758-william-cohen-tsr-vpx-large-169.jpg”,”title”:”‘I’d be looking for revenge’: Former defense secretary on family killed in drone strike”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/09/17/kabul-drone-strike-family-killed-william-cohen-reax-tsr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/09/17/kabul-drone-strike-family-killed-william-cohen-reax-tsr-vpx.cnn”,”videoId”:”politics/2021/09/17/kabul-drone-strike-family-killed-william-cohen-reax-tsr-vpx.cnn”,”videoUrl”:”/videos/politics/2021/09/17/kabul-drone-strike-family-killed-william-cohen-reax-tsr-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_CC577624-9AF2-9DBB-BB67-F5F6887E24F2″},{“descriptionPlainText”:”New satellite images obtained by CNN reveal North Korea is expanding a key facility capable of enriching uranium for nuclear weapons, renovations that likely indicate the country plans to significantly ramp-up production at this once-dormant site in the near future, according to experts who analyzed the photos. CNN’s Alex Marquardt reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210915140651-nk-satellite-photos-yongbyon-expansion-large-169.jpg”,”title”:”Images show North Korea expanding facility used to make weapons-grade uranium”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/09/16/north-korea-facility-satellite-images-marquardt-intl-tsr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/09/16/north-korea-facility-satellite-images-marquardt-intl-tsr-vpx.cnn”,”videoId”:”world/2021/09/16/north-korea-facility-satellite-images-marquardt-intl-tsr-vpx.cnn”,”videoUrl”:”/videos/world/2021/09/16/north-korea-facility-satellite-images-marquardt-intl-tsr-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_44E63C77-1A61-5669-11D7-F0B6E93E00A1″},{“descriptionPlainText”:”The Antarctic ozone hole, which forms every year over the South Pole between August and October, is now larger than Antarctica, according to scientists from the European Union’s Copernicus Atmosphere Monitoring Service.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210916191506-ozone-layer-animation-video-thumbnail-large-169.jpg”,”title”:”3D animation shows giant hole forming in ozone”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/09/16/ozone-layer-hole-antarctica-lon-orig-na.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/09/16/ozone-layer-hole-antarctica-lon-orig-na.cnn”,”videoId”:”world/2021/09/16/ozone-layer-hole-antarctica-lon-orig-na.cnn”,”videoUrl”:”/videos/world/2021/09/16/ozone-layer-hole-antarctica-lon-orig-na.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_65D6514B-71D8-372E-A0D5-EFCE6F81EF5C”},{“descriptionPlainText”:”French forces have killed Adnan Abou Walid al Sahraoui, leader of the Islamic State in the Greater Sahara (ISIS-GS), in a drone strike, the French government announced.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181110121900-01-emmanuel-macron-file-1110-large-169.jpg”,”title”:”Macron claims ‘major success’ after French forces kill ISIS chief in Sahara”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/09/16/france-drone-strike-kills-isis-leader-ctw-intl-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/09/16/france-drone-strike-kills-isis-leader-ctw-intl-vpx.cnn”,”videoId”:”world/2021/09/16/france-drone-strike-kills-isis-leader-ctw-intl-vpx.cnn”,”videoUrl”:”/videos/world/2021/09/16/france-drone-strike-kills-isis-leader-ctw-intl-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_86FFFC8B-DDA4-2011-2FB9-EF29808E9390″},{“descriptionPlainText”:”In an exclusive interview, Japanese Defense Minister Nobuo Kishi speaks to CNN’s Blake Essig about the biggest security concerns the country faces.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210914221958-04-senkaku-islands-kishi-interview-large-169.jpg”,”title”:”Japan’s defense minister on threat that keeps him up at night”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/09/16/japan-defense-minister-interview-essig-pkg-intl-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/09/16/japan-defense-minister-interview-essig-pkg-intl-vpx.cnn”,”videoId”:”world/2021/09/16/japan-defense-minister-interview-essig-pkg-intl-vpx.cnn”,”videoUrl”:”/videos/world/2021/09/16/japan-defense-minister-interview-essig-pkg-intl-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_56C6E865-1691-4B6E-C898-EC7E44B7A00E”},{“descriptionPlainText”:”CNN’s Becky Anderson sits down with Pakistan’s Prime Minister Imran Khan to discuss the situation in Afghanistan and how the international community should engage with the Taliban.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210915141906-imran-khan-pakistan-ctw-interview-large-169.jpg”,”title”:”‘It could go to chaos’: Hear Pakistani PM’s concern about Afghanistan”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/09/15/pakistan-imran-khan-afghanistan-china-exclusive-anderson-ctw-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/09/15/pakistan-imran-khan-afghanistan-china-exclusive-anderson-ctw-intl-ldn-vpx.cnn”,”videoId”:”world/2021/09/15/pakistan-imran-khan-afghanistan-china-exclusive-anderson-ctw-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/09/15/pakistan-imran-khan-afghanistan-china-exclusive-anderson-ctw-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_F180520E-2528-82C1-3800-E98F882FB128″},{“descriptionPlainText”:”North Korea fired two unidentified ballistic missiles into waters off the east coast of the Korean Peninsula on Wednesday, according to South Korea’s Joint Chiefs of Staff. CNN’s Paula Hancocks reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210915065248-south-korea-missile-test-large-169.jpg”,”title”:”South Korea tests missiles in response to North Korea’s launch”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/09/15/north-korea-ballistic-missiles-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/09/15/north-korea-ballistic-missiles-intl-hnk-vpx.cnn”,”videoId”:”world/2021/09/15/north-korea-ballistic-missiles-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/09/15/north-korea-ballistic-missiles-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_8CD3E273-7536-72FB-E900-E84A2E24FD32″},{“descriptionPlainText”:”CNN’s Alex Marquardt gives an update on the Afghan military pilots trying to make their way to the United States, after they fled Afghanistan in advance of the Taliban.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210914125800-afghan-pilots-blurred-large-169.jpg”,”title”:”Stranded Afghan military pilots on the move toward freedom”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/09/14/afghanistan-military-pilots-update-marquardt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/09/14/afghanistan-military-pilots-update-marquardt-vpx.cnn”,”videoId”:”world/2021/09/14/afghanistan-military-pilots-update-marquardt-vpx.cnn”,”videoUrl”:”/videos/world/2021/09/14/afghanistan-military-pilots-update-marquardt-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_E06DE5AC-C970-1A46-DD2D-E5210DC72849″},{“descriptionPlainText”:”CNN’s Brian Todd reports on the latest photos from North Korean media showing Kim Jong Un’s forces test firing new long-range cruise missiles that analysts believe is the North Korean leader’s latest attempt to get the Biden administration’s attention.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210908232652-03-north-korea-military-parade-0909-large-169.jpg”,”title”:”Photos show North Korea testing missiles as Kim Jong Un re-emerges thinner”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/09/13/north-korea-kim-jong-un-cruise-missiles-dnt-tsr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/09/13/north-korea-kim-jong-un-cruise-missiles-dnt-tsr-vpx.cnn”,”videoId”:”world/2021/09/13/north-korea-kim-jong-un-cruise-missiles-dnt-tsr-vpx.cnn”,”videoUrl”:”/videos/world/2021/09/13/north-korea-kim-jong-un-cruise-missiles-dnt-tsr-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_8405D8B9-7032-D864-B74C-E18D94CD5E4A”}],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:”world/2021/09/21/haiti-migrants-united-states-journey-rivers-pkg.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-1g4q71f’,videoDescriptionDivId: ‘js-video_description-1g4q71f’,videoDurationDivId: ‘js-video_duration-1g4q71f’,videoTitleDivId: ‘js-leaf-video_headline-1g4q71f’,videoSourceDivId: ‘js-video_sourceName-1g4q71f’});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