Hear Ukrainian’s emotional message to former friends

‘);$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/07/mykolaiv-ukrainian-military-russian-artillery-walsh-ac-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/220306224137-ruslan-npw-package-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220306224137-ruslan-npw-package-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220306224137-ruslan-npw-package-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220306224137-ruslan-npw-package-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220306224137-ruslan-npw-package-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220306224137-ruslan-npw-package-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220306224137-ruslan-npw-package-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”CNN’s Nick Paton Walsh reports from Mykolaiv in southern Ukraine where the military is battling to push Russian forces out.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220306224137-ruslan-npw-package-large-169.jpg”,”title”:”‘You betray me’: Ukrainian’s message to former Russian friends”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/03/07/mykolaiv-ukrainian-military-russian-artillery-walsh-ac-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/03/07/mykolaiv-ukrainian-military-russian-artillery-walsh-ac-vpx.cnn”,”videoId”:”world/2022/03/07/mykolaiv-ukrainian-military-russian-artillery-walsh-ac-vpx.cnn”,”videoUrl”:”/videos/world/2022/03/07/mykolaiv-ukrainian-military-russian-artillery-walsh-ac-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_CBC43CC2-545A-8C2A-242A-62403FF63682″},{“descriptionPlainText”:”Video captured in Ukraine shows Russian missiles heading towards the Vinnytsia airport, which is located southwest of the capital of Kyiv.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220306181544-russian-missle-overhead-large-169.jpg”,”title”:”Video shows Russian missile flying overhead toward airport”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/03/06/missiles-flying-toward-vinnytsia-ukraine-russia-nrwknd-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/03/06/missiles-flying-toward-vinnytsia-ukraine-russia-nrwknd-vpx.cnn”,”videoId”:”world/2022/03/06/missiles-flying-toward-vinnytsia-ukraine-russia-nrwknd-vpx.cnn”,”videoUrl”:”/videos/world/2022/03/06/missiles-flying-toward-vinnytsia-ukraine-russia-nrwknd-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_FEEDA087-AFE9-EC3F-530E-62BE37F8D188″},{“descriptionPlainText”:”Rep. Adam Kinzinger (R-IL) speaks with Anderson Cooper about his support of establishing a no-fly zone in Ukraine.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220306213625-kinzinger-ac360-0306-large-169.jpg”,”title”:”Rep. Kinzinger on no-fly zone in Ukraine: Risk in inaction”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/03/07/ukraine-russia-no-fly-zone-kinzinger-ac360-wknd-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/03/07/ukraine-russia-no-fly-zone-kinzinger-ac360-wknd-sot-vpx.cnn”,”videoId”:”world/2022/03/07/ukraine-russia-no-fly-zone-kinzinger-ac360-wknd-sot-vpx.cnn”,”videoUrl”:”/videos/world/2022/03/07/ukraine-russia-no-fly-zone-kinzinger-ac360-wknd-sot-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_CBC43CC2-545A-8C2A-242A-62403FF63682″},{“descriptionPlainText”:”Graphic video has surfaced that shows the moment a Russian military strike hit in Irpin, Ukraine, a town on the western outskirts of the Ukrainian capital of Kyiv. CNN’s Pamela Brown has more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220306202525-irpin-large-169.jpeg”,”title”:”Horrific video shows Ukrainians hit by Russian missile”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/03/06/irpin-ukraine-russian-missile-nrwknd-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/03/06/irpin-ukraine-russian-missile-nrwknd-vpx.cnn”,”videoId”:”world/2022/03/06/irpin-ukraine-russian-missile-nrwknd-vpx.cnn”,”videoUrl”:”/videos/world/2022/03/06/irpin-ukraine-russian-missile-nrwknd-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_A75A9F2D-9204-EEFB-617D-617FEF20AED1″},{“descriptionPlainText”:”CNN’s Sara Sidner speaks with Davide Martello, a German man who traveled to the Ukrainian-Polish border with his piano to bring peace and hope to Ukrainian refugees through his music.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220306161458-peace-piano-man-1-large-169.jpg”,”title”:”Man travels 5000 miles to play his piano for Ukrainian refugees”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/03/06/piano-man-poland-ukraine-border-refugee-shelter-sidner-dnt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/03/06/piano-man-poland-ukraine-border-refugee-shelter-sidner-dnt-vpx.cnn”,”videoId”:”world/2022/03/06/piano-man-poland-ukraine-border-refugee-shelter-sidner-dnt-vpx.cnn”,”videoUrl”:”/videos/world/2022/03/06/piano-man-poland-ukraine-border-refugee-shelter-sidner-dnt-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_19BD1DFA-40BF-2E65-A2CE-623CA912713D”},{“descriptionPlainText”:”CNN’s Alex Marquardt reports on a Russian strike that killed civilians in the residential town Markhalivka, Ukraine.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220306083148-alex-marquardt-destroyed-village-large-169.jpeg”,”title”:”Russian attacks decimated this residential area. CNN shows the aftermath.”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/03/06/ukraine-russia-civilian-strike-marquardt-ip-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/03/06/ukraine-russia-civilian-strike-marquardt-ip-vpx.cnn”,”videoId”:”world/2022/03/06/ukraine-russia-civilian-strike-marquardt-ip-vpx.cnn”,”videoUrl”:”/videos/world/2022/03/06/ukraine-russia-civilian-strike-marquardt-ip-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_BED8AC05-22A0-C8BD-276F-619C0BC36793″},{“descriptionPlainText”:”Ukraine 24 is a news channel that has managed to stay on the air during the Russian invasion. Host Kateryna Fedotenko talks with Brian Stelter about how the station is working during these difficult conditions.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220306122813-kateryna-fedotenko-ukraine-large-169.jpg”,”title”:”Ukrainian journalist explains how they are staying on the air during war”,”videoCMSUrl”:”/video/data/3.0/video/media/2022/03/06/ukraine-tv-host-war-reporting-rs-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2022/03/06/ukraine-tv-host-war-reporting-rs-vpx.cnn”,”videoId”:”media/2022/03/06/ukraine-tv-host-war-reporting-rs-vpx.cnn”,”videoUrl”:”/videos/media/2022/03/06/ukraine-tv-host-war-reporting-rs-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_5B5FEB7A-603F-12D1-3EF2-6103E3FE0BD0″},{“descriptionPlainText”:”Oleksandra Zhovtyuk, a mother of three, speaks to CNN about what it’s like now that the Russian military is occupying Kherson, Ukraine.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220306055648-oleksandra-zhovtyuk-mom-kherson-ukraine-large-169.jpg”,”title”:”‘Nightmare’: Mom reveals what it’s like living in town taken over by Russia”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/03/06/mom-kherson-occupied-town-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/03/06/mom-kherson-occupied-town-newday-vpx.cnn”,”videoId”:”world/2022/03/06/mom-kherson-occupied-town-newday-vpx.cnn”,”videoUrl”:”/videos/world/2022/03/06/mom-kherson-occupied-town-newday-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_4E7BBFE2-15C3-D552-E467-5F6513FF7E32″},{“descriptionPlainText”:”At least 700 students from India are asking to be rescued after getting stranded in Sumy, Ukraine. They say food is starting to run out and water, electricity and heat are out. CNN’s Vedika Sud reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220306021339-sumy-ukraine-indian-students-trapped-snow-large-169.jpg”,”title”:”Drinking melted snow: Indian students trapped deep in Ukraine”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/03/06/indian-students-trapped-ukraine-evacuation-sud-live-intl-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/03/06/indian-students-trapped-ukraine-evacuation-sud-live-intl-vpx.cnn”,”videoId”:”world/2022/03/06/indian-students-trapped-ukraine-evacuation-sud-live-intl-vpx.cnn”,”videoUrl”:”/videos/world/2022/03/06/indian-students-trapped-ukraine-evacuation-sud-live-intl-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_A62C34A8-4F30-2B68-F680-60404E53E7B7″},{“descriptionPlainText”:”CNN’s Arlette Saenz reports on the latest in Ukraine as video shows a Russian fighter jet the Ukrainian government says they shot down.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220305201554-russian-jet-large-169.jpg”,”title”:”Video shows Russian jet falling from the sky”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/03/06/russia-ukraine-wrap-saenz-pkg-nrwknd-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/03/06/russia-ukraine-wrap-saenz-pkg-nrwknd-vpx.cnn”,”videoId”:”world/2022/03/06/russia-ukraine-wrap-saenz-pkg-nrwknd-vpx.cnn”,”videoUrl”:”/videos/world/2022/03/06/russia-ukraine-wrap-saenz-pkg-nrwknd-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_22C19762-48B1-27D9-6FFB-5ED6CCC2181C”},{“descriptionPlainText”:”Ukrainian Armed Forces shared a video showing a Russian helicopter being shot down. CNN geolocated this video. The area where it was filmed includes a base where the Russians have been running helicopter operations and has recently been under attack by Ukrainian forces. CNN has been unable to verify when this happened.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220305091014-helicopter-vpx-large-169.jpg”,”title”:”Ukraine releases video of Russian helicopter being shot down”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/03/05/ukrainian-armed-forces-share-video-showing-russian-helicopter-being-shot-down-ndwknd-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/03/05/ukrainian-armed-forces-share-video-showing-russian-helicopter-being-shot-down-ndwknd-vpx.cnn”,”videoId”:”world/2022/03/05/ukrainian-armed-forces-share-video-showing-russian-helicopter-being-shot-down-ndwknd-vpx.cnn”,”videoUrl”:”/videos/world/2022/03/05/ukrainian-armed-forces-share-video-showing-russian-helicopter-being-shot-down-ndwknd-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_2488B0A8-C22E-8B29-0190-5E0561A10C81″},{“descriptionPlainText”:”Ukrainian authorities have released video from inside the control room at the Zaporizhzhia nuclear power station in Ukraine, which was taken over by Russian forces.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220305060033-inside-ukraine-nuclear-power-plant-large-169.jpg”,”title”:”‘Stop shooting!’: See moment inside nuclear plant when Russians attacked”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/03/05/ukraine-nuclear-plant-video-zaporizhzhia-tsr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/03/05/ukraine-nuclear-plant-video-zaporizhzhia-tsr-vpx.cnn”,”videoId”:”world/2022/03/05/ukraine-nuclear-plant-video-zaporizhzhia-tsr-vpx.cnn”,”videoUrl”:”/videos/world/2022/03/05/ukraine-nuclear-plant-video-zaporizhzhia-tsr-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_BC506DCC-D61E-DC06-44F7-5CC2FB9BE3B6″},{“descriptionPlainText”:”ITN reporter John Irvine was on the last convoys out of Mariupol, a key city in the southern region of Ukraine, as it came under siege by Russian forces. See the tense moment with Russian troops as they tried to leave.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220305091910-video-thumbnail-itn-pkg-large-169.jpg”,”title”:”Russians turn barrel of their tank on reporters trying to get out “,”videoCMSUrl”:”/video/data/3.0/video/world/2022/03/05/russian-standoff-tanks-itn-reporter-irvine-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/03/05/russian-standoff-tanks-itn-reporter-irvine-intl-ldn-vpx.cnn”,”videoId”:”world/2022/03/05/russian-standoff-tanks-itn-reporter-irvine-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2022/03/05/russian-standoff-tanks-itn-reporter-irvine-intl-ldn-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_EDAC5568-2133-9878-5C26-5A50CEDB1304″},{“descriptionPlainText”:”Calls are mounting for Russian President Vladimir Putin to be indicted for war crimes as Russian forces use cluster munitions on civilian buildings during the ongoing invasion of Ukraine. CNN’s Brian Todd reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220304192940-putin-dusa-criminal-large-169.jpg”,”title”:”How Vladimir Putin could be indicted for war crimes “,”videoCMSUrl”:”/video/data/3.0/video/world/2022/03/05/war-crimes-vladimir-putin-russia-ukraine-todd-intl-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/03/05/war-crimes-vladimir-putin-russia-ukraine-todd-intl-vpx.cnn”,”videoId”:”world/2022/03/05/war-crimes-vladimir-putin-russia-ukraine-todd-intl-vpx.cnn”,”videoUrl”:”/videos/world/2022/03/05/war-crimes-vladimir-putin-russia-ukraine-todd-intl-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_C4AFE897-D72C-FD78-0B74-59B9D57E458C”},{“descriptionPlainText”:””Dancing with the Stars” pro Maksim Chmerkovskiy joins CNN’s Anderson Cooper and reflects on his emotional escape from Ukraine as Russia invades his home country.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220307130926-screengrab-maksim-chmerkovskiy-large-169.jpg”,”title”:”‘I felt really bad going’: Maksim Chmerkovskiy on his emotional escape from Ukraine”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/03/07/maksim-chmerkovskiy-dancing-with-the-stars-ukraine-escape-sot-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/03/07/maksim-chmerkovskiy-dancing-with-the-stars-ukraine-escape-sot-intl-hnk-vpx.cnn”,”videoId”:”world/2022/03/07/maksim-chmerkovskiy-dancing-with-the-stars-ukraine-escape-sot-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2022/03/07/maksim-chmerkovskiy-dancing-with-the-stars-ukraine-escape-sot-intl-hnk-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_1F0352F3-2178-61D5-3A22-595CC981B967″}],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/07/mykolaiv-ukrainian-military-russian-artillery-walsh-ac-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-1zed0rb’,videoDescriptionDivId: ‘js-video_description-1zed0rb’,videoDurationDivId: ‘js-video_duration-1zed0rb’,videoTitleDivId: ‘js-leaf-video_headline-1zed0rb’,videoSourceDivId: ‘js-video_sourceName-1zed0rb’});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