The answer to the mask debate may come from Asia

0
18

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘health/2020/04/04/coronavirus-covid-19-masks-asia-stout-pkg-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/200401141239-hong-kong-face-mask-0323-01-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200401141239-hong-kong-face-mask-0323-01-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200401141239-hong-kong-face-mask-0323-01-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200401141239-hong-kong-face-mask-0323-01-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200401141239-hong-kong-face-mask-0323-01-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200401141239-hong-kong-face-mask-0323-01-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200401141239-hong-kong-face-mask-0323-01-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”As governments in the West wrestle with guidance on face masks, many living in Asia have been diligently wearing them for months since the start of the crisis. And there is evidence that widespread use has led to greater success in infection control. CNN’s Kristie Lu Stout reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200401141239-hong-kong-face-mask-0323-01-large-169.jpg”,”title”:”The answer to the mask debate may come from Asia”,”videoCMSUrl”:”/videos/health/2020/04/04/coronavirus-covid-19-masks-asia-stout-pkg-vpx.cnn”,”videoLeafUrl”:”/videos/health/2020/04/04/coronavirus-covid-19-masks-asia-stout-pkg-vpx.cnn”,”videoId”:”health/2020/04/04/coronavirus-covid-19-masks-asia-stout-pkg-vpx.cnn”,”videoUrl”:”/videos/health/2020/04/04/coronavirus-covid-19-masks-asia-stout-pkg-vpx.cnn”,”surrogateKey”:”video_9C467824-A6A1-AB19-FAD0-44B439DA4B66″},{“descriptionPlainText”:”A microbiologist in Germany believes that the use of an updated version of a 100-year-old Tuberculosis vaccine may work as an intermediate treatment for Covid-19. CNN’s Frederik Pleitgen reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200403173018-fred-pleitgen-germany-tuberculosis-vaccine-coronavirus-3-large-169.jpg”,”title”:”Germany testing tuberculosis drug as coronavirus treatment”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/04/03/germany-coronavirus-tuberculosis-vaccine-treatment-pleitgen-dnt-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/04/03/germany-coronavirus-tuberculosis-vaccine-treatment-pleitgen-dnt-lead-vpx.cnn”,”videoId”:”health/2020/04/03/germany-coronavirus-tuberculosis-vaccine-treatment-pleitgen-dnt-lead-vpx.cnn”,”videoUrl”:”/videos/health/2020/04/03/germany-coronavirus-tuberculosis-vaccine-treatment-pleitgen-dnt-lead-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_0FE86F34-FBEC-BECE-B231-41D980998928″},{“descriptionPlainText”:”Zahara de la Sierra is a small town of 1,400. In response to the novel coronavirus spread around the world, it is taking isolation very seriously.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200402152050-04-zahara-de-la-sierra-large-169.jpg”,”title”:”This Spanish town is taking isolation to another level”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/04/02/spanish-town-coronavirus-zahara-de-la-sierra-lon-orig-mkd.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/04/02/spanish-town-coronavirus-zahara-de-la-sierra-lon-orig-mkd.cnn”,”videoId”:”world/2020/04/02/spanish-town-coronavirus-zahara-de-la-sierra-lon-orig-mkd.cnn”,”videoUrl”:”/videos/world/2020/04/02/spanish-town-coronavirus-zahara-de-la-sierra-lon-orig-mkd.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_9F6115F5-18AE-8FDD-0113-3C1967755EA6″},{“descriptionPlainText”:”The infection control specialist who sounded the alarm about failures on the Diamond Princess cruise ship warns Tokyo could become “the next New York” if the Japanese capital does not make drastic changes to its coronavirus strategy. CNN’s Will Ripley reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200403102147-tokyo-japan-coronavirus-covid-19-pandemic-hotbed-shinzo-abe-ripley-pkg-intl-ldn-vpx-00003723-large-169.jpg”,”title”:”Expert: Tokyo could be the next New York City for Covid-19″,”videoCMSUrl”:”/video/data/3.0/video/world/2020/04/03/tokyo-japan-coronavirus-covid-19-pandemic-hotbed-shinzo-abe-ripley-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/04/03/tokyo-japan-coronavirus-covid-19-pandemic-hotbed-shinzo-abe-ripley-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2020/04/03/tokyo-japan-coronavirus-covid-19-pandemic-hotbed-shinzo-abe-ripley-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2020/04/03/tokyo-japan-coronavirus-covid-19-pandemic-hotbed-shinzo-abe-ripley-pkg-intl-ldn-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_C7DD2ABF-62E7-C1C6-818F-3F3CB393AB9F”},{“descriptionPlainText”:”With Barcelona on lockdown, three roommates got together and formed a band. With its catchy songs and important messages, the group soon gathered a large online following.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200403093054-stayhomas3-large-169.jpg”,”title”:”Feeling isolated? This boy band wants to cheer you up”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/04/03/stay-homas-three-musicians-creating-lockdown-songs-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/04/03/stay-homas-three-musicians-creating-lockdown-songs-lon-orig.cnn”,”videoId”:”world/2020/04/03/stay-homas-three-musicians-creating-lockdown-songs-lon-orig.cnn”,”videoUrl”:”/videos/world/2020/04/03/stay-homas-three-musicians-creating-lockdown-songs-lon-orig.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_AF51C5D2-5D9F-AA07-FA0B-3F0846383024″},{“descriptionPlainText”:”Prince Charles posted a video to Twitter saying he and his wife sympathize with others during this “anxious, unprecedented” time after testing positive for Covid-19.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200402091812-prince-charles-other-side-recovery-covid-19-coronavirus-mxp-vpx-00005424-large-169.jpg”,”title”:”Prince Charles gives message after Covid-19 diagnosis”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/04/02/prince-charles-other-side-recovery-covid-19-coronavirus-mxp-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/world/2020/04/02/prince-charles-other-side-recovery-covid-19-coronavirus-mxp-vpx.hln”,”videoId”:”world/2020/04/02/prince-charles-other-side-recovery-covid-19-coronavirus-mxp-vpx.hln”,”videoUrl”:”/videos/world/2020/04/02/prince-charles-other-side-recovery-covid-19-coronavirus-mxp-vpx.hln/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_4503F896-9122-A93F-0FBB-3AF6830118ED”},{“descriptionPlainText”:”Panama is taking a new — if somewhat unorthodox — measure to combat the spread of the novel coronavirus: separation of the sexes. CNN’s Patrick Oppmann reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200401093631-panama-city-panama-0331-large-169.jpg”,”title”:”Panama tightens virus lockdown based on gender”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/04/02/panama-coronavirus-gender-lockdown-oppmann-lkl-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/04/02/panama-coronavirus-gender-lockdown-oppmann-lkl-intl-hnk-vpx.cnn”,”videoId”:”world/2020/04/02/panama-coronavirus-gender-lockdown-oppmann-lkl-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2020/04/02/panama-coronavirus-gender-lockdown-oppmann-lkl-intl-hnk-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_9D6A95E5-66DF-25BA-1E64-38C318F474A9″},{“descriptionPlainText”:”People around the world are being asked to practice social distancing. These guidelines can show you how to do it safely.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200327091248-coronavirus-social-distancing-large-169.jpg”,”title”:”4 helpful tips to practice social distancing”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/04/02/coronavirus-social-distancing-how-to-orig-mg.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/04/02/coronavirus-social-distancing-how-to-orig-mg.cnn”,”videoId”:”health/2020/04/02/coronavirus-social-distancing-how-to-orig-mg.cnn”,”videoUrl”:”/videos/health/2020/04/02/coronavirus-social-distancing-how-to-orig-mg.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_3AF19255-F9B8-E0F8-4FB5-3C05757654A8″},{“descriptionPlainText”:”CNN’s Dr. Sanjay Gupta says that unless the entire country has a cohesive social distancing order, the projected coronavirus death toll of 100,000 to 200,000 is optimistic.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200402041158-sanjay-gupta-virus-death-projection-is-optmistic-newday-vpx-00001109-large-169.jpg”,”title”:”Dr. Sanjay Gupta: 200,000 deaths from virus is optimistic”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/04/01/sanjay-gupta-virus-death-projection-is-optmistic-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/04/01/sanjay-gupta-virus-death-projection-is-optmistic-newday-vpx.cnn”,”videoId”:”health/2020/04/01/sanjay-gupta-virus-death-projection-is-optmistic-newday-vpx.cnn”,”videoUrl”:”/videos/health/2020/04/01/sanjay-gupta-virus-death-projection-is-optmistic-newday-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_C0F18ED6-D033-51E9-5B15-35B7EA18D48D”},{“descriptionPlainText”:”While people in Europe are giving up some hard-won freedoms to contain the cornavirus, the pandemic is being used by Hungarian Prime Minister Viktor Orban as a cover for a power grab. CNN’s Nic Robertson reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200330112237-01-viktor-orban-0304-large-169.jpg”,”title”:”Democracy in danger as pandemic spreads”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/04/02/hungary-orban-russia-coronavirus-democracy-under-threat-robertson-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/04/02/hungary-orban-russia-coronavirus-democracy-under-threat-robertson-pkg-intl-hnk-vpx.cnn”,”videoId”:”world/2020/04/02/hungary-orban-russia-coronavirus-democracy-under-threat-robertson-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2020/04/02/hungary-orban-russia-coronavirus-democracy-under-threat-robertson-pkg-intl-hnk-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_354DA054-762E-40A7-521B-3952DB87BE1A”},{“descriptionPlainText”:”Before the coronavirus pandemic, IFEMA was a convention center in Madrid. Now it’s known as Spain’s biggest ‘makeshift’ hospital, and CNN’s Scott McLean has been granted rare access to look inside.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200401162837-madrid-makeshift-hospital-mclean-large-169.jpg”,”title”:”Take a look inside Spain’s largest hospital”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/04/01/inside-madrid-makeshift-hospital-mclean-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/04/01/inside-madrid-makeshift-hospital-mclean-pkg-vpx.cnn”,”videoId”:”world/2020/04/01/inside-madrid-makeshift-hospital-mclean-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2020/04/01/inside-madrid-makeshift-hospital-mclean-pkg-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_F9012346-99AF-B5FC-B382-37551F526A88″},{“descriptionPlainText”:”The UK will open the doors this week on what could soon be the biggest intensive care unit in the country. CNN’s Nick Paton Walsh reports from east London.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200401074352-nhs-nightingale-hospital-excel-center-large-169.jpg”,”title”:”UK races to convert convention hall into ICU”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/04/01/london-nick-paton-walsh-nhs-excel-nightingale-hospital.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/04/01/london-nick-paton-walsh-nhs-excel-nightingale-hospital.cnn”,”videoId”:”world/2020/04/01/london-nick-paton-walsh-nhs-excel-nightingale-hospital.cnn”,”videoUrl”:”/videos/world/2020/04/01/london-nick-paton-walsh-nhs-excel-nightingale-hospital.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_8A997BC3-6AC0-25D2-0B0B-3475F9553C92″},{“descriptionPlainText”:”The UAE has conducted over 220,000 Covid-19 tests, according to the country’s Ministry of Health and Prevention. It is also the fifth country in the world to set up drive-through testing. CNN’s Sam Kiley reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200401105120-uae-coronavirus-covid-19-pandemic-drive-through-testing-kiley-pkg-intl-ldn-vpx-00004401-large-169.jpg”,”title”:”Middle Eastern country’s virus tests ‘eclipses’ Western countries”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/04/01/uae-coronavirus-covid-19-pandemic-drive-through-testing-kiley-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/04/01/uae-coronavirus-covid-19-pandemic-drive-through-testing-kiley-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2020/04/01/uae-coronavirus-covid-19-pandemic-drive-through-testing-kiley-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2020/04/01/uae-coronavirus-covid-19-pandemic-drive-through-testing-kiley-pkg-intl-ldn-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_DEA24ECD-04F9-6C00-6D20-350C8224A92B”},{“descriptionPlainText”:”The Indian state of Uttar Pradesh has sparked controversy after migrant workers, returning home during a nationwide coronavirus lockdown, were doused in bleach disinfectant used to sanitize buses.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200330125029-01-indian-migrant-workers-disinfectant-spray-large-169.jpg”,”title”:”Migrant workers in India sprayed with disinfectant “,”videoCMSUrl”:”/video/data/3.0/video/world/2020/03/31/india-migrants-sprayed-coronavirus-orig-jk.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/03/31/india-migrants-sprayed-coronavirus-orig-jk.cnn”,”videoId”:”world/2020/03/31/india-migrants-sprayed-coronavirus-orig-jk.cnn”,”videoUrl”:”/videos/world/2020/03/31/india-migrants-sprayed-coronavirus-orig-jk.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_C3E6397C-EBF0-8A44-C4E0-31D66CF49E97″},{“descriptionPlainText”:”South Africa’s homeless are being rounded up into an open stadium with no real sanitation, no social distancing and limited food. CNN’s David McKenzie reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200401100250-south-africa-coronavirus-covid-19-pandemic-homeless-quarantine-mckenzie-intl-ldn-vpx-00000626-large-169.jpg”,”title”:”Cost of failing to respond to virus could be ‘unimaginable'”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/04/01/south-africa-coronavirus-covid-19-pandemic-homeless-quarantine-mckenzie-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/04/01/south-africa-coronavirus-covid-19-pandemic-homeless-quarantine-mckenzie-intl-ldn-vpx.cnn”,”videoId”:”world/2020/04/01/south-africa-coronavirus-covid-19-pandemic-homeless-quarantine-mckenzie-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2020/04/01/south-africa-coronavirus-covid-19-pandemic-homeless-quarantine-mckenzie-intl-ldn-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_3FFD4A11-B911-AAC4-AE22-34D12F2B5635″},{“descriptionPlainText”:”A herd of goats has been seen roaming the deserted streets of a town in Wales, as its residents are under tight social movement restrictions to help limit the spread of coronavirus.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200331071750-01-wild-goats-wales-coronavirus-large-169.jpg”,”title”:”Goats take over town amid coronavirus lockdown”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/03/31/goats-wales-town-lockdown-coronavirus.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/03/31/goats-wales-town-lockdown-coronavirus.cnn”,”videoId”:”world/2020/03/31/goats-wales-town-lockdown-coronavirus.cnn”,”videoUrl”:”/videos/world/2020/03/31/goats-wales-town-lockdown-coronavirus.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_2A845C71-A436-76CC-7031-314BA3DA419B”}],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:”health/2020/04/04/coronavirus-covid-19-masks-asia-stout-pkg-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-1ps9qhx’,videoDescriptionDivId: ‘js-video_description-1ps9qhx’,videoDurationDivId: ‘js-video_duration-1ps9qhx’,videoTitleDivId: ‘js-leaf-video_headline-1ps9qhx’,videoSourceDivId: ‘js-video_sourceName-1ps9qhx’});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