‘Chance to survive’: Hear Zelensky’s offer to Russian troops

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘world/2022/03/14/zelensky-message-russian-troops-ukraine-intl-ovn-sot-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/220315010731-zelensky-ukraine-message-0314-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220315010731-zelensky-ukraine-message-0314-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220315010731-zelensky-ukraine-message-0314-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220315010731-zelensky-ukraine-message-0314-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220315010731-zelensky-ukraine-message-0314-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220315010731-zelensky-ukraine-message-0314-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220315010731-zelensky-ukraine-message-0314-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”In a video message uploaded to Telegram, Ukrainian President Volodymyr Zelensky spoke directly to Russian soldiers, offering them a “chance to survive” should they surrender to Ukrainian forces.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220315010731-zelensky-ukraine-message-0314-large-169.jpg”,”title”:”‘Chance to survive’: Hear Zelensky’s offer to Russian troops”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/03/14/zelensky-message-russian-troops-ukraine-intl-ovn-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/03/14/zelensky-message-russian-troops-ukraine-intl-ovn-sot-vpx.cnn”,”videoId”:”world/2022/03/14/zelensky-message-russian-troops-ukraine-intl-ovn-sot-vpx.cnn”,”videoUrl”:”/videos/world/2022/03/14/zelensky-message-russian-troops-ukraine-intl-ovn-sot-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_E9239FB5-39A3-5031-8B3A-8AB362D4A686″},{“descriptionPlainText”:”Beneath the embattled city of Kyiv, babies born to foreign parents via surrogate shelter in a basement, waiting for their parents to come pick them up. CNN’s Sam Kiley reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220314195624-surrogate-babies-kiley-pkg-large-169.jpeg”,”title”:”Dozens of surrogate-born babies awaiting pickup from shelter in Kyiv”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/03/14/ukraine-surrogate-babies-kiley-pkg-ebof-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/03/14/ukraine-surrogate-babies-kiley-pkg-ebof-vpx.cnn”,”videoId”:”world/2022/03/14/ukraine-surrogate-babies-kiley-pkg-ebof-vpx.cnn”,”videoUrl”:”/videos/world/2022/03/14/ukraine-surrogate-babies-kiley-pkg-ebof-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_E9239FB5-39A3-5031-8B3A-8AB362D4A686″},{“descriptionPlainText”:”Finland President Sauli Niinistö speaks to CNN’s Christiane Amanpour about his talks with Russian President Vladimir Putin and what Putin said that he wants.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220314200224-finland-president-sauli-niinisto-putin-talk-amanpour-large-169.jpg”,”title”:”Finnish President: Putin’s goal in Ukraine is not regime change”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/03/14/finland-president-sauli-niinisto-putin-talk-amanpour-intv-intl-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/03/14/finland-president-sauli-niinisto-putin-talk-amanpour-intv-intl-vpx.cnn”,”videoId”:”world/2022/03/14/finland-president-sauli-niinisto-putin-talk-amanpour-intv-intl-vpx.cnn”,”videoUrl”:”/videos/world/2022/03/14/finland-president-sauli-niinisto-putin-talk-amanpour-intv-intl-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_055BF581-0DAC-DE59-2B7B-8ABCDF23A55E”},{“descriptionPlainText”:”Maria Ovsyannikova, an employee at one of Russia’s major state television networks, interrupted a live broadcast to protest the Russian invasion of Ukraine. CNN’s Nina Dos Santos reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220314162419-protester-large-169.jpeg”,”title”:”Hear why employee crashed set during live Russian broadcast”,”videoCMSUrl”:”/video/data/3.0/video/media/2022/03/14/protester-sign-interrupt-russia-tv-anchor-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2022/03/14/protester-sign-interrupt-russia-tv-anchor-vpx.cnn”,”videoId”:”media/2022/03/14/protester-sign-interrupt-russia-tv-anchor-vpx.cnn”,”videoUrl”:”/videos/media/2022/03/14/protester-sign-interrupt-russia-tv-anchor-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_034FFB08-F718-CEEA-4C0E-8AD7CD81AF7B”},{“descriptionPlainText”:”A top steel company that employed nearly 40,000 people in Mariupol, Ukraine, was hit by shelling, forcing thousands of employees to live in bomb shelters, Metinvest CEO Yuriy Ryzhenko says. The plants can emit hazardous materials if they’re hit by bombs while operating, forcing the company to strategize and decrease operations.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220314154508-metinvest-ceo-yuriy-ryzhenko-large-169.jpg”,”title”:”Ukraine steel plant at risk of emitting hazardous material if hit by bombs”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/03/14/mining-steelmaker-bomb-hazard-russia-ukraine-invasion-qmb-vpx.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2022/03/14/mining-steelmaker-bomb-hazard-russia-ukraine-invasion-qmb-vpx.cnnbusiness”,”videoId”:”business/2022/03/14/mining-steelmaker-bomb-hazard-russia-ukraine-invasion-qmb-vpx.cnnbusiness”,”videoUrl”:”/videos/business/2022/03/14/mining-steelmaker-bomb-hazard-russia-ukraine-invasion-qmb-vpx.cnnbusiness/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_115A7DE7-C49A-5C5C-44CA-8A1C4FB47FF0″},{“descriptionPlainText”:”CNN’s Phil Black reports on the separate outcomes of two pregnant Ukrainian women whose images circulated widely following the Mariupol maternity hospital bombing.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220309225230-03-mariupol-ukraine-030922-large-169.jpg”,”title”:”Pregnant woman and her baby die after maternity hospital bombing, Ukraine officials say”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/03/14/pregnant-women-mariupol-maternity-hospital-bombing-ukraine-ctw-intl-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/03/14/pregnant-women-mariupol-maternity-hospital-bombing-ukraine-ctw-intl-vpx.cnn”,”videoId”:”world/2022/03/14/pregnant-women-mariupol-maternity-hospital-bombing-ukraine-ctw-intl-vpx.cnn”,”videoUrl”:”/videos/world/2022/03/14/pregnant-women-mariupol-maternity-hospital-bombing-ukraine-ctw-intl-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_8ECA2A3C-6C34-CCC9-FE08-8A4C6989183A”},{“descriptionPlainText”:”Residents from countries around the world are joining the fight in Ukraine, taking up arms for a country that is not theirs. CNN’s Jim Sciutto talks to some of these volunteers, including some US veterans, who are willing to sacrifice their lives for the people of Ukraine.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220314114248-ukraine-volunteer-army-vpx-large-169.jpeg”,”title”:”Hear why this US Marine is willing to die for Ukraine”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/03/14/ukraine-army-foreign-volunteers-sciutto-newsroom-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/03/14/ukraine-army-foreign-volunteers-sciutto-newsroom-vpx.cnn”,”videoId”:”world/2022/03/14/ukraine-army-foreign-volunteers-sciutto-newsroom-vpx.cnn”,”videoUrl”:”/videos/world/2022/03/14/ukraine-army-foreign-volunteers-sciutto-newsroom-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_AF8DF56C-79A1-75F6-A140-89735BFEC755″},{“descriptionPlainText”:”in Kyiv there has been nonstop fighting including a shelling that killed at least one person and left many others injured at a residential apartment building. CNN’s Clarissa Ward has the details.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220314121731-kyiv-apartmetnt-correct-source-large-169.jpg”,”title”:”At least one person killed and several others injured in Kyiv apartment building attack”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/03/14/kyiv-apartment-building-shelling-ward-ctw-intl-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/03/14/kyiv-apartment-building-shelling-ward-ctw-intl-vpx.cnn”,”videoId”:”world/2022/03/14/kyiv-apartment-building-shelling-ward-ctw-intl-vpx.cnn”,”videoUrl”:”/videos/world/2022/03/14/kyiv-apartment-building-shelling-ward-ctw-intl-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_779E060C-B19C-F330-1ADA-88B3F4BA614F”},{“descriptionPlainText”:”CNN political and national security analyst David Sanger discusses new reporting that suggests Russia has asked China for military and economic assistance for its invasion of Ukraine, according to conversations CNN had with two US officials.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220314043827-david-sanger-ukraine-map-new-day-03142022-large-169.jpg”,”title”:”CNN national security analyst: This intel is ’embarrassing for Putin'”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/03/14/us-intelligence-russia-requests-china-military-assistance-ukraine-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/03/14/us-intelligence-russia-requests-china-military-assistance-ukraine-newday-vpx.cnn”,”videoId”:”world/2022/03/14/us-intelligence-russia-requests-china-military-assistance-ukraine-newday-vpx.cnn”,”videoUrl”:”/videos/world/2022/03/14/us-intelligence-russia-requests-china-military-assistance-ukraine-newday-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_054BDF80-76EE-BCF7-5823-88DEBC2164F5″},{“descriptionPlainText”:”The safety of nuclear facilities must be ensured during conflict, says Director General of the International Atomic Energy Agency Rafael Mariano Grossi in an interview with CNN’s Becky Anderson.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220311085708-iaea-director-general-rafael-mariano-grossi-large-169.jpg”,”title”:”IAEA: Russia must end actions against Ukraine’s nuclear sites”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/03/11/iaea-director-general-russia-attacks-on-ukraine-nuclear-sites-ctw-intl-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/03/11/iaea-director-general-russia-attacks-on-ukraine-nuclear-sites-ctw-intl-vpx.cnn”,”videoId”:”world/2022/03/11/iaea-director-general-russia-attacks-on-ukraine-nuclear-sites-ctw-intl-vpx.cnn”,”videoUrl”:”/videos/world/2022/03/11/iaea-director-general-russia-attacks-on-ukraine-nuclear-sites-ctw-intl-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_2E543DCB-711D-F756-DF2A-8828B2A1AB7E”},{“descriptionPlainText”:”CNN’s Scott McLean reports on how Ukraine’s train system, which is essential to getting relief supplies in the country and desperate refugees out, is being kept running despite heavy Russian shelling and fears of targeting.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220313214529-mclean-screengrab-vpx-large-169.jpg”,”title”:”Ukraine’s train system directors constantly on the move for fear of Russian targeting”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/03/14/ukraine-train-system-mclean-ac360-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/03/14/ukraine-train-system-mclean-ac360-vpx.cnn”,”videoId”:”world/2022/03/14/ukraine-train-system-mclean-ac360-vpx.cnn”,”videoUrl”:”/videos/world/2022/03/14/ukraine-train-system-mclean-ac360-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_2F019E53-9253-1F5C-CD36-79E7582B85FD”},{“descriptionPlainText”:”CNN’s Pamela Brown reports on Russia’s “brutal and unrelenting” assault on Ukraine, showing video of Russian tanks firing on a Ukrainian apartment building.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220313183805-ukraine-apartment-building-vpx-screengrab-large-169.jpg”,”title”:”Video shows Russian tank firing on an apartment building in Ukraine”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/03/13/tank-apartment-building-ukraine-mariupol-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/03/13/tank-apartment-building-ukraine-mariupol-vpx.cnn”,”videoId”:”world/2022/03/13/tank-apartment-building-ukraine-mariupol-vpx.cnn”,”videoUrl”:”/videos/world/2022/03/13/tank-apartment-building-ukraine-mariupol-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_4A409591-EFE3-DEE1-55B4-8616C9E09570″},{“descriptionPlainText”:”Refugees have been desperately flooding out of Ukraine since Russia’s invasion began while some Ukrainian immigrants in America have chosen to go back to their homeland to help. CNN’s Gary Tuchman speaks with a family in Pennsylvania who are temporarily missing a father, a brother, and a husband who all felt a calling to assist in the fight and the flight.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220313223443-yuliya-penchak-tuchman-0313-large-169.jpg”,”title”:”‘I don’t have any more tears left’: Woman waits to hear from family members who returned to Ukraine to help”,”videoCMSUrl”:”/video/data/3.0/video/us/2022/03/14/pennsylvania-ukrainians-tuchman-ac360-wknd-dnt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2022/03/14/pennsylvania-ukrainians-tuchman-ac360-wknd-dnt-vpx.cnn”,”videoId”:”us/2022/03/14/pennsylvania-ukrainians-tuchman-ac360-wknd-dnt-vpx.cnn”,”videoUrl”:”/videos/us/2022/03/14/pennsylvania-ukrainians-tuchman-ac360-wknd-dnt-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_FE850DBA-1266-4D0B-9861-8567F2485D54″},{“descriptionPlainText”:”In a video posted on social media, journalist Juan Arredondo describes being shot at by Russian forces while driving through a checkpoint in Irpin, Ukraine, while on the way to film refugees leaving the city. He didn’t know at the time that fellow journalist Brent Renaud was killed in the attack.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220314025352-juan-arredondo-kyiv-hospital-brent-renaud-large-169.jpg”,”title”:”Journalist describes attack that left colleague dead”,”videoCMSUrl”:”/video/data/3.0/video/media/2022/03/14/juan-arredondo-brent-renaud-ukraine-russia-attack-sot-intl-ovn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2022/03/14/juan-arredondo-brent-renaud-ukraine-russia-attack-sot-intl-ovn-vpx.cnn”,”videoId”:”media/2022/03/14/juan-arredondo-brent-renaud-ukraine-russia-attack-sot-intl-ovn-vpx.cnn”,”videoUrl”:”/videos/media/2022/03/14/juan-arredondo-brent-renaud-ukraine-russia-attack-sot-intl-ovn-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_0E9D894C-ECE5-8C06-BCEA-85F0093CCDBD”},{“descriptionPlainText”:”US National Security Adviser Jake Sullivan says the deadly Russian airstrike on a large military base near Lviv, Ukraine, which was only miles from the Polish border, shows that Vladimir Putin is frustrated with his forces’ progress.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220310132215-putin-meeting-0310-large-169.jpg”,”title”:”‘Putin is frustrated’: National security adviser on what military base attack reveals”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/03/13/sullivan-yavoriv-military-training-ground-attack-near-lviv-poland-border-intv-bash-sotu-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/03/13/sullivan-yavoriv-military-training-ground-attack-near-lviv-poland-border-intv-bash-sotu-vpx.cnn”,”videoId”:”world/2022/03/13/sullivan-yavoriv-military-training-ground-attack-near-lviv-poland-border-intv-bash-sotu-vpx.cnn”,”videoUrl”:”/videos/world/2022/03/13/sullivan-yavoriv-military-training-ground-attack-near-lviv-poland-border-intv-bash-sotu-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_679FB65E-A362-4932-D65E-8664FF306419″}],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/2022/03/14/zelensky-message-russian-troops-ukraine-intl-ovn-sot-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-12vkja4’,videoDescriptionDivId: ‘js-video_description-12vkja4’,videoDurationDivId: ‘js-video_duration-12vkja4’,videoTitleDivId: ‘js-leaf-video_headline-12vkja4’,videoSourceDivId: ‘js-video_sourceName-12vkja4’});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