Why the Covid-19 death rate in Germany is so low

0
10

‘);$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/26/germany-coronavirus-covid-19-low-death-rate-pleitgen-pkg-intl-hnk-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/200320110722-coronavirus-test-center-germany-0314-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200320110722-coronavirus-test-center-germany-0314-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200320110722-coronavirus-test-center-germany-0314-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200320110722-coronavirus-test-center-germany-0314-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200320110722-coronavirus-test-center-germany-0314-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200320110722-coronavirus-test-center-germany-0314-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200320110722-coronavirus-test-center-germany-0314-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”While Germany has some of the highest confirmed Covid-19 cases in the world, the death rate remains fairly low. CNN’s Fred Pleitgen reports on Germany’s response to the outbreak.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200320110722-coronavirus-test-center-germany-0314-large-169.jpg”,”title”:”Why the Covid-19 death rate in Germany is so low”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/03/26/germany-coronavirus-covid-19-low-death-rate-pleitgen-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/03/26/germany-coronavirus-covid-19-low-death-rate-pleitgen-pkg-intl-hnk-vpx.cnn”,”videoId”:”world/2020/03/26/germany-coronavirus-covid-19-low-death-rate-pleitgen-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2020/03/26/germany-coronavirus-covid-19-low-death-rate-pleitgen-pkg-intl-hnk-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_67A85C58-AFDB-8EBC-45A5-157447393B0A”},{“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_9CFE5045-3314-15C5-9270-15FF1BA92737″},{“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_BD9F635B-10D0-9A4D-9BBE-16274ADD882B”},{“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_1AFB3AA8-DCF6-E322-BE2F-13726D0251E2″},{“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_67A85C58-AFDB-8EBC-45A5-157447393B0A”},{“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_A9B07260-F573-800D-0F54-1249A4F4AF3D”},{“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_F621B906-7741-3DAF-57D2-122FDF66B462″},{“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_692D837A-EBE1-3F06-C24C-12163C82C55E”},{“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_F9B4A09F-B6C8-6009-FC7D-11034A61805D”},{“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_59E368F0-1BF6-C1D7-B42D-081BE29F9A5F”},{“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_008232B5-D216-D58D-68EB-0C618E2EFEC2″},{“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_52372FCE-DF29-77A4-A658-0A75F38F52FD”},{“descriptionPlainText”:”Families living within Syria’s Idlib Province have faced death on multiple fronts, and now they face a new threat in Covid-19. CNN’s Arwa Damon reports the war-ravaged camp is powerless to stop a “coronavirus tsunami.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200326054646-idlib-population-vulnerable-coronavirus-syria-damon-pkg-vpx-00003021-large-169.jpg”,”title”:”They’ve survived war and disease. Now they face Covid-19.”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/03/26/idlib-population-vulnerable-coronavirus-syria-damon-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/03/26/idlib-population-vulnerable-coronavirus-syria-damon-pkg-vpx.cnn”,”videoId”:”world/2020/03/26/idlib-population-vulnerable-coronavirus-syria-damon-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2020/03/26/idlib-population-vulnerable-coronavirus-syria-damon-pkg-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_EF0E1661-482D-86A6-2AED-0BE1AFE36CFF”},{“descriptionPlainText”:”Prime Minister Narendra Modi ordered a “complete” lockdown for India’s 1.3 billion people on March 24, warning that “many families will be destroyed forever” if the country didn’t get to grips with its coronavirus outbreak in the next three weeks.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200326093914-police-india-use-force-on-lockdown-violators-large-169.jpg”,”title”:”Indian police use force on lockdown violators”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/03/26/coronavirus-covid-19-pandemic-india-total-lockdown-narendra-modi-police-economy-sud-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/03/26/coronavirus-covid-19-pandemic-india-total-lockdown-narendra-modi-police-economy-sud-intl-ldn-vpx.cnn”,”videoId”:”world/2020/03/26/coronavirus-covid-19-pandemic-india-total-lockdown-narendra-modi-police-economy-sud-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2020/03/26/coronavirus-covid-19-pandemic-india-total-lockdown-narendra-modi-police-economy-sud-intl-ldn-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_03A090DB-29B7-578A-F15F-095352D52A30″},{“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”:”/video/data/3.0/video/world/2020/03/25/mexico-brazil-response-coronavirus-rivers-lead-vpx.cnn/index.xml”,”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/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_8D6E085B-CE0C-F83B-BF50-09F855976CB8″}],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/26/germany-coronavirus-covid-19-low-death-rate-pleitgen-pkg-intl-hnk-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-922pya’,videoDescriptionDivId: ‘js-video_description-922pya’,videoDurationDivId: ‘js-video_duration-922pya’,videoTitleDivId: ‘js-leaf-video_headline-922pya’,videoSourceDivId: ‘js-video_sourceName-922pya’});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