Video shows Mexican president in a crowd of children during coronavirus pandemic

0
11

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘world/2020/03/25/mexico-brazil-response-coronavirus-rivers-lead-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/200325172113-mexicos-president-rivers-hit-lead-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200325172113-mexicos-president-rivers-hit-lead-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200325172113-mexicos-president-rivers-hit-lead-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200325172113-mexicos-president-rivers-hit-lead-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200325172113-mexicos-president-rivers-hit-lead-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200325172113-mexicos-president-rivers-hit-lead-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200325172113-mexicos-president-rivers-hit-lead-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Political leaders in some Latin American countries, including Mexico and Brazil, have downplayed the severity of the coronavirus pandemic in their own countries. CNN’s Matt Rivers reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200325172113-mexicos-president-rivers-hit-lead-large-169.jpg”,”title”:”Video shows Mexican president in a crowd of children”,”videoCMSUrl”:”/videos/world/2020/03/25/mexico-brazil-response-coronavirus-rivers-lead-vpx.cnn”,”videoLeafUrl”:”/videos/world/2020/03/25/mexico-brazil-response-coronavirus-rivers-lead-vpx.cnn”,”videoId”:”world/2020/03/25/mexico-brazil-response-coronavirus-rivers-lead-vpx.cnn”,”videoUrl”:”/videos/world/2020/03/25/mexico-brazil-response-coronavirus-rivers-lead-vpx.cnn”,”surrogateKey”:”video_1AFB3AA8-DCF6-E322-BE2F-13726D0251E2″},{“descriptionPlainText”:”A police officer in West London ask residents to take the lockdown more seriously as dozens were gathered in the park, trying to enjoy the weather.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200325114111-uk-police-west-london-large-169.jpg”,”title”:”Officer interrupts sunbathers: This is not a holiday”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/03/25/west-london-sunbathers-police-no-holiday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/03/25/west-london-sunbathers-police-no-holiday-vpx.cnn”,”videoId”:”world/2020/03/25/west-london-sunbathers-police-no-holiday-vpx.cnn”,”videoUrl”:”/videos/world/2020/03/25/west-london-sunbathers-police-no-holiday-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_A9B07260-F573-800D-0F54-1249A4F4AF3D”},{“descriptionPlainText”:”Rick Kyle, an American citizen living in Goito, Italy, has been documenting his days inside his home, as the country of 60 million is under a total coronavirus lockdown.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200325154701-diary-thumbnail-orig-video-large-169.jpg”,”title”:”Coronavirus lockdown in Italy: a US citizen’s diary”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/03/25/coronavirus-italy-lockdown-diary-lon-orig-bks.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/03/25/coronavirus-italy-lockdown-diary-lon-orig-bks.cnn”,”videoId”:”world/2020/03/25/coronavirus-italy-lockdown-diary-lon-orig-bks.cnn”,”videoUrl”:”/videos/world/2020/03/25/coronavirus-italy-lockdown-diary-lon-orig-bks.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_F621B906-7741-3DAF-57D2-122FDF66B462″},{“descriptionPlainText”:”CNN’s David Culver speaks to Wuhan residents as the Chinese city where the novel coronavirus was first detected has announced it will lift the lockdown on April 8, marking a significant milestone in its battle against the deadly outbreak.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200324092735-05-hubei-0318-large-169.jpg”,”title”:”She’s been in lockdown for 2 months. See how she’s handling it.”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/03/25/coronavirus-covid-19-pandemic-china-wuhan-lifting-lockdown-hubei-culver-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/03/25/coronavirus-covid-19-pandemic-china-wuhan-lifting-lockdown-hubei-culver-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2020/03/25/coronavirus-covid-19-pandemic-china-wuhan-lifting-lockdown-hubei-culver-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2020/03/25/coronavirus-covid-19-pandemic-china-wuhan-lifting-lockdown-hubei-culver-pkg-intl-ldn-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_692D837A-EBE1-3F06-C24C-12163C82C55E”},{“descriptionPlainText”:”Prince Charles has tested positive for the novel coronavirus and is now self-isolating in Scotland. “He has been displaying mild symptoms, but otherwise remains in good health,” according to a statement from his office.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200325104319-02-prince-charles-0310-large-169.jpg”,”title”:”Prince Charles, 71, tests positive for coronavirus”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/03/25/uk-coronavirus-covid-19-pandemic-prince-charles-tests-positive-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/03/25/uk-coronavirus-covid-19-pandemic-prince-charles-tests-positive-intl-ldn-vpx.cnn”,”videoId”:”world/2020/03/25/uk-coronavirus-covid-19-pandemic-prince-charles-tests-positive-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2020/03/25/uk-coronavirus-covid-19-pandemic-prince-charles-tests-positive-intl-ldn-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_F9B4A09F-B6C8-6009-FC7D-11034A61805D”},{“descriptionPlainText”:”Prime Minister Narendra Modi ordered a “complete” lockdown for India’s 1.3 billion people on Tuesday, warning that “many families will be destroyed forever” if the country didn’t get to grips with its coronavirus outbreak.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200323120329-india-lockdown-large-169.jpg”,”title”:”India, population 1.3 billion, orders ‘complete’ coronavirus lockdown”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/03/23/india-lockdown-coronavirus-restrictions-lon-orig-mrg.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/03/23/india-lockdown-coronavirus-restrictions-lon-orig-mrg.cnn”,”videoId”:”world/2020/03/23/india-lockdown-coronavirus-restrictions-lon-orig-mrg.cnn”,”videoUrl”:”/videos/world/2020/03/23/india-lockdown-coronavirus-restrictions-lon-orig-mrg.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_59E368F0-1BF6-C1D7-B42D-081BE29F9A5F”},{“descriptionPlainText”:”CNN’s Nick Paton Walsh reports from central London after British Prime Minister Boris Johnson imposed the most stringent social restrictions on the British public since the end of the Second World War.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200324121755-london-lockdown-empty-streets-coronavirus-large-169.jpg”,”title”:”CNN reporter: ‘Unimaginable’ scenes in central London”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/03/24/uk-coronavirus-covid-19-pandemic-london-lockdown-boris-johnson-npw-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/03/24/uk-coronavirus-covid-19-pandemic-london-lockdown-boris-johnson-npw-intl-ldn-vpx.cnn”,”videoId”:”world/2020/03/24/uk-coronavirus-covid-19-pandemic-london-lockdown-boris-johnson-npw-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2020/03/24/uk-coronavirus-covid-19-pandemic-london-lockdown-boris-johnson-npw-intl-ldn-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_008232B5-D216-D58D-68EB-0C618E2EFEC2″},{“descriptionPlainText”:”Fiona Lowenstein, 26, thought she could ride out the Coronavirus at home, but ended up with difficulty breathing and had to spend 2 nights in the hospital.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200324015400-26-yr-old-coronavirus-large-169.jpg”,”title”:”26-year-old shares experience with coronavirus”,”videoCMSUrl”:”/video/data/3.0/video/tv/2020/03/24/im-26-coronavirus-sent-me-to-the-hospital.cnn/index.xml”,”videoLeafUrl”:”/videos/tv/2020/03/24/im-26-coronavirus-sent-me-to-the-hospital.cnn”,”videoId”:”tv/2020/03/24/im-26-coronavirus-sent-me-to-the-hospital.cnn”,”videoUrl”:”/videos/tv/2020/03/24/im-26-coronavirus-sent-me-to-the-hospital.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_52372FCE-DF29-77A4-A658-0A75F38F52FD”},{“descriptionPlainText”:”Health workers in Madrid, Spain, are resorting to increasingly desperate measures as the coronavirus pandemic strains the country’s health system to breaking point. CNN’s Scott McLean reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200324100434-spain-coronavirus-covid-19-pandemic-health-system-madrid-mclean-pkg-intl-ldn-vpx-00024026-large-169.jpg”,”title”:”Doctors in Spain use ‘desperate’ measures to fight coronavirus”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/03/24/spain-coronavirus-covid-19-pandemic-health-system-madrid-mclean-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/03/24/spain-coronavirus-covid-19-pandemic-health-system-madrid-mclean-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2020/03/24/spain-coronavirus-covid-19-pandemic-health-system-madrid-mclean-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2020/03/24/spain-coronavirus-covid-19-pandemic-health-system-madrid-mclean-pkg-intl-ldn-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_EF0E1661-482D-86A6-2AED-0BE1AFE36CFF”},{“descriptionPlainText”:”The UK is banning people from leaving their homes apart from for a few “very limited” reasons, Prime Minister Boris Johnson announced, as he imposed the most stringent restrictions seen in Britain since the end of World War II.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200323174315-boris-johnson-coronavirus-address-to-nation-03232020-large-169.jpg”,”title”:”Boris Johnson issues stay-at-home order for UK”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/03/23/uk-boris-johnson-coronavirus-restrictions-remarks-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/03/23/uk-boris-johnson-coronavirus-restrictions-remarks-sot-vpx.cnn”,”videoId”:”world/2020/03/23/uk-boris-johnson-coronavirus-restrictions-remarks-sot-vpx.cnn”,”videoUrl”:”/videos/world/2020/03/23/uk-boris-johnson-coronavirus-restrictions-remarks-sot-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_03A090DB-29B7-578A-F15F-095352D52A30″},{“descriptionPlainText”:”The coronavirus outbreak in Italy is now the deadliest in the world, and officials are taking to social media to scold people who are going outside despite orders to stay in.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200323213934-italian-mayors-scold-large-169.jpg”,”title”:”Italian officials scold people violating lockdown orders”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/03/24/coronavirus-italian-mayors-officials-warnings-mh-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/03/24/coronavirus-italian-mayors-officials-warnings-mh-orig.cnn”,”videoId”:”world/2020/03/24/coronavirus-italian-mayors-officials-warnings-mh-orig.cnn”,”videoUrl”:”/videos/world/2020/03/24/coronavirus-italian-mayors-officials-warnings-mh-orig.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_8D6E085B-CE0C-F83B-BF50-09F855976CB8″},{“descriptionPlainText”:”Doctors are on the front lines of Europe’s battle against the coronavirus. But a hospital in northern Italy is already creaking under the strain. Beyond the shortage of beds and ventilators, the doctors themselves are getting sick. CNN’s Melissa Bell reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200323134400-italy-coronavirus-pandemic-covid-19-doctor-icu-hospital-bell-pkg-intl-ldn-vpx-00004428-large-169.jpg”,”title”:”Inside Italian hospital on frontline of coronavirus fight”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/03/23/italy-coronavirus-pandemic-covid-19-doctor-icu-hospital-bell-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/03/23/italy-coronavirus-pandemic-covid-19-doctor-icu-hospital-bell-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2020/03/23/italy-coronavirus-pandemic-covid-19-doctor-icu-hospital-bell-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2020/03/23/italy-coronavirus-pandemic-covid-19-doctor-icu-hospital-bell-pkg-intl-ldn-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_2A0869DA-FD8B-786B-3C8D-07745FF94338″},{“descriptionPlainText”:”Millions of people across India have been placed under lockdown until March 31 as authorities ramp up efforts to curb the spread of the novel coronavirus. CNN’s Vedika Sud reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200323120329-india-lockdown-large-169.jpg”,”title”:”Indian cities deserted as coronavirus curfew extended”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/03/23/india-coronavirus-lockdown-curfew-sud-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/03/23/india-coronavirus-lockdown-curfew-sud-intl-hnk-vpx.cnn”,”videoId”:”world/2020/03/23/india-coronavirus-lockdown-curfew-sud-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2020/03/23/india-coronavirus-lockdown-curfew-sud-intl-hnk-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_AE15D12E-C71E-4111-EDE4-065BC01C20B5″},{“descriptionPlainText”:”Scientists at the University of Oxford have developed a rapid testing technology for the novel coronavirus, according to a press release from the university. CNN’s Nick Paton Walsh reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200323103959-uk-coronavirus-outbreak-pandemic-covid-19-test-oxford-university-npw-pkg-intl-ldn-vpx-00014612-large-169.jpg”,”title”:”Inside Oxford lab developing 30 minute coronavirus test”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/03/23/uk-coronavirus-outbreak-pandemic-covid-19-test-oxford-university-npw-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/03/23/uk-coronavirus-outbreak-pandemic-covid-19-test-oxford-university-npw-pkg-intl-ldn-vpx.cnn”,”videoId”:”health/2020/03/23/uk-coronavirus-outbreak-pandemic-covid-19-test-oxford-university-npw-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/health/2020/03/23/uk-coronavirus-outbreak-pandemic-covid-19-test-oxford-university-npw-pkg-intl-ldn-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_42CC786E-5353-F4C1-FEFC-06DC6D60860C”},{“descriptionPlainText”:”In the face of the Covid-19 pandemic, small sushi joints in Tokyo are struggling, with some facing the possibility of closure. CNN’s Blake Essig reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200323102046-japan-coronavirus-fish-market-sushi-slump-essig-pkg-intl-hnk-vpx-00000506-large-169.jpg”,”title”:”Pandemic takes toll on small sushi joints in Japan”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/03/23/japan-coronavirus-fish-market-sushi-slump-essig-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/03/23/japan-coronavirus-fish-market-sushi-slump-essig-pkg-intl-hnk-vpx.cnn”,”videoId”:”travel/2020/03/23/japan-coronavirus-fish-market-sushi-slump-essig-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/travel/2020/03/23/japan-coronavirus-fish-market-sushi-slump-essig-pkg-intl-hnk-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_A650073E-C9AA-D6AC-8EAA-04FA4130037E”},{“descriptionPlainText”:”As the number of novel coronavirus cases slows to a trickle within China but continues to soar outside, Chinese authorities are stepping up measures to prevent a surge in cross-border infections. CNN’s David Culver reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200320105412-coronavirus-outbreak-pandemic-china-high-alert-second-wave-culver-pkg-intl-ldn-vpx-00013616-large-169.jpg”,”title”:”Potential coronavirus second wave has China on high alert”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/03/20/coronavirus-outbreak-pandemic-china-high-alert-second-wave-culver-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/03/20/coronavirus-outbreak-pandemic-china-high-alert-second-wave-culver-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2020/03/20/coronavirus-outbreak-pandemic-china-high-alert-second-wave-culver-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2020/03/20/coronavirus-outbreak-pandemic-china-high-alert-second-wave-culver-pkg-intl-ldn-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_19608F27-246F-C264-B60C-F75D2D33D85A”}],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/2020/03/25/mexico-brazil-response-coronavirus-rivers-lead-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-1h0u5jz’,videoDescriptionDivId: ‘js-video_description-1h0u5jz’,videoDurationDivId: ‘js-video_duration-1h0u5jz’,videoTitleDivId: ‘js-leaf-video_headline-1h0u5jz’,videoSourceDivId: ‘js-video_sourceName-1h0u5jz’});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 link

LEAVE A REPLY