This country is selling Covid-19 vaccines to tourists

‘);$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/05/17/san-marino-selling-sputnik-covid-vaccine-to-tourists-gallagher-live-hala-gorani-tonight-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/210517190257-san-marino-covid-vaccine-shot-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210517190257-san-marino-covid-vaccine-shot-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210517190257-san-marino-covid-vaccine-shot-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210517190257-san-marino-covid-vaccine-shot-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210517190257-san-marino-covid-vaccine-shot-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210517190257-san-marino-covid-vaccine-shot-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210517190257-san-marino-covid-vaccine-shot-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”The country of San Marino is now selling Russia’s Sputnik Covid-19 vaccine to tourists. CNN’s Delia Gallagher reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210517190257-san-marino-covid-vaccine-shot-large-169.jpg”,”title”:”This country is selling Covid-19 vaccines to tourists”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/17/san-marino-selling-sputnik-covid-vaccine-to-tourists-gallagher-live-hala-gorani-tonight-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/17/san-marino-selling-sputnik-covid-vaccine-to-tourists-gallagher-live-hala-gorani-tonight-vpx.cnn”,”videoId”:”world/2021/05/17/san-marino-selling-sputnik-covid-vaccine-to-tourists-gallagher-live-hala-gorani-tonight-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/17/san-marino-selling-sputnik-covid-vaccine-to-tourists-gallagher-live-hala-gorani-tonight-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_9AF77AB4-0AD3-CA36-FDE1-7C8553CE87E0″},{“descriptionPlainText”:”The slow vaccine rollout and continuing surge of cases across most Latin American countries has pushed some with the means to travel to the US in order to get their Covid-19 vaccine. CNN’s Rafael Romo reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210517123443-elver-estela-covid-tourism-latin-america-romo-pkg-large-169.jpg”,”title”:”Why some Latin Americans are getting vaccinated in US”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/17/coronavirus-vaccine-latin-america-us-florida-romo-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/17/coronavirus-vaccine-latin-america-us-florida-romo-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2021/05/17/coronavirus-vaccine-latin-america-us-florida-romo-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/17/coronavirus-vaccine-latin-america-us-florida-romo-pkg-intl-ldn-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_6FC297A0-EAE9-01C0-DA71-7A4474AE89ED”},{“descriptionPlainText”:”The Covid-19 crisis in India has affected the country’s ability to distribute vaccines to other places in need, like Syria. CNN’s Arwa Damon reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210510204012-coronavirus-vaccine-distribution-idlib-syria-damon-pkg-ctw-vpx-00010501-large-169.png”,”title”:”India’s vaccine delays impact rebel-held Idlib in Syria”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/11/coronavirus-vaccine-distribution-idlib-syria-damon-pkg-ctw-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/11/coronavirus-vaccine-distribution-idlib-syria-damon-pkg-ctw-vpx.cnn”,”videoId”:”world/2021/05/11/coronavirus-vaccine-distribution-idlib-syria-damon-pkg-ctw-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/11/coronavirus-vaccine-distribution-idlib-syria-damon-pkg-ctw-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_9AF77AB4-0AD3-CA36-FDE1-7C8553CE87E0″},{“descriptionPlainText”:”Frustration in Colombia over the coronavirus pandemic’s crushing economic pain has sparked nearly two weeks of deadly protests. CNN’s Polo Sandoval reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210510125534-03-colombia-protests-large-169.jpg”,”title”:”Colombia’s pandemic response sparks deadly protests “,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/10/colombia-protests-coronavirus-pandemic-intl-sandoval-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/10/colombia-protests-coronavirus-pandemic-intl-sandoval-lead-vpx.cnn”,”videoId”:”world/2021/05/10/colombia-protests-coronavirus-pandemic-intl-sandoval-lead-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/10/colombia-protests-coronavirus-pandemic-intl-sandoval-lead-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_D0461670-63B0-2B0D-7439-79FB5E6BAB6D”},{“descriptionPlainText”:”As Nepal’s Covid-19 cases spike, hospitals are starting to turn patients away and doctors are raising the alarm about what they’re calling a “crisis of oxygen.” Amid the catastrophe, the Prime Minister lost a vital confidence vote, leaving his government heading for collapse. CNN’s Anna Coren reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210512100931-nepal-coronavirus-covid-19-crisis-pkg-intl-hnk-vpx-00010613-large-169.png”,”title”:”Everest climbers asked to return oxygen canisters amid Covid crisis”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/12/nepal-coronavirus-covid-19-crisis-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/12/nepal-coronavirus-covid-19-crisis-pkg-intl-hnk-vpx.cnn”,”videoId”:”world/2021/05/12/nepal-coronavirus-covid-19-crisis-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/12/nepal-coronavirus-covid-19-crisis-pkg-intl-hnk-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_0EC24171-86C8-E341-8495-58C693CC48F4″},{“descriptionPlainText”:”Covid-19 vaccine supplies are nearly depleted in Kenya, prompting fears among health experts. CNN’s Jomana Karadsheh reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210514150318-doctor-ahmed-kalebi-large-169.jpg”,”title”:”One of Kenya’s top scientists has a warning for the world”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/14/covid-19-vaccine-kenya-kardsheh-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/14/covid-19-vaccine-kenya-kardsheh-pkg-vpx.cnn”,”videoId”:”world/2021/05/14/covid-19-vaccine-kenya-kardsheh-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/14/covid-19-vaccine-kenya-kardsheh-pkg-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_2BBD39B5-CA43-3E31-28F5-584AC81F9408″},{“descriptionPlainText”:”New vaccine platforms are being developed that could transform access and ease of use for future pandemics, as well as for fighting existing diseases.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210504164309-new-vaccines-in-development-covid-future-pandemics-orig-mg-00004205-large-169.png”,”title”:”A vaccine without needles? It’s on the way”,”videoCMSUrl”:”/video/data/3.0/video/health/2021/05/04/new-vaccines-in-development-covid-future-pandemics-orig-mg.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2021/05/04/new-vaccines-in-development-covid-future-pandemics-orig-mg.cnn”,”videoId”:”health/2021/05/04/new-vaccines-in-development-covid-future-pandemics-orig-mg.cnn”,”videoUrl”:”/videos/health/2021/05/04/new-vaccines-in-development-covid-future-pandemics-orig-mg.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_CF1A1D7A-AE68-CFC7-40C9-5E444FA3FEFA”},{“descriptionPlainText”:”Hundreds of Spanish citizens were seen partying as the country ended its coronavirus curfew in 13 of the country’s 17 regions. CNN’s Scott McLean reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210510124706-spain-end-state-of-emergency-coronavirus-covid-19-lok-mclean-intl-hnk-vpx-00000905-large-169.png”,”title”:”See celebrations in Spain as coronavirus curfew ends”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/10/spain-end-state-of-emergency-coronavirus-covid-19-lok-mclean-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/10/spain-end-state-of-emergency-coronavirus-covid-19-lok-mclean-intl-hnk-vpx.cnn”,”videoId”:”world/2021/05/10/spain-end-state-of-emergency-coronavirus-covid-19-lok-mclean-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/10/spain-end-state-of-emergency-coronavirus-covid-19-lok-mclean-intl-hnk-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_E2933C8F-0BB0-026C-91D2-6C43A24957CD”},{“descriptionPlainText”:”Nepal’s Prime Minister K. P. Sharma Oli tells CNN Nepal’s coronavirus situation is under control and they’re taking “serious measures” to supply oxygen and hospital beds.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210508075913-01-kathmandu-nepal-coronavirus-0426-large-169.jpg”,”title”:”Nepal PM: Covid situation is under control”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/08/nepal-covid-coronavirus-prime-minister-sharma-oli.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/08/nepal-covid-coronavirus-prime-minister-sharma-oli.cnn”,”videoId”:”world/2021/05/08/nepal-covid-coronavirus-prime-minister-sharma-oli.cnn”,”videoUrl”:”/videos/world/2021/05/08/nepal-covid-coronavirus-prime-minister-sharma-oli.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_C7F122EA-A9E6-26B2-94EC-389EBF6D67DD”},{“descriptionPlainText”:”In less than three months, the world will be watching as Japan attempts to host the Summer Olympics in the midst of a global pandemic. As a fourth coronavirus wave takes shape, doctors fear the country’s medical system could be pushed beyond the breaking point. CNN’s Blake Essig gets rare access to the Covid-19 ward at Saitama Medical University International Medical Center.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210507154835-japan-coronavirus-olympics-essig-dnt-intl-ldn-vpx-00004629-large-169.png”,”title”:”Japan nears a Covid-19 crisis. The Olympics could tip it over the edge”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/07/japan-coronavirus-olympics-essig-dnt-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/07/japan-coronavirus-olympics-essig-dnt-intl-ldn-vpx.cnn”,”videoId”:”world/2021/05/07/japan-coronavirus-olympics-essig-dnt-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/07/japan-coronavirus-olympics-essig-dnt-intl-ldn-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_701123D6-F11A-15A7-492F-548804E71D05″},{“descriptionPlainText”:”British medical researcher Jeremy Farrar talks with CNN’s Christiane Amanpour about vaccine patents and the need to share resources and medical breakthroughs with the developing world in the fight against coronavirus.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210507181653-farrar-amanpour-split-large-169.jpg”,”title”:”Medical researcher: We should be sharing vaccines with developing world”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/07/medical-researcher-jeremy-farrar-vaccine-patents-amanpour-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/07/medical-researcher-jeremy-farrar-vaccine-patents-amanpour-sot-vpx.cnn”,”videoId”:”world/2021/05/07/medical-researcher-jeremy-farrar-vaccine-patents-amanpour-sot-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/07/medical-researcher-jeremy-farrar-vaccine-patents-amanpour-sot-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_2383931C-D8E3-D69D-E35C-4C28ACECC45D”},{“descriptionPlainText”:”An oxygen shortage throughout Argentina has brought the country’s healthcare system to the brink of collapse. CNN’s Rafael Romo reports on why this is such a big problem and how the government is scrambling to get oxygen to coronavirus patients.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210507124350-argentina-coronavirus-pandemic-oxygen-shortage-romo-pkg-intl-ldn-vpx-00004312-large-169.png”,”title”:”Argentina’s health system is on the brink of collapse”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/07/argentina-coronavirus-pandemic-oxygen-shortage-romo-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/07/argentina-coronavirus-pandemic-oxygen-shortage-romo-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2021/05/07/argentina-coronavirus-pandemic-oxygen-shortage-romo-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/07/argentina-coronavirus-pandemic-oxygen-shortage-romo-pkg-intl-ldn-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_08F6751E-18BD-4AD2-BFF3-4726DBD07555″},{“descriptionPlainText”:”Srinivas B.V., a political organizer from New Delhi, India, is on a mission to help as many people as he can with medical supplies he says should be coming from the government. CNN’s Vedika Sud meets the people who owe their lives to the man they call the “Covid Warrior” amid a crisis that has seen the country report more than 3,000 Covid-19 deaths in each of the past few days.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210507143241-india-coronavirus-delhi-oxygen-sud-pkg-intl-ldn-vpx-00022227-large-169.png”,”title”:”Meet the man who fights to find oxygen for Delhi’s Covid patients”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/07/india-coronavirus-delhi-oxygen-sud-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/07/india-coronavirus-delhi-oxygen-sud-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2021/05/07/india-coronavirus-delhi-oxygen-sud-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/07/india-coronavirus-delhi-oxygen-sud-pkg-intl-ldn-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_2CE74F10-F45B-1EB2-17AA-48D9B1813382″},{“descriptionPlainText”:”Medical staff in India were ordered to flee from an ICU in fear of attacks from grieving family members. CNN’s Sam Kiley reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210506172055-india-doctor-attacks-large-169.jpg”,”title”:”Medical staff in India ordered to run from ICU fearing backlash”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/06/india-doctors-hiding-kiley-pkg-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/06/india-doctors-hiding-kiley-pkg-lead-vpx.cnn”,”videoId”:”world/2021/05/06/india-doctors-hiding-kiley-pkg-lead-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/06/india-doctors-hiding-kiley-pkg-lead-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_08B7668F-9D99-B316-A947-469052EC4B3B”},{“descriptionPlainText”:”Protests are being held in Tokyo to support the cancellation of the Olympic Games as the Covid-19 pandemic worsens in the country. Japan has only fully vaccinated about 1% of its population.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210517133512-tokyo-2020-protest-may-17-large-169.jpg”,”title”:”Anti-Olympics protests in Tokyo as Covid-19 outbreak worsens in Japan”,”videoCMSUrl”:”/video/data/3.0/video/sports/2021/05/17/japan-protests-olympics-tokyo-2020-less-than-10-weeks-spt-intl.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2021/05/17/japan-protests-olympics-tokyo-2020-less-than-10-weeks-spt-intl.cnn”,”videoId”:”sports/2021/05/17/japan-protests-olympics-tokyo-2020-less-than-10-weeks-spt-intl.cnn”,”videoUrl”:”/videos/sports/2021/05/17/japan-protests-olympics-tokyo-2020-less-than-10-weeks-spt-intl.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_44CE6E6D-1B0C-C52F-C8B7-46EF35B8B5A4″}],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/05/17/san-marino-selling-sputnik-covid-vaccine-to-tourists-gallagher-live-hala-gorani-tonight-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-ubu32b’,videoDescriptionDivId: ‘js-video_description-ubu32b’,videoDurationDivId: ‘js-video_duration-ubu32b’,videoTitleDivId: ‘js-leaf-video_headline-ubu32b’,videoSourceDivId: ‘js-video_sourceName-ubu32b’});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