Social media videos appear to show patients overcrowd hospitals

0
26

‘);$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/01/24/china-wuhan-coronavirus-hospital-overcrowd-culver-nr-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/200124153923-wuhan-overcrowd-hospital2-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200124153923-wuhan-overcrowd-hospital2-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200124153923-wuhan-overcrowd-hospital2-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200124153923-wuhan-overcrowd-hospital2-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200124153923-wuhan-overcrowd-hospital2-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200124153923-wuhan-overcrowd-hospital2-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200124153923-wuhan-overcrowd-hospital2-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Social media videos appear to show patients overcrowd hospitals in Wuhan — a city under partial lockdown — due to the Wuhan coronavirus outbreak. CNN’s David Culver reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200124153923-wuhan-overcrowd-hospital2-large-169.jpg”,”title”:”Social media videos appear to show patients overcrowd hospitals “,”videoCMSUrl”:”/videos/world/2020/01/24/china-wuhan-coronavirus-hospital-overcrowd-culver-nr-vpx.cnn”,”videoLeafUrl”:”/videos/world/2020/01/24/china-wuhan-coronavirus-hospital-overcrowd-culver-nr-vpx.cnn”,”videoId”:”world/2020/01/24/china-wuhan-coronavirus-hospital-overcrowd-culver-nr-vpx.cnn”,”videoUrl”:”/videos/world/2020/01/24/china-wuhan-coronavirus-hospital-overcrowd-culver-nr-vpx.cnn”,”surrogateKey”:”video_29D9BF1E-034A-04F2-6416-D63AD618C4DB”},{“descriptionPlainText”:”Scientists discovered four new species off walking sharks near the northern coast of Australia.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200123124751-walking-shark-01-large-169.jpg”,”title”:”See walking shark discovered near Australia”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/01/23/australia-walking-shark-discovered-ots-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/world/2020/01/23/australia-walking-shark-discovered-ots-vpx.hln”,”videoId”:”world/2020/01/23/australia-walking-shark-discovered-ots-vpx.hln”,”videoUrl”:”/videos/world/2020/01/23/australia-walking-shark-discovered-ots-vpx.hln/video/playlists/around-the-world/”,”surrogateKey”:”video_61550F49-AA9E-A6FC-D41D-D36DC30F8074″},{“descriptionPlainText”:”CNN’s Dr. Sanjay Gupta looks at what you need to know about the Wuhan virus and coronaviruses like MERS and SARS in general, from what they are to how you can treat them.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200122213126-coronavirus-fears-markets-02-large-169.jpg”,”title”:”What do you need to know about Coronavirus?”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/01/23/wuhan-virus-questions-answered-jba-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/01/23/wuhan-virus-questions-answered-jba-lon-orig.cnn”,”videoId”:”health/2020/01/23/wuhan-virus-questions-answered-jba-lon-orig.cnn”,”videoUrl”:”/videos/health/2020/01/23/wuhan-virus-questions-answered-jba-lon-orig.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_E1404881-96C4-8C71-8779-D1F2439D801A”},{“descriptionPlainText”:”Ahead of the 75th anniversary of the liberation of Auschwitz concentration camp, CNN’s Sara Sidner tours Yad Vashem, Israel’s national Holocaust remembrance site.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200123111258-yad-vashem-sara-sidner-2-large-169.jpg”,”title”:”What Israel’s Holocaust memorial can teach us today”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/01/23/holocaust-remembrance-day-75th-anniversary-yad-vashem-jerusalem-sidner-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/01/23/holocaust-remembrance-day-75th-anniversary-yad-vashem-jerusalem-sidner-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2020/01/23/holocaust-remembrance-day-75th-anniversary-yad-vashem-jerusalem-sidner-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2020/01/23/holocaust-remembrance-day-75th-anniversary-yad-vashem-jerusalem-sidner-pkg-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_311A209C-8B0D-497D-74D4-D1C4A2DCACB1″},{“descriptionPlainText”:”Mexico’s National Guard is clamping down on the country’s southern border as a migrant caravan, which originated in Honduras, attempts to cross into the country. CNN’s Matt Rivers reports from Mexico City.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200123044512-mexico-national-guard-migrant-matt-rivers-pkg-large-169.jpg”,”title”:”Mexico police push back at migrant caravan heading to US”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/01/23/mexico-national-guard-migration-rivers-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/01/23/mexico-national-guard-migration-rivers-pkg-vpx.cnn”,”videoId”:”world/2020/01/23/mexico-national-guard-migration-rivers-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2020/01/23/mexico-national-guard-migration-rivers-pkg-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_F14C28CC-AF4A-8724-AF6B-D0DFAC6AF6B9″},{“descriptionPlainText”:”A photo of Canadian Prime Minister Justin Trudeau at a Winnipeg-based doughnut shop has proved to be a lightning rod among pastry-enthusiastic onlookers online.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170714154723-justin-trudeau-large-169.jpg”,”title”:”Internet rips Trudeau for his choice in doughnuts”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/01/23/justin-trudeau-doughnut-shop-prices-es-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/01/23/justin-trudeau-doughnut-shop-prices-es-sot-vpx.cnn”,”videoId”:”world/2020/01/23/justin-trudeau-doughnut-shop-prices-es-sot-vpx.cnn”,”videoUrl”:”/videos/world/2020/01/23/justin-trudeau-doughnut-shop-prices-es-sot-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_5539120E-70ED-B34D-8C16-D1D1C74FE140″},{“descriptionPlainText”:”French President Emmanuel Macron admonished Israeli security officers after they appeared to try to follow him into a church in Jerusalem that is considered French territory.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200122132105-macron-israeli-security-officers-altercation-large-169.jpg”,”title”:”Macron shouts at Israeli security in Jerusalem”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/01/22/macron-shouts-israeli-security-jerusalem-church-orig-jk.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/01/22/macron-shouts-israeli-security-jerusalem-church-orig-jk.cnn”,”videoId”:”world/2020/01/22/macron-shouts-israeli-security-jerusalem-church-orig-jk.cnn”,”videoUrl”:”/videos/world/2020/01/22/macron-shouts-israeli-security-jerusalem-church-orig-jk.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_02F60A8E-4672-7B5B-E42D-CF80AA3CA728″},{“descriptionPlainText”:”Prince Charles, the heir to the British throne and lifelong environmentalist, sat down with CNN’s Max Foster for an exclusive interview at the World Economic Forum in Davos, Switzerland. “I’ve always worried about the fact that so often, in terms of humanity, we leave everything too late,” said Prince Charles.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200122152034-prince-charles-exclusive-davos-switzerland-large-169.jpg”,”title”:”Watch Prince Charles’ exclusive CNN interview”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/01/22/prince-charles-davos-climate-change-world-economic-forum-foster-intv-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/01/22/prince-charles-davos-climate-change-world-economic-forum-foster-intv-intl-ldn-vpx.cnn”,”videoId”:”business/2020/01/22/prince-charles-davos-climate-change-world-economic-forum-foster-intv-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/business/2020/01/22/prince-charles-davos-climate-change-world-economic-forum-foster-intv-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_B3CD4F7D-8805-13B8-0E1A-CDCD0374B3E0″},{“descriptionPlainText”:”A deadly outbreak of the new Wuhan coronavirus emerged in Wuhan, China, a city of 11 million people in December 2019. Within weeks, the virus has killed at least 17 people, sickened hundreds and spread as far as the United States. CNN’s David Culver reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200122161039-david-culver-wuhan-large-169.jpg”,”title”:”CNN goes to ground zero of Wuhan coronavirus outbreak in China”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/01/22/coronavirus-outbreak-wuhan-ground-zero-china-culver-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/01/22/coronavirus-outbreak-wuhan-ground-zero-china-culver-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2020/01/22/coronavirus-outbreak-wuhan-ground-zero-china-culver-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2020/01/22/coronavirus-outbreak-wuhan-ground-zero-china-culver-pkg-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_23D09233-3071-98EE-02BE-CDA069C99DA3″},{“descriptionPlainText”:”Storm Gloria caused sea foam to engulf roads in the town of Tossa de Mar and left heavy rainfall and flooding all across Spain’s Catalonia region.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200122152424-storm-gloria-sea-foam-orig-mg-00001308-large-169.jpg”,”title”:”Sea foam floods Spanish town”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/01/22/storm-gloria-sea-foam-orig-mg.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/01/22/storm-gloria-sea-foam-orig-mg.cnn”,”videoId”:”world/2020/01/22/storm-gloria-sea-foam-orig-mg.cnn”,”videoUrl”:”/videos/world/2020/01/22/storm-gloria-sea-foam-orig-mg.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_105D32CC-5D91-773E-A2B3-CEE34415D67D”},{“descriptionPlainText”:”One in seven tweets sent to India’s female politicians during the country’s 2019 general election were “problematic” or “abusive,” Amnesty says. Three politicians talk to CNN about their experiences.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200122144013-20201601-troll-patrol-india-gfx-profiles-kavita-krishnan-large-169.jpg”,”title”:”Politicians describe trolling: ‘They tell me I’m not worth raping'”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/01/22/as-equals-india-politician-trolling-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/01/22/as-equals-india-politician-trolling-lon-orig.cnn”,”videoId”:”world/2020/01/22/as-equals-india-politician-trolling-lon-orig.cnn”,”videoUrl”:”/videos/world/2020/01/22/as-equals-india-politician-trolling-lon-orig.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_1D83A9DD-C7D1-E5DF-E533-CD3B2439BBC4″},{“descriptionPlainText”:”Prince Charles launches his sustainable markets initiative in partnership with the World Economic Forum.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200122091858-02-prince-charles-davos-world-economic-forum-0122-large-169.jpg”,”title”:”Prince Charles: We need a new economic model or the planet will burn”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/01/22/prince-charles-sustainable-markets-initiative-davos-lon-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2020/01/22/prince-charles-sustainable-markets-initiative-davos-lon-orig.cnn-business”,”videoId”:”business/2020/01/22/prince-charles-sustainable-markets-initiative-davos-lon-orig.cnn-business”,”videoUrl”:”/videos/business/2020/01/22/prince-charles-sustainable-markets-initiative-davos-lon-orig.cnn-business/video/playlists/around-the-world/”,”surrogateKey”:”video_BD1184F9-00B0-1A0B-CB28-CD8EEA1C44A7″},{“descriptionPlainText”:”CNN’s Melissa Bell speaks with Holocaust survivors for the 75th anniversary of the liberation of Auschwitz-Birkenau concentration camp.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190110072842-01-auschwitz-file-large-169.jpg”,”title”:”Auschwitz survivors bear witness as anti-Semitic attacks rise”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/01/20/auschwitz-liberation-anniversary-melissa-bell-dnt-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/01/20/auschwitz-liberation-anniversary-melissa-bell-dnt-newday-vpx.cnn”,”videoId”:”world/2020/01/20/auschwitz-liberation-anniversary-melissa-bell-dnt-newday-vpx.cnn”,”videoUrl”:”/videos/world/2020/01/20/auschwitz-liberation-anniversary-melissa-bell-dnt-newday-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_369D484D-C3A3-90CB-C9DE-C2F4ED452AF1″},{“descriptionPlainText”:”Australia has already dealt with extreme fires, flooding and hail this year. Now experts are warning people to watch out for deadly funnel-web spiders.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200122114433-australia-funnel-web-spider-2-large-169.jpg”,”title”:”Australians warned to watch out for deadly spiders”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/01/22/australia-funnel-web-spider-lon-orig-bks.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/01/22/australia-funnel-web-spider-lon-orig-bks.cnn”,”videoId”:”world/2020/01/22/australia-funnel-web-spider-lon-orig-bks.cnn”,”videoUrl”:”/videos/world/2020/01/22/australia-funnel-web-spider-lon-orig-bks.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_6C651F72-DDAB-91F0-4E17-CD054306AAC2″},{“descriptionPlainText”:”CNN’s Isa Soares talks to Venezuelan politician Juan Guaido about his goals for Davos 2020 and the future of Venezuela.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200121195302-01-juan-guaido-interview-intl-large-169.jpg”,”title”:”Juan Guaido: We will take Venezuela back”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/01/22/isa-soares-juan-guaido-venezuela-interview-sot-davos-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/01/22/isa-soares-juan-guaido-venezuela-interview-sot-davos-vpx.cnn”,”videoId”:”business/2020/01/22/isa-soares-juan-guaido-venezuela-interview-sot-davos-vpx.cnn”,”videoUrl”:”/videos/business/2020/01/22/isa-soares-juan-guaido-venezuela-interview-sot-davos-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_F7B992EB-ACF1-2A21-E7BE-CACB1A879E05″},{“descriptionPlainText”:”CNN international correspondent David Culver reports from Wuhan, China, the epicenter of the Wuhan coronavirus outbreak, where the city has set up stricter measures to stop the virus from spreading.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200121151946-corona-virus-large-169.jpg”,”title”:”Officials in China work to limit spread of Wuhan coronavirus”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/01/22/coronavirus-culver-sot-wuhan-china-intl-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/01/22/coronavirus-culver-sot-wuhan-china-intl-vpx.cnn”,”videoId”:”world/2020/01/22/coronavirus-culver-sot-wuhan-china-intl-vpx.cnn”,”videoUrl”:”/videos/world/2020/01/22/coronavirus-culver-sot-wuhan-china-intl-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_B725AEDC-7782-3853-FA72-CC6912F58C09″}],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/01/24/china-wuhan-coronavirus-hospital-overcrowd-culver-nr-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-1zyven3’,videoDescriptionDivId: ‘js-video_description-1zyven3’,videoDurationDivId: ‘js-video_duration-1zyven3’,videoTitleDivId: ‘js-leaf-video_headline-1zyven3’,videoSourceDivId: ‘js-video_sourceName-1zyven3’});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