Patients lie on the floor of India hospital after beds run out

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘world/2021/05/03/overwhelmed-hospital-india-coronavirus-ward-lead-dnt-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/210503181551-india-hospital-overwhelmed-ward-dnt-lead-vpx-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210503181551-india-hospital-overwhelmed-ward-dnt-lead-vpx-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210503181551-india-hospital-overwhelmed-ward-dnt-lead-vpx-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210503181551-india-hospital-overwhelmed-ward-dnt-lead-vpx-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210503181551-india-hospital-overwhelmed-ward-dnt-lead-vpx-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210503181551-india-hospital-overwhelmed-ward-dnt-lead-vpx-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210503181551-india-hospital-overwhelmed-ward-dnt-lead-vpx-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”CNN visited a government run hospital in Uttar Pradesh, India, and found scenes of profound suffering as the nation grapples with the coronavirus crisis.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210503181551-india-hospital-overwhelmed-ward-dnt-lead-vpx-large-169.jpg”,”title”:”Hospital staff in India stretched thin to breaking point”,”videoCMSUrl”:”/videos/world/2021/05/03/overwhelmed-hospital-india-coronavirus-ward-lead-dnt-vpx.cnn”,”videoLeafUrl”:”/videos/world/2021/05/03/overwhelmed-hospital-india-coronavirus-ward-lead-dnt-vpx.cnn”,”videoId”:”world/2021/05/03/overwhelmed-hospital-india-coronavirus-ward-lead-dnt-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/03/overwhelmed-hospital-india-coronavirus-ward-lead-dnt-vpx.cnn”,”surrogateKey”:”video_C99942FB-3967-790C-78C2-342A9450A2D5″},{“descriptionPlainText”:”Thousands of revelers who tested negative for Covid-19 gathered in Liverpool, England, for a live music event held without masks or social distancing in a government experiment on how events may be able to return to the UK this summer.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210501115031-liverpool-rave-pilot-1-large-169.jpg”,”title”:”See the government-sanctioned rave experiment attended by thousands”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/01/liverpool-rave-covid-19-experiment-vanier-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/01/liverpool-rave-covid-19-experiment-vanier-nr-vpx.cnn”,”videoId”:”world/2021/05/01/liverpool-rave-covid-19-experiment-vanier-nr-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/01/liverpool-rave-covid-19-experiment-vanier-nr-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_EF50E74D-9840-B93D-97C9-28B9FADD6787″},{“descriptionPlainText”:”India begins the next phase of its vaccination drive with everyone ages 18 and above now eligible for vaccination, but many states across the country say they don’t have any vaccine supplies. CNN’s Vedika Sud reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210430214236-01-india-coronavirus-vaccine-rollout-0429-large-169.jpg”,”title”:”Vaccination drive underway in India with scarce supplies”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/01/vaccination-drive-india-supplies-vedika-sud-lklv-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/01/vaccination-drive-india-supplies-vedika-sud-lklv-vpx.cnn”,”videoId”:”world/2021/05/01/vaccination-drive-india-supplies-vedika-sud-lklv-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/01/vaccination-drive-india-supplies-vedika-sud-lklv-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_C8EE51B9-EAFB-5CEF-2F26-2624207B07AC”},{“descriptionPlainText”:”In Sarajevo, Bosnia and Herzegovina’s capital, the Covid-19 pandemic is taking lives at a pace not seen since The Siege of Sarajevo during the Bosnian war.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210501092443-sarajevo-coronavirus-deaths-mclean-pkg-vpx-00001921-large-169.png”,”title”:”Sarajevo faces losses amid Covid-19 not seen since Bosnian War “,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/01/sarajevo-coronavirus-deaths-mclean-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/01/sarajevo-coronavirus-deaths-mclean-pkg-vpx.cnn”,”videoId”:”world/2021/05/01/sarajevo-coronavirus-deaths-mclean-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/01/sarajevo-coronavirus-deaths-mclean-pkg-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_6FE6C167-C80F-62F8-09A5-27F250EF2A37″},{“descriptionPlainText”:”An initiative called the “people’s pot” in Uruguay aims to feed those who have fallen on hard times amid Covid-19. CNN’s Rafael Romo reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210503151204-uruguay-peoples-pots-feed-hungry-coronavirus-pandemic-romo-pkg-vpx-00000109-large-169.png”,”title”:”This group of volunteers is on a noble mission amid pandemic”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/03/uruguay-peoples-pots-feed-hungry-coronavirus-pandemic-romo-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/03/uruguay-peoples-pots-feed-hungry-coronavirus-pandemic-romo-pkg-vpx.cnn”,”videoId”:”world/2021/05/03/uruguay-peoples-pots-feed-hungry-coronavirus-pandemic-romo-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/03/uruguay-peoples-pots-feed-hungry-coronavirus-pandemic-romo-pkg-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_883C5D37-A456-176D-F8CE-3034B8209CEA”},{“descriptionPlainText”:”As the coronavirus situation worses in India, hospitals are full and lacking oxygen while only two percent of the population has been fully vaccinated. CNN’s Sam Kiley speaks to a doctor in New Delhi who says the losses are incomprehensible.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210501081050-india-coronavirus-doctor-intv-ndwknd-kiley-vpx-00005816-large-169.png”,”title”:”CNN speaks to doctor on the front lines in India’s Covid-19 crisis”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/05/01/india-coronavirus-doctor-intv-ndwknd-kiley-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/05/01/india-coronavirus-doctor-intv-ndwknd-kiley-vpx.cnn”,”videoId”:”world/2021/05/01/india-coronavirus-doctor-intv-ndwknd-kiley-vpx.cnn”,”videoUrl”:”/videos/world/2021/05/01/india-coronavirus-doctor-intv-ndwknd-kiley-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_B672133C-9386-D044-C691-27B65F144251″},{“descriptionPlainText”:”CNN’s Sam Kiley reports on the worsening coronavirus surge in India as hospitals and crematoriums are being overrun because of a record number of cases.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210430163844-india-kiley-dnt-large-169.jpg”,”title”:”New coronavirus cases topping 300,000 for 9th day in a row in India”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/04/30/india-covid-19-crisis-oxygen-death-hospital-kiley-dnt-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/04/30/india-covid-19-crisis-oxygen-death-hospital-kiley-dnt-lead-vpx.cnn”,”videoId”:”world/2021/04/30/india-covid-19-crisis-oxygen-death-hospital-kiley-dnt-lead-vpx.cnn”,”videoUrl”:”/videos/world/2021/04/30/india-covid-19-crisis-oxygen-death-hospital-kiley-dnt-lead-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_18E24D8F-C3D8-BDEA-782D-2478F93140BA”},{“descriptionPlainText”:”CNN’s John Berman speaks with Dr. Farah Husain, head of a Covid-19 ICU unit at a hospital in India, about the country’s coronavirus crisis. India reported almost 380,000 new infections on April 29, marking yet another global record for the highest single-day case count. More than 3,600 people died.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210430115216-farah-husain-doctor-india-coronavirus-new-day-april-30-large-169.jpg”,”title”:”‘Nothing short of an apocalypse’: Indian doctor on Covid crisis”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/04/30/india-coronavirus-deaths-narendra-modi-husain-intv-berman-newday-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/04/30/india-coronavirus-deaths-narendra-modi-husain-intv-berman-newday-intl-ldn-vpx.cnn”,”videoId”:”world/2021/04/30/india-coronavirus-deaths-narendra-modi-husain-intv-berman-newday-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/04/30/india-coronavirus-deaths-narendra-modi-husain-intv-berman-newday-intl-ldn-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_27821EFB-2451-6477-FC3B-225EF38929E0″},{“descriptionPlainText”:”Sources tell CNN there are now dozens of suspected cases of Covid-19 at the Everest Base Camp – although officials deny it. CNN’s Kristie Lu Stout speaks to a Norwegian mountaineer who developed Covid-19 symptoms while climbing the mountain.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210430154633-screengrab-erlend-ness-large-169.jpg”,”title”:”He dreamed of climbing Mount Everest. But Covid-19 stopped him”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/04/30/nepal-mount-everest-covid-19-coronavirus-lu-stout-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/04/30/nepal-mount-everest-covid-19-coronavirus-lu-stout-intl-hnk-vpx.cnn”,”videoId”:”world/2021/04/30/nepal-mount-everest-covid-19-coronavirus-lu-stout-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/04/30/nepal-mount-everest-covid-19-coronavirus-lu-stout-intl-hnk-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_9DC4CB84-FC1A-D5F3-8111-21487FF67555″},{“descriptionPlainText”:”CNN’s Brianna Keilar speaks with Rana Ayyub, an investigative journalist and Washington Post columnist in India, about the unfolding coronavirus crisis in the country and the government’s response under Prime Minister Narendra Modi.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210428120948-rana-ayyub-india-coronavirus-new-day-interview-april-28-large-169.jpeg”,”title”:”This journalist’s tweets are disappearing. She explains why”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/04/28/coronavirus-india-modi-twitter-ayyub-intv-keilar-newday-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/04/28/coronavirus-india-modi-twitter-ayyub-intv-keilar-newday-intl-ldn-vpx.cnn”,”videoId”:”world/2021/04/28/coronavirus-india-modi-twitter-ayyub-intv-keilar-newday-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/04/28/coronavirus-india-modi-twitter-ayyub-intv-keilar-newday-intl-ldn-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_18E3F1AE-8EFD-9D46-8703-182014094FE5″},{“descriptionPlainText”:”Three months after India’s Prime Minister Narendra Modi’s declaration of victory over Covid-19, the country is now in the grips of a devastating second wave. Its healthcare infrastructure is at breaking point and an oxygen supply shortage is compounding the death toll. CNN’s Ivan Watson takes a look at the government’s role in India’s deepening coronavirus crisis.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210428073949-video-thumbnail-modi-large-169.jpg”,”title”:”What Modi did in the lead up to India’s catastrophic second wave “,”videoCMSUrl”:”/video/data/3.0/video/world/2021/04/28/india-narendra-modi-failure-watson-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/04/28/india-narendra-modi-failure-watson-pkg-intl-hnk-vpx.cnn”,”videoId”:”world/2021/04/28/india-narendra-modi-failure-watson-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/04/28/india-narendra-modi-failure-watson-pkg-intl-hnk-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_1F8F324D-4E5C-766B-E1E2-1708555A6321″},{“descriptionPlainText”:”India’s devastating second wave of the Covid-19 pandemic has spilled over to neighboring countries such as Nepal. Experts say thousands in Nepal may have caught the highly infectious variants from India. CNN’s Lynda Kinkade reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210428142912-nepal-india-covid-19-spillover-kinkade-pkg-intl-hnk-vpx-00014721-large-169.png”,”title”:”Covid mutations from India may have crossed borders “,”videoCMSUrl”:”/video/data/3.0/video/world/2021/04/28/nepal-india-covid-19-spillover-kinkade-pkg-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/04/28/nepal-india-covid-19-spillover-kinkade-pkg-intl-hnk-vpx.cnn”,”videoId”:”world/2021/04/28/nepal-india-covid-19-spillover-kinkade-pkg-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/world/2021/04/28/nepal-india-covid-19-spillover-kinkade-pkg-intl-hnk-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_805FFB4B-7533-07CD-7366-16B88D2FA92E”},{“descriptionPlainText”:”India is fighting a devastating second wave of Covid-19 that is killing thousands each day as the country recorded more than a million new cases in just three days. Medical facilities have been running out of oxygen and ICU beds, with patients left outside hospitals waiting for care. CNN’s Anna Coren reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210426120246-coronavirus-india-oxygen-hospitals-narendra-modi-coren-newday-intl-ldn-vpx-00002501-large-169.png”,”title”:”India’s coronavirus death toll could be far higher than reported”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/04/26/coronavirus-india-oxygen-hospitals-narendra-modi-coren-newday-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/04/26/coronavirus-india-oxygen-hospitals-narendra-modi-coren-newday-intl-ldn-vpx.cnn”,”videoId”:”world/2021/04/26/coronavirus-india-oxygen-hospitals-narendra-modi-coren-newday-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/04/26/coronavirus-india-oxygen-hospitals-narendra-modi-coren-newday-intl-ldn-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_D8435947-BCDE-ED37-7907-0DB3E2594421″},{“descriptionPlainText”:”Covid-19 has claimed the lives of more than 119,000 people in Italy, the highest number of deaths in the European Union, according to John Hopkins University. Though the country started its vaccination program back in December, critics say regional authorities have failed to prioritize the elderly for vaccines. CNN’s Delia Gallagher reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210426104117-coronavirus-italy-vaccines-gallagher-pkg-intl-ldn-vpx-00000919-large-169.png”,”title”:”Officials realized something went wrong with Italy’s vaccine rollout”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/04/26/coronavirus-italy-vaccines-gallagher-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/04/26/coronavirus-italy-vaccines-gallagher-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2021/04/26/coronavirus-italy-vaccines-gallagher-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/04/26/coronavirus-italy-vaccines-gallagher-pkg-intl-ldn-vpx.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_52AC0969-514B-4C06-CE41-0D7FF29D8529″},{“descriptionPlainText”:”With a rising death toll in a second wave of the coronavirus pandemic, authorities in India have been forced to hold mass cremations at makeshift sites. The country has seen more than 16 million confirmed cases since the pandemic began.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210423150038-india-covid-cremations-2-large-169.jpg”,”title”:”Drone images of mass cremations as India battles Covid-19″,”videoCMSUrl”:”/video/data/3.0/video/world/2021/04/23/covid-cremations-india-jba-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/04/23/covid-cremations-india-jba-lon-orig.cnn”,”videoId”:”world/2021/04/23/covid-cremations-india-jba-lon-orig.cnn”,”videoUrl”:”/videos/world/2021/04/23/covid-cremations-india-jba-lon-orig.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_CA118F9F-70BF-39D2-A4BE-FED0CB1DC4B2″},{“descriptionPlainText”:”It’s a word used liberally to describe healthcare systems struggling with the Covid-19 pandemic. But what does ‘collapse’ look like? And has the pandemic brought the world’s most vital resource to the brink?”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210328194542-france-covid-icu-2-large-169.jpg”,”title”:”What does it mean when a healthcare system ‘collapses’?”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/04/14/covid-impact-global-healthcare-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/04/14/covid-impact-global-healthcare-lon-orig.cnn”,”videoId”:”world/2021/04/14/covid-impact-global-healthcare-lon-orig.cnn”,”videoUrl”:”/videos/world/2021/04/14/covid-impact-global-healthcare-lon-orig.cnn/video/playlists/coronavirus-intl/”,”surrogateKey”:”video_08D78A8D-A2E3-CACA-D5EE-D11DBE78F4A1″}],currentVideoCollectionId = ”,isLivePlayer = false,mediaMetadataCallbacks,mobilePinnedView = null,moveToNextTimeout,mutePlayerEnabled = false,nextVideoId = ”,nextVideoUrl = ”,turnOnFlashMessaging = false,videoPinner,videoEndSlateImpl;if (CNN.autoPlayVideoExist === false) {autoStartVideo = true;if (autoStartVideo === true) {if (turnOnFlashMessaging === true) {autoStartVideo = false;containerEl = jQuery(document.getElementById(configObj.markupId));CNN.VideoPlayer.showFlashSlate(containerEl);} else {CNN.autoPlayVideoExist = true;}}}configObj.autostart = CNN.Features.enableAutoplayBlock ? false : autoStartVideo;CNN.VideoPlayer.setPlayerProperties(configObj.markupId, autoStartVideo, isLivePlayer, isVideoReplayClicked, mutePlayerEnabled);CNN.VideoPlayer.setFirstVideoInCollection(currentVideoCollection, configObj.markupId);var embedLinkHandler = {},videoPinner,embedCodeCopy;function onVideoCarouselItemClicked(evt) {‘use strict’;var videoId,articleElem,videoPlayer,thumbImageElem,thumbImageLargeSource,overrides = {autostart: false,muteOverlayClicked: true,videoCollection: this.videoCollection},shouldStartVideo = false,playerInstance;try {articleElem = jQuery(evt.currentTarget).find(‘article’);thumbImageElem = jQuery(articleElem).find(‘.media__image’);videoId = articleElem.data().videoId;if (CNN.VideoPlayer.getLibraryName(configObj.markupId) === ‘fave’) {playerInstance = FAVE.player.getInstance(configObj.markupId);if (CNN.Utils.existsObject(playerInstance) &&typeof playerInstance.getVideoData === ‘function’ &&playerInstance.getVideoData().id !== videoId) {jQuery(articleElem).closest(‘.cn-carousel-medium-strip’).parent().find(‘script[name=”metaScript”]’).remove();playerInstance.play(videoId, overrides);}} else {videoPlayer = CNNVIDEOAPI.CNNVideoManager.getInstance().getPlayerByContainer(configObj.markupId);if (videoPlayer && videoPlayer.videoInstance) {if (!videoPlayer.videoInstance.cvp) {if (typeof thumbImageElem !== ‘undefined’ && thumbImageElem !== null) {thumbImageLargeSource = thumbImageElem.data() && thumbImageElem.data().srcLarge ? thumbImageElem.data().srcLarge : ‘none’;}overrides.thumb = thumbImageLargeSource ? thumbImageLargeSource : ‘none’;shouldStartVideo = true;}if (videoPlayer.videoInstance.config) {if (videoPlayer.videoInstance.config.video !== videoId) {jQuery(articleElem).closest(‘.cn-carousel-medium-strip’).parent().find(‘script[name=”metaScript”]’).remove();CNNVIDEOAPI.CNNVideoManager.getInstance().playVideo(configObj.markupId, videoId, overrides);}}}}} catch (error) {console.log(“error in initializing video player” + error);}}function setInitialVideoEmbed() {}function initialize(){var carousel = jQuery(document.getElementById(‘cn-current_video_collection’)).find(‘.js-owl-carousel’),owl;if (carousel) {carousel.find(‘.cn__column.carousel__content__item’).find(‘a’).removeAttr(‘href’);jQuery(carousel).on(‘click’, ‘.cn__column.carousel__content__item’, onVideoCarouselItemClicked);}}if (CNN.VideoPlayer.getLibraryName(configObj.markupId) === ‘videoLoader’) {window.CNNVideoAPILoadCompleteHandlers = window.CNNVideoAPILoadCompleteHandlers ? window.CNNVideoAPILoadCompleteHandlers : [];window.CNNVideoAPILoadCompleteHandlers.push(initialize);window.CNNVideoAPILoadCompleteHandlers.push(setInitialVideoEmbed);} else {initialize();}CNN.INJECTOR.executeFeature(‘videx’).done(function () {var initMeta = {id:”world/2021/05/03/overwhelmed-hospital-india-coronavirus-ward-lead-dnt-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-1mu4wkw’,videoDescriptionDivId: ‘js-video_description-1mu4wkw’,videoDurationDivId: ‘js-video_duration-1mu4wkw’,videoTitleDivId: ‘js-leaf-video_headline-1mu4wkw’,videoSourceDivId: ‘js-video_sourceName-1mu4wkw’});if (CNN.Utils.exists(videocardContents.showName)) {if (CNN.Utils.exists(videocardContents.showUrl)) {showDetailsSpanContent = ‘‘ + videocardContents.showName + ‘ | ‘;} else {showDetailsSpanContent = videocardContents.showName + ‘ | ‘;}}fastdom.measure(function getShowInfo() {var $show = jQuery(‘.metadata__show’),$isShowDetailsSpanExists = $show.find(‘span’).hasClass(‘metadata–show__name’),$showName = jQuery(‘.metadata–show__name’);fastdom.mutate(function updateShowInfo() {if (!$isShowDetailsSpanExists) {$show.prepend(‘

Loading

Leave a Reply

Your email address will not be published. Required fields are marked *

Follow by Email
Pinterest
LinkedIn
Share