Video: Explosions ripple across steel plant housing civilians

‘);$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/05/04/ukraine-steel-plant-mariupol-russia-explosions-ath-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/220504114756-azovstal-steel-plant-explosions-mariupol-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220504114756-azovstal-steel-plant-explosions-mariupol-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220504114756-azovstal-steel-plant-explosions-mariupol-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220504114756-azovstal-steel-plant-explosions-mariupol-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220504114756-azovstal-steel-plant-explosions-mariupol-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220504114756-azovstal-steel-plant-explosions-mariupol-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220504114756-azovstal-steel-plant-explosions-mariupol-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Video posted from a Russian-backed account shows Russian air strikes at the Azovstal steel plant in Mariupol, Ukraine, that is housing civilians, according to the city mayor. CNN’s Scott McLean has more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220504114756-azovstal-steel-plant-explosions-mariupol-large-169.jpg”,”title”:”Explosions ripple across Ukrainian steel plant housing civilians”,”videoCMSUrl”:”/videos/world/2022/05/04/ukraine-steel-plant-mariupol-russia-explosions-ath-vpx.cnn”,”videoLeafUrl”:”/videos/world/2022/05/04/ukraine-steel-plant-mariupol-russia-explosions-ath-vpx.cnn”,”videoId”:”world/2022/05/04/ukraine-steel-plant-mariupol-russia-explosions-ath-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/04/ukraine-steel-plant-mariupol-russia-explosions-ath-vpx.cnn”,”surrogateKey”:”video_F5434862-EEE5-D7FF-7211-8FB257ADF4A1″},{“descriptionPlainText”:”While fighting rages in the east and south of Ukraine, in the sleepy town of Chervonohrad the ripple effect of Russia’s aggression is ever present. CNN’s Isa Soares hears the story of one family devastated by war.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220504113625-video-thumbnail-soares-pkg-1-large-169.jpg”,”title”:”This sniper died fighting in 2018. Now his mother is defending Ukraine”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/04/ukraine-family-war-chervonohrad-soares-pkg-newday-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/04/ukraine-family-war-chervonohrad-soares-pkg-newday-intl-ldn-vpx.cnn”,”videoId”:”world/2022/05/04/ukraine-family-war-chervonohrad-soares-pkg-newday-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/04/ukraine-family-war-chervonohrad-soares-pkg-newday-intl-ldn-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_95876F60-A88C-A8E4-6D0F-8E944DC2F37F”},{“descriptionPlainText”:”An eastern Ukrainian woman describes the moment a Russian rocket destroyed her home in Rubizhne, injuring her and killing her brother. CNN’s Sam Kiley reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220503165151-ludmilla-tale-kiley-dnt-05-03-22-large-169.jpg”,”title”:”‘I’m all scratched and battered’: Ukrainian woman loses brother and home to Russian rocket”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/03/eastern-ukrainian-woman-details-russian-rockets-destroying-home-kiley-lead-dnt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/03/eastern-ukrainian-woman-details-russian-rockets-destroying-home-kiley-lead-dnt-vpx.cnn”,”videoId”:”world/2022/05/03/eastern-ukrainian-woman-details-russian-rockets-destroying-home-kiley-lead-dnt-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/03/eastern-ukrainian-woman-details-russian-rockets-destroying-home-kiley-lead-dnt-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_C99AD37F-453A-2EA6-C37C-8BDDCA8F0BDF”},{“descriptionPlainText”:”CNN’s Nick Paton Walsh speaks to Mariupol evacuees who finally reached safety in Zaporizhzhia, Ukraine, after spending up to two months sheltering underground.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220503165433-npw-mariupol-evacuee-dnt-still-large-169.jpeg”,”title”:”Mariupol evacuees emotional after reaching safety in Zaporizhzhia”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/03/mariupol-evacuees-reach-safety-zaporizhzhia-ukraine-lead-npw-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/03/mariupol-evacuees-reach-safety-zaporizhzhia-ukraine-lead-npw-vpx.cnn”,”videoId”:”world/2022/05/03/mariupol-evacuees-reach-safety-zaporizhzhia-ukraine-lead-npw-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/03/mariupol-evacuees-reach-safety-zaporizhzhia-ukraine-lead-npw-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_E436E866-90FA-CF19-B01A-8BAEC94C7072″},{“descriptionPlainText”:”Thanks to the United States and its allies, javelin and stinger missiles are flooding into Ukraine. But there’s a side effect to providing the eastern European nation military aid. CNN’s Alex Marquardt reports why US weapons inventory is running low and how some say those numbers can be boosted.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220419122827-javelin-missile-delivery-0222-large-169.jpg”,”title”:”‘The closet is bare’: Aid to Ukraine depletes US weapons supply”,”videoCMSUrl”:”/video/data/3.0/video/us/2022/05/03/us-weapons-stockpile-shrinking-dnt-lead-marquardt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2022/05/03/us-weapons-stockpile-shrinking-dnt-lead-marquardt-vpx.cnn”,”videoId”:”us/2022/05/03/us-weapons-stockpile-shrinking-dnt-lead-marquardt-vpx.cnn”,”videoUrl”:”/videos/us/2022/05/03/us-weapons-stockpile-shrinking-dnt-lead-marquardt-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_737BC8B1-C9C4-E438-CFF2-8BBFCD48CACC”},{“descriptionPlainText”:”May 9th, known as “Victory Day” in Russia as it commemorates the country’s defeat of the Nazis in 1945, could bring a declaration of war on Ukraine from Russian President Putin, according to US and Western officials. CNN’s White House reporter Natasha Bertrand breaks down what this could mean for the future of Russia’s assault on Ukraine.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220503122443-video-thumbnail-war-declararion-1-large-169.jpg”,”title”:”WH reporter explains what Putin’s war declaration would mean”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/03/putin-declaring-war-explainer-sot-romans-es-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/03/putin-declaring-war-explainer-sot-romans-es-intl-ldn-vpx.cnn”,”videoId”:”world/2022/05/03/putin-declaring-war-explainer-sot-romans-es-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/03/putin-declaring-war-explainer-sot-romans-es-intl-ldn-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_0A0DD845-EAA7-DBDE-B1B5-89954DC190B0″},{“descriptionPlainText”:”The first Ukrainian evacuees emerged from the Azovstal steel plant in Mariupol. Even with assistance from the Red Cross, though, some survivors remain under the Russian military’s control. CNN’s Nick Paton Walsh reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220502185459-ukraine-mariupol-evacuee-convoy-baby-large-169.jpg”,”title”:”‘Grateful to be whisked out’: Mariupol steel plant survivors begin evacuating”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/02/ukraine-mariupol-steel-plant-evacuation-dnt-tsr-walsh-intl-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/02/ukraine-mariupol-steel-plant-evacuation-dnt-tsr-walsh-intl-vpx.cnn”,”videoId”:”world/2022/05/02/ukraine-mariupol-steel-plant-evacuation-dnt-tsr-walsh-intl-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/02/ukraine-mariupol-steel-plant-evacuation-dnt-tsr-walsh-intl-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_FA13FA0A-A273-8B3E-D7EA-86E614BBAEF1″},{“descriptionPlainText”:”Retired Maj. General James “Spider” Marks outlines Russian President Vladimir Putin’s plan to partition Ukraine and predicts that Ukrainian forces will not be able to stop him.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220502130113-james-spider-marks-may-2-2022-large-169.jpg”,”title”:”Retired general makes prediction about Putin’s plan in Ukraine”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/02/putin-plan-partition-ukraine-james-spider-marks-ip-vpx-sot.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/02/putin-plan-partition-ukraine-james-spider-marks-ip-vpx-sot.cnn”,”videoId”:”world/2022/05/02/putin-plan-partition-ukraine-james-spider-marks-ip-vpx-sot.cnn”,”videoUrl”:”/videos/world/2022/05/02/putin-plan-partition-ukraine-james-spider-marks-ip-vpx-sot.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_2340D4B6-2242-1894-A2C3-859188B4BF80″},{“descriptionPlainText”:”Ukrainian prisoner of war Don Zvonyk was confirmed dead days after he was shown captured by Russian forces. CNN’s Matt Rivers reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220502143032-video-thumbnail-ukrainian-pow-3a-large-169.jpg”,”title”:”Ukrainian prisoner of war confirmed dead days after Russian capture”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/02/ukrainian-war-prisoner-death-dnt-rivers-newday-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/02/ukrainian-war-prisoner-death-dnt-rivers-newday-intl-ldn-vpx.cnn”,”videoId”:”world/2022/05/02/ukrainian-war-prisoner-death-dnt-rivers-newday-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/02/ukrainian-war-prisoner-death-dnt-rivers-newday-intl-ldn-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_41D27A26-43F1-00A0-704F-84F1DE0EA1EB”},{“descriptionPlainText”:”House Speaker Nancy Pelosi led the first official US congressional Delegation to visit Ukraine since the start of the war. She is also the most senior United States official to meet with the Ukrainian President since the start of the Russian invasion. CNN’s Matt Rivers reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220501015904-zelensky-pelosi-kyiv-050122-large-169.jpg”,”title”:”Pelosi to Zelensky: US will ‘be there for you until the fight is done'”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/05/01/nancy-pelosi-ukraine-zelensky-visit-ndwknd-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/05/01/nancy-pelosi-ukraine-zelensky-visit-ndwknd-vpx.cnn”,”videoId”:”politics/2022/05/01/nancy-pelosi-ukraine-zelensky-visit-ndwknd-vpx.cnn”,”videoUrl”:”/videos/politics/2022/05/01/nancy-pelosi-ukraine-zelensky-visit-ndwknd-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_9EB2AC6C-DDCB-DF12-9DBB-7F353C5495F0″},{“descriptionPlainText”:”CNN’s Sara Sidner reports from Mariupol, where the attacks have been relentless and where there is no pause for people tasked with burying the dead.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220501194814-mariupol-sidner-pkg-large-169.jpg”,”title”:”Workers struggle to keep up with burials of Mariupol dead”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/05/01/workers-struggle-mariupol-dead-sidner-pkg-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/05/01/workers-struggle-mariupol-dead-sidner-pkg-nr-vpx.cnn”,”videoId”:”world/2022/05/01/workers-struggle-mariupol-dead-sidner-pkg-nr-vpx.cnn”,”videoUrl”:”/videos/world/2022/05/01/workers-struggle-mariupol-dead-sidner-pkg-nr-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_1C249638-38D0-90EA-620D-81FCE7F90000″},{“descriptionPlainText”:”National Democratic Institute director Moira Whelan tells CNN’s Brian Stelter the internet has changed the rules of conflict in the war between Russia and Ukraine.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211104163640-avlon-show-disinformation-10-no-border-large-169.jpg”,”title”:”Expert says the internet represents new ‘front’ Ukraine must defend”,”videoCMSUrl”:”/video/data/3.0/video/media/2022/05/01/ukraine-combating-russian-misinformation-whelan-rs-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2022/05/01/ukraine-combating-russian-misinformation-whelan-rs-vpx.cnn”,”videoId”:”media/2022/05/01/ukraine-combating-russian-misinformation-whelan-rs-vpx.cnn”,”videoUrl”:”/videos/media/2022/05/01/ukraine-combating-russian-misinformation-whelan-rs-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_8EEE6716-497F-1719-D287-807ACDE0F836″},{“descriptionPlainText”:”Mykhailo Puryshev spoke to CNN’s Erin Burnett about his experience evacuating more than 200 people from Mariupol, Ukraine, amid Russian bombardment.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220429220023-mykhailo-puryshev-intv-ebof-thumb-vpx-large-169.jpg”,”title”:”Ukrainian describes harrowing experience evacuating over 200 people from Mariupol”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/04/30/mykhailo-puryshev-ukraine-evacuation-mariupol-intv-sot-ebof-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/04/30/mykhailo-puryshev-ukraine-evacuation-mariupol-intv-sot-ebof-vpx.cnn”,”videoId”:”world/2022/04/30/mykhailo-puryshev-ukraine-evacuation-mariupol-intv-sot-ebof-vpx.cnn”,”videoUrl”:”/videos/world/2022/04/30/mykhailo-puryshev-ukraine-evacuation-mariupol-intv-sot-ebof-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_313B4375-497A-0A8F-CBE2-78135B8724F3″},{“descriptionPlainText”:”Former US Marine Willy Joseph Cancel is reportedly the first American to be killed on the battlefield in Ukraine. CNN’s Oren Liebermann reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220428170614-03-willy-joseph-cancel-large-169.jpg”,”title”:”Former US Marine killed fighting alongside Ukrainians”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/04/30/willy-cancel-american-killed-ukraine-russia-battle-ebof-liebermann-dnt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/04/30/willy-cancel-american-killed-ukraine-russia-battle-ebof-liebermann-dnt-vpx.cnn”,”videoId”:”world/2022/04/30/willy-cancel-american-killed-ukraine-russia-battle-ebof-liebermann-dnt-vpx.cnn”,”videoUrl”:”/videos/world/2022/04/30/willy-cancel-american-killed-ukraine-russia-battle-ebof-liebermann-dnt-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_DBAE86EA-7EA0-E32F-1DFE-7804BF10EC50″},{“descriptionPlainText”:”An overnight Russian strike on central Kyiv killed a 54-year-old Ukrainian journalist and left residents shaken. CNN’s Matt Rivers reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220429174615-kyiv-apartment-damaged-rivers-04-29-22-large-169.jpeg”,”title”:”Ukrainian journalist killed in Russian strike on central Kyiv “,”videoCMSUrl”:”/video/data/3.0/video/world/2022/04/29/ukrainian-journalist-killed-russian-strike-central-kyiv-rivers-dnt-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/04/29/ukrainian-journalist-killed-russian-strike-central-kyiv-rivers-dnt-lead-vpx.cnn”,”videoId”:”world/2022/04/29/ukrainian-journalist-killed-russian-strike-central-kyiv-rivers-dnt-lead-vpx.cnn”,”videoUrl”:”/videos/world/2022/04/29/ukrainian-journalist-killed-russian-strike-central-kyiv-rivers-dnt-lead-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_3D35B4CF-E1CC-90BC-70E0-771CA3AD32A7″},{“descriptionPlainText”:”CNN’s Anderson Cooper finally meets Ukrainian mom Olena Gnes in person after interviewing her several times since the Russian invasion.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220428203815-anderson-cooper-meets-olena-one-large-169.jpg”,”title”:”Anderson finally meets Ukrainian mom sheltered in Kyiv after speaking for months”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/04/29/ukrainian-woman-olena-gnes-intv-part-one-ac360-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/04/29/ukrainian-woman-olena-gnes-intv-part-one-ac360-vpx.cnn”,”videoId”:”world/2022/04/29/ukrainian-woman-olena-gnes-intv-part-one-ac360-vpx.cnn”,”videoUrl”:”/videos/world/2022/04/29/ukrainian-woman-olena-gnes-intv-part-one-ac360-vpx.cnn/video/playlists/russia-ukraine-military-conflict/”,”surrogateKey”:”video_8F76B24C-D184-CE02-B3FA-72A86D75CD54″}],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/05/04/ukraine-steel-plant-mariupol-russia-explosions-ath-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-15vx4b7’,videoDescriptionDivId: ‘js-video_description-15vx4b7’,videoDurationDivId: ‘js-video_duration-15vx4b7’,videoTitleDivId: ‘js-leaf-video_headline-15vx4b7’,videoSourceDivId: ‘js-video_sourceName-15vx4b7’});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