See aftermath of deadly Madrid explosion

‘);$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/01/20/madrid-blast-aerial-video-orig-bl.cnn’,width: ‘100%’,height: ‘100%’,section: ‘international’,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/210120142812-madrid-blast-reuters-police-aerial-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210120142812-madrid-blast-reuters-police-aerial-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210120142812-madrid-blast-reuters-police-aerial-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210120142812-madrid-blast-reuters-police-aerial-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210120142812-madrid-blast-reuters-police-aerial-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210120142812-madrid-blast-reuters-police-aerial-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210120142812-madrid-blast-reuters-police-aerial-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”At least three people were killed in an explosion caused by a suspected gas leak in the Spanish capital, Madrid. See aerial footage of the damage it left behind.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210120142812-madrid-blast-reuters-police-aerial-large-169.jpg”,”title”:”See the aftermath of the Madrid explosion”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/01/20/madrid-blast-aerial-video-orig-bl.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/01/20/madrid-blast-aerial-video-orig-bl.cnn”,”videoId”:”world/2021/01/20/madrid-blast-aerial-video-orig-bl.cnn”,”videoUrl”:”/videos/world/2021/01/20/madrid-blast-aerial-video-orig-bl.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_38A6C86D-36E3-52B8-8A24-213F9A877549″},{“descriptionPlainText”:”Russia’s leading Kremlin critic Alexey Navalny is calling on his supporters to hit the streets for nationwide protests in Russia after he was detained by local police moments after returning to the country.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210118163553-alexey-navalny-toad-large-169.jpg”,”title”:”Navalny urges his supporters to hit the streets”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/01/18/alexey-navalny-supporters-vladimir-putin-toad-pleitgen-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/01/18/alexey-navalny-supporters-vladimir-putin-toad-pleitgen-sot-vpx.cnn”,”videoId”:”world/2021/01/18/alexey-navalny-supporters-vladimir-putin-toad-pleitgen-sot-vpx.cnn”,”videoUrl”:”/videos/world/2021/01/18/alexey-navalny-supporters-vladimir-putin-toad-pleitgen-sot-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_2B670ABF-DF5D-79A2-C21E-29F26EDF30FC”},{“descriptionPlainText”:”Russian President Vladimir Putin took a bracing dip at his suburban estate Novo-Ogaryovo on January 19 for an Orthodox Christian ritual which marks the feast of the Epiphany.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210119142608-putin-epiphany-0119-large-169.jpg”,”title”:”See Putin take part in traditional icy Epiphany dip”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/01/19/putin-russia-icy-epiphany-dip-ctw-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/01/19/putin-russia-icy-epiphany-dip-ctw-intl-ldn-vpx.cnn”,”videoId”:”world/2021/01/19/putin-russia-icy-epiphany-dip-ctw-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/01/19/putin-russia-icy-epiphany-dip-ctw-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_96649112-1ABC-DAB1-E526-28D24101F674″},{“descriptionPlainText”:”Guatemalan authorities fired tear gas and used their batons on a group of US-bound migrants in a caravan trying to move towards Mexico through Guatemala. An estimated 7,000 to 8,000 migrants have entered Guatemala from Honduras since January 15. CNN’s Patrick Oppmann reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210118102534-guatemala-honduras-migrants-tear-gas-oppmann-intl-ldn-vpx-00000604-large-169.png”,”title”:”Authorities use tear gas and batons against US-bound migrants”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/01/18/guatemala-honduras-migrants-tear-gas-oppmann-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/01/18/guatemala-honduras-migrants-tear-gas-oppmann-intl-ldn-vpx.cnn”,”videoId”:”world/2021/01/18/guatemala-honduras-migrants-tear-gas-oppmann-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/01/18/guatemala-honduras-migrants-tear-gas-oppmann-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_D27DD6C6-DF1A-461F-7F3A-25AFAFAF6551″},{“descriptionPlainText”:”With just days to go until President-elect Joe Biden officially moves into the Oval Office, UK Prime Minister Boris Johnson will be looking to maintain the so-called special relationship between Britain and the US after a deadly insurrection on Capitol Hill saw him distancing himself from President Donald Trump. CNN’s Nic Robertson reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201110061436-split-boris-johnson-joe-biden-large-169.jpg”,”title”:”Here’s where the UK-US special relationship could go under Biden”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/01/18/joe-biden-boris-johnson-brexit-europe-uk-us-special-relationship-robertson-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/01/18/joe-biden-boris-johnson-brexit-europe-uk-us-special-relationship-robertson-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2021/01/18/joe-biden-boris-johnson-brexit-europe-uk-us-special-relationship-robertson-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/01/18/joe-biden-boris-johnson-brexit-europe-uk-us-special-relationship-robertson-pkg-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_38A6C86D-36E3-52B8-8A24-213F9A877549″},{“descriptionPlainText”:”Russia’s leading Kremlin critic, Alexey Navalny, was detained by local police, moments after his return to the country and five months after he was poisoned with the nerve agent Novichok. CNN’s Frederik Pleitgen reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210117145137-alexey-navalny-detained-return-flight-russia-germany-pleitgen-nr-vpx-00000801-large-169.jpg”,”title”:”Alexey Navalny arrested on his return to Moscow”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/01/17/alexey-navalny-detained-return-flight-russia-germany-pleitgen-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/01/17/alexey-navalny-detained-return-flight-russia-germany-pleitgen-nr-vpx.cnn”,”videoId”:”world/2021/01/17/alexey-navalny-detained-return-flight-russia-germany-pleitgen-nr-vpx.cnn”,”videoUrl”:”/videos/world/2021/01/17/alexey-navalny-detained-return-flight-russia-germany-pleitgen-nr-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_9E9C34AC-C3F7-C881-633C-1766A99151A4″},{“descriptionPlainText”:”Tropical Cyclone Eloise poses a threat in the Indian Ocean, while northern Australia braces for flooding rains from Tropical Cyclone Kimi. CNN Meteorologist Tom Sater has the details.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210117154548-tropical-weather-southern-hemisphere-sater-0117-large-169.jpg”,”title”:”Tropical activity poses threat in Southern Hemisphere”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/01/17/tropical-weather-southern-hemisphere-sater-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/01/17/tropical-weather-southern-hemisphere-sater-vpx.cnn”,”videoId”:”world/2021/01/17/tropical-weather-southern-hemisphere-sater-vpx.cnn”,”videoUrl”:”/videos/world/2021/01/17/tropical-weather-southern-hemisphere-sater-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_CA4D6BAC-C348-4020-754D-1B54445151A1″},{“descriptionPlainText”:”Dozens of people were killed and hundreds more injured after a powerful 6.2-magnitude earthquake struck Indonesia’s Sulawesi island.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210115183900-sulawesi-island-earthquake-video-thumbnail-large-169.jpg”,”title”:”Woman who is trapped underneath earthquake’s rubble captured on video”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/01/15/sulawesi-island-earthquake-indonesia-lon-orig-na.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/01/15/sulawesi-island-earthquake-indonesia-lon-orig-na.cnn”,”videoId”:”world/2021/01/15/sulawesi-island-earthquake-indonesia-lon-orig-na.cnn”,”videoUrl”:”/videos/world/2021/01/15/sulawesi-island-earthquake-indonesia-lon-orig-na.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_4C13B55B-21AA-9809-249D-14F84867237D”},{“descriptionPlainText”:”More than a hundred people were arrested and five police officers were wounded in Brussels, Belgium, following violent protests on January 13 over the death of Ibrahima Barrie. Barrie, a 23-year-old Black man, lost consciousness at a police station on January 9 shortly after being arrested and later died in hospital.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210115165235-ibrahima-barrie-death-aunt-brussels-belgium-large-169.jpg”,”title”:”Aunt of Black man who died after arrest in Belgium: We want justice”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/01/15/belgium-brussels-ibrahima-barrie-death-protests-arrests-ctw-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/01/15/belgium-brussels-ibrahima-barrie-death-protests-arrests-ctw-intl-ldn-vpx.cnn”,”videoId”:”world/2021/01/15/belgium-brussels-ibrahima-barrie-death-protests-arrests-ctw-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/01/15/belgium-brussels-ibrahima-barrie-death-protests-arrests-ctw-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_AC7E7BBA-D84B-D4DF-87A0-1589867C130F”},{“descriptionPlainText”:”Twitter’s ban on President Trump has set off a fierce international debate around free speech, and who, if anyone, ought to be policing it online. CNN’s Scott McLean reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210115140539-screengrab-us-social-media-large-169.jpg”,”title”:”Tech companies ban Trump, but not other problematic leaders “,”videoCMSUrl”:”/video/data/3.0/video/tech/2021/01/15/twitter-authoritarian-leaders-trump-ban-mclean-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/tech/2021/01/15/twitter-authoritarian-leaders-trump-ban-mclean-pkg-intl-hnk-vpx.cnn”,”videoId”:”tech/2021/01/15/twitter-authoritarian-leaders-trump-ban-mclean-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/tech/2021/01/15/twitter-authoritarian-leaders-trump-ban-mclean-pkg-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_A1636FA8-520F-78A2-7E07-11DF7554930B”},{“descriptionPlainText”:”The rejected cover art for Hergé’s 1936 Tintin comic “The Blue Lotus” was sold for a record-breaking €3.2 million ($3.88 million) in Paris.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210115162436-tintin-herge-auction-large-169.jpg”,”title”:”Rejected Tintin cover breaks world record for comic book art”,”videoCMSUrl”:”/video/data/3.0/video/arts/2021/01/15/tintin-herge-auction-record-jba-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/arts/2021/01/15/tintin-herge-auction-record-jba-lon-orig.cnn”,”videoId”:”arts/2021/01/15/tintin-herge-auction-record-jba-lon-orig.cnn”,”videoUrl”:”/videos/arts/2021/01/15/tintin-herge-auction-record-jba-lon-orig.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_FFBC645E-7AAC-887A-B6D2-11F1E2217563″},{“descriptionPlainText”:”CNN’s Kristie Lu Stout reports on China’s “vaccine diplomacy,” the government’s effort to use their vaccine doses as a strategic tool to strengthen their international relationships.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210109074737-africa-china-coronavirus-vaccine-diplomacy-lu-stout-pkg-vpx-00025522-large-169.png”,”title”:”How China is hoping to use its vaccine as a diplomatic tool “,”videoCMSUrl”:”/video/data/3.0/video/world/2021/01/09/africa-china-coronavirus-vaccine-diplomacy-lu-stout-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/01/09/africa-china-coronavirus-vaccine-diplomacy-lu-stout-pkg-vpx.cnn”,”videoId”:”world/2021/01/09/africa-china-coronavirus-vaccine-diplomacy-lu-stout-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2021/01/09/africa-china-coronavirus-vaccine-diplomacy-lu-stout-pkg-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_46832C68-F1A7-3692-7EDA-07436ADC348B”},{“descriptionPlainText”:”Construction on an enormous trench across Libya, dug by Russian-backed mercenaries Wagner, is raising fears that foreign fighters will not withdraw from the country by January 23, as a UN-brokered peace deal insists. CNN’s Nick Paton Walsh reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210122121612-libya-russian-backed-mercenaries-wagner-investigation-npw-pkg-intl-ldn-vpx-00001519-large-169.png”,”title”:”Images show huge trench being dug by Russian-backed mercenaries”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/01/22/libya-russian-backed-mercenaries-wagner-investigation-npw-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/01/22/libya-russian-backed-mercenaries-wagner-investigation-npw-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2021/01/22/libya-russian-backed-mercenaries-wagner-investigation-npw-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/01/22/libya-russian-backed-mercenaries-wagner-investigation-npw-pkg-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_F750901A-05F5-F743-135B-06DA5253F66D”},{“descriptionPlainText”:”The world responded to the coronavirus pandemic with a series of global failures, according to an independent panel established by the World Health Organization. A damning interim report from the panel highlights how too many countries and institutions were slow to act and take the threat seriously. CNN’s Cyril Vanier reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210122150204-screengrab-who-independent-panel-large-169.jpg”,”title”:”WHO and China criticized for slow Covid-19 responses”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/01/22/who-china-criticized-covid-19-response-failure-coronavirus-vanier-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/01/22/who-china-criticized-covid-19-response-failure-coronavirus-vanier-pkg-intl-hnk-vpx.cnn”,”videoId”:”world/2021/01/22/who-china-criticized-covid-19-response-failure-coronavirus-vanier-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/01/22/who-china-criticized-covid-19-response-failure-coronavirus-vanier-pkg-intl-hnk-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_03DC4E0D-6371-813C-3313-04318DBDDCE0″},{“descriptionPlainText”:”Twin suicide bombs rocked a busy market in central Baghdad on January 21, killing at least 32 people and injuring 110 others, according to officials and state media. It was the first suicide attack to strike Baghdad in nearly two years.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210121084018-01-baghdad-attack-0121-large-169.jpg”,”title”:”Dozens killed and hundreds injured in Baghdad suicide blasts”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/01/21/baghdad-iraq-suicide-bombings-ctw-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/01/21/baghdad-iraq-suicide-bombings-ctw-intl-ldn-vpx.cnn”,”videoId”:”world/2021/01/21/baghdad-iraq-suicide-bombings-ctw-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/01/21/baghdad-iraq-suicide-bombings-ctw-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_E31ED0AF-D3F0-FF00-1B04-069F4014B58C”}],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/01/20/madrid-blast-aerial-video-orig-bl.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-1ts4unx’,videoDescriptionDivId: ‘js-video_description-1ts4unx’,videoDurationDivId: ‘js-video_duration-1ts4unx’,videoTitleDivId: ‘js-leaf-video_headline-1ts4unx’,videoSourceDivId: ‘js-video_sourceName-1ts4unx’});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(‘


Source : Cnn