Video explainer: How did we get here

‘);$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/02/24/timeline-of-events-russia-ukraine-lon-orig.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/220224085651-16-ukraine-0224-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220224085651-16-ukraine-0224-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220224085651-16-ukraine-0224-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220224085651-16-ukraine-0224-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220224085651-16-ukraine-0224-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220224085651-16-ukraine-0224-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220224085651-16-ukraine-0224-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”On February 24, Russia started a broad offensive in Ukraine. CNN’s International diplomatic editor, Nic Robertson, explains how we got here.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220224085651-16-ukraine-0224-large-169.jpg”,”title”:”Russia-Ukraine conflict: How did we get here”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/02/24/timeline-of-events-russia-ukraine-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/02/24/timeline-of-events-russia-ukraine-lon-orig.cnn”,”videoId”:”world/2022/02/24/timeline-of-events-russia-ukraine-lon-orig.cnn”,”videoUrl”:”/videos/world/2022/02/24/timeline-of-events-russia-ukraine-lon-orig.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_46C9AD9F-FD77-6AE0-6077-2CBE4000EFA1″},{“descriptionPlainText”:”CNN’s Matthew Chance shows what it looks like at an airbase outside the Ukrainian capital of Kyiv, where Russian airborne troops are engaged in a fire fight with the Ukrainian military.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220224091836-chance-russian-troops-kyiv-region-2-large-169.jpg”,”title”:”CNN reporter: This shows just how close Russian forces are to Ukraine capital”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/02/24/russian-troops-ukraine-kyiv-region-airbase-chance-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/02/24/russian-troops-ukraine-kyiv-region-airbase-chance-nr-vpx.cnn”,”videoId”:”world/2022/02/24/russian-troops-ukraine-kyiv-region-airbase-chance-nr-vpx.cnn”,”videoUrl”:”/videos/world/2022/02/24/russian-troops-ukraine-kyiv-region-airbase-chance-nr-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_46C9AD9F-FD77-6AE0-6077-2CBE4000EFA1″},{“descriptionPlainText”:”CNN’s Clarissa Ward reports from a Kharkiv, Ukraine, subway station where citizens have fled amid explosions.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220224074815-ukraine-subway-shelter-interview-large-169.jpg”,”title”:”‘I cannot believe it’s happening’: See emotional interview with Ukrainian citizen”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/02/24/russia-ukraine-subway-bomb-shelter-clarissa-ward-newday-intv-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/02/24/russia-ukraine-subway-bomb-shelter-clarissa-ward-newday-intv-vpx.cnn”,”videoId”:”world/2022/02/24/russia-ukraine-subway-bomb-shelter-clarissa-ward-newday-intv-vpx.cnn”,”videoUrl”:”/videos/world/2022/02/24/russia-ukraine-subway-bomb-shelter-clarissa-ward-newday-intv-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_290B6BAB-648F-CDCE-5120-2C0AF4E0FAFE”},{“descriptionPlainText”:”Ukrainian President Zelensky addressed the citizens of his country following the beginning of a Russian invasion.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220224045013-zelensky-address-large-169.jpg”,”title”:”‘This morning has gone down in history’: Ukrainian president addresses nation amid Russian invasion”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/02/24/ukrainian-president-zelensky-address-sot-holmes-intl-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/02/24/ukrainian-president-zelensky-address-sot-holmes-intl-vpx.cnn”,”videoId”:”world/2022/02/24/ukrainian-president-zelensky-address-sot-holmes-intl-vpx.cnn”,”videoUrl”:”/videos/world/2022/02/24/ukrainian-president-zelensky-address-sot-holmes-intl-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_B47B6D66-7AD9-29F4-D2C2-2BF902F8CD74″},{“descriptionPlainText”:”Watch Russian rockets fly in the air and tanks roll past CNN reporter Frederick Pleitgen as they appear to head toward Ukraine from Belgorod, Russia.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220224080431-russian-tank-ukraine-newday-large-169.jpg”,”title”:”Russian tanks roll past CNN reporter as they appear to head toward Ukraine”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/02/24/russia-ukraine-invasion-rockets-tanks-pleitgen-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/02/24/russia-ukraine-invasion-rockets-tanks-pleitgen-newday-vpx.cnn”,”videoId”:”world/2022/02/24/russia-ukraine-invasion-rockets-tanks-pleitgen-newday-vpx.cnn”,”videoUrl”:”/videos/world/2022/02/24/russia-ukraine-invasion-rockets-tanks-pleitgen-newday-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_7376CA3F-399B-96D9-509F-2B2C750A7F2D”},{“descriptionPlainText”:”Ret. Colonel Cedric Leighton breaks down the Russian attacks in Ukraine and where they may be headed next.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220224052923-explosion-map-russia-attack-ukraine-large-169.jpg”,”title”:”See where Ukraine has been attacked so far”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/02/24/russia-attacks-ukraine-video-map-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/02/24/russia-attacks-ukraine-video-map-newday-vpx.cnn”,”videoId”:”world/2022/02/24/russia-attacks-ukraine-video-map-newday-vpx.cnn”,”videoUrl”:”/videos/world/2022/02/24/russia-attacks-ukraine-video-map-newday-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_BB40B832-F3CB-7E5E-4527-2BB38950A28B”},{“descriptionPlainText”:”CNN’s Sam Kiley reports from a home in Novoluhans’ke, Ukraine, that was destroyed by a single artillery shell believed to be fired by pro-Russian forces.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220223062501-sam-kiley-ukraine-shelled-house-large-169.jpg”,”title”:”‘Miraculous survival’: CNN tours shelled home in Ukraine”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/02/23/sam-kiley-shelled-home-novoluhanske-ukraine-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/02/23/sam-kiley-shelled-home-novoluhanske-ukraine-newday-vpx.cnn”,”videoId”:”world/2022/02/23/sam-kiley-shelled-home-novoluhanske-ukraine-newday-vpx.cnn”,”videoUrl”:”/videos/world/2022/02/23/sam-kiley-shelled-home-novoluhanske-ukraine-newday-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_5B8DD231-FF97-4271-062A-2B3BB4EAD1B2″},{“descriptionPlainText”:”As the world is still reeling from the economic impact of Covid-19, Ukrainian business owners are facing another threat – a potential Russian invasion – that could harshly hit the country’s economy. CNN’s Michael Holmes reports from Lviv, Ukraine.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220222180110-split-lviv-ukrainian-business-owners-large-169.jpg”,”title”:”Hear from Ukranian business owners as drumbeat of war grows louder “,”videoCMSUrl”:”/video/data/3.0/video/business/2022/02/22/ukraine-lviv-business-impact-holmes-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2022/02/22/ukraine-lviv-business-impact-holmes-pkg-intl-hnk-vpx.cnn”,”videoId”:”business/2022/02/22/ukraine-lviv-business-impact-holmes-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/business/2022/02/22/ukraine-lviv-business-impact-holmes-pkg-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_AFFB3F64-88E3-D895-C0F3-26FA499F48F8″},{“descriptionPlainText”:”European Commission President Ursula von der Leyen speaks with Christiane Amanpour about the EU’s sanctions in response to Russia’s actions in Ukraine and Nord Stream 2.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220223094247-amanpour-ursula-von-der-leyen-ukraine-large-169.jpg”,”title”:”Von der Leyen: ‘Massive’ EU sanctions ready if Russia escalates militarily”,”videoCMSUrl”:”/video/data/3.0/video/tv/2022/02/23/amanpour-ursula-von-der-leyen-russia-ukraine-sanctions.cnn/index.xml”,”videoLeafUrl”:”/videos/tv/2022/02/23/amanpour-ursula-von-der-leyen-russia-ukraine-sanctions.cnn”,”videoId”:”tv/2022/02/23/amanpour-ursula-von-der-leyen-russia-ukraine-sanctions.cnn”,”videoUrl”:”/videos/tv/2022/02/23/amanpour-ursula-von-der-leyen-russia-ukraine-sanctions.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_D57A83DC-5B21-541D-FF9F-20C5F6839D0F”},{“descriptionPlainText”:”CNN’s Tom Foreman uses a map to break down some of the potential military strategies Russia may use to invade Ukraine. On Monday, Russian President Vladimir Putin ordered troops into separatist-held parts of eastern Ukraine in what the Kremlin called a “peacekeeping” mission, just hours after he signed decrees recognizing the independence of the Moscow-backed regions.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220222172828-screengrab-tom-foreman-large-169.jpg”,”title”:”Map shows what a potential Russian invasion may look like now”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/02/22/ukraine-russia-military-foreman-lkl-magic-wall-ovn-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/02/22/ukraine-russia-military-foreman-lkl-magic-wall-ovn-intl-hnk-vpx.cnn”,”videoId”:”world/2022/02/22/ukraine-russia-military-foreman-lkl-magic-wall-ovn-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2022/02/22/ukraine-russia-military-foreman-lkl-magic-wall-ovn-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_5A33EFA0-E321-0704-4D39-25F131306781″},{“descriptionPlainText”:”Ahead of Russian President Vladimir Putin’s meeting with China’s President Xi Jinping, CNN’s Bianca Nobilo speaks to the US Permanent Representative to NATO Julianne Smith about the relationship between the two world leaders.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220202012553-xi-putin-split-large-169.jpg”,”title”:”US NATO representative weighs in on relationship between Russia and China (Feb. 4, 2022) “,”videoCMSUrl”:”/video/data/3.0/video/world/2022/02/04/russia-china-putin-xi-relationship-tgb-intl-ovn-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/02/04/russia-china-putin-xi-relationship-tgb-intl-ovn-sot-vpx.cnn”,”videoId”:”world/2022/02/04/russia-china-putin-xi-relationship-tgb-intl-ovn-sot-vpx.cnn”,”videoUrl”:”/videos/world/2022/02/04/russia-china-putin-xi-relationship-tgb-intl-ovn-sot-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_4FD6F151-C03A-33F5-57D1-20A17F9BF005″},{“descriptionPlainText”:”CNN’S John Avlon and Brianna Keilar debate the importance of fighting for democracy abroad versus addressing the kitchen table issues affecting Americans every day.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220222083642-avlon-keilar-split-vpx-large-169.jpg”,”title”:”Keilar challenges Avlon on US impact of defending democracy in Ukraine”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/02/22/democracy-importance-kitchen-table-issues-newday-avlon-keilar-intv-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/02/22/democracy-importance-kitchen-table-issues-newday-avlon-keilar-intv-vpx.cnn”,”videoId”:”world/2022/02/22/democracy-importance-kitchen-table-issues-newday-avlon-keilar-intv-vpx.cnn”,”videoUrl”:”/videos/world/2022/02/22/democracy-importance-kitchen-table-issues-newday-avlon-keilar-intv-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_B613427F-3735-1DA1-336C-C2D5494F040D”},{“descriptionPlainText”:”CNN’s Brian Todd breaks down Russian President Vladimir Putin’s potential motive for invading Ukraine.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201215030503-vladimir-putin-1126-file-large-169.jpg”,”title”:”‘The crown jewel that was lost’: This is why Putin wants Ukraine”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/02/18/russia-putin-motives-reason-threat-ukraine-invasion-tsr-todd-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/02/18/russia-putin-motives-reason-threat-ukraine-invasion-tsr-todd-pkg-vpx.cnn”,”videoId”:”world/2022/02/18/russia-putin-motives-reason-threat-ukraine-invasion-tsr-todd-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2022/02/18/russia-putin-motives-reason-threat-ukraine-invasion-tsr-todd-pkg-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_0F6B1060-F550-F180-8524-2171B16C7B1E”},{“descriptionPlainText”:”CNN’s Nic Robertson says that Russian President Vladimir Putin, during a made-for-TV speech from the Kremlin, made his case that Ukraine was always a part of Russia, which indicates that Putin is looking to reacquire all of Ukraine.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220221134701-01-screengrab-putin-address-large-169.jpg”,”title”:”‘Madness’: Putin addresses Ukraine during speech”,”videoCMSUrl”:”/video/data/3.0/video/world/2022/02/21/putin-russia-ukraine-history-robertson-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2022/02/21/putin-russia-ukraine-history-robertson-sot-vpx.cnn”,”videoId”:”world/2022/02/21/putin-russia-ukraine-history-robertson-sot-vpx.cnn”,”videoUrl”:”/videos/world/2022/02/21/putin-russia-ukraine-history-robertson-sot-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_A3C2B3B2-E5ED-4B49-3F2A-0A391B207DA8″},{“descriptionPlainText”:”Global stocks slide as investors react to President Vladimir Putin’s decision to order troops into eastern Ukraine. CNN’s Christine Romans reports the big reaction is in the oil markets.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220214083030-russia-oil-prices-inflation-large-169.jpg”,”title”:”Oil prices surge after Russia orders troops into Ukraine”,”videoCMSUrl”:”/video/data/3.0/video/business/2022/02/22/markets-russia-ukraine-oil-energy-vpx.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2022/02/22/markets-russia-ukraine-oil-energy-vpx.cnnbusiness”,”videoId”:”business/2022/02/22/markets-russia-ukraine-oil-energy-vpx.cnnbusiness”,”videoUrl”:”/videos/business/2022/02/22/markets-russia-ukraine-oil-energy-vpx.cnnbusiness/video/playlists/around-the-world/”,”surrogateKey”:”video_0300C4A0-061A-650E-9832-1DB580BDFAD3″}],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/02/24/timeline-of-events-russia-ukraine-lon-orig.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-15hgwio’,videoDescriptionDivId: ‘js-video_description-15hgwio’,videoDurationDivId: ‘js-video_duration-15hgwio’,videoTitleDivId: ‘js-leaf-video_headline-15hgwio’,videoSourceDivId: ‘js-video_sourceName-15hgwio’});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