Double-lung transplant recipient describes fight with virus – CNN

‘);$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/08/02/double-lung-transplant-recipient-mayra-ramirez-coronavirus-intv-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/200802190334-mayra-ramirez-double-lung-transplant-08022020-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200802190334-mayra-ramirez-double-lung-transplant-08022020-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200802190334-mayra-ramirez-double-lung-transplant-08022020-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200802190334-mayra-ramirez-double-lung-transplant-08022020-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200802190334-mayra-ramirez-double-lung-transplant-08022020-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200802190334-mayra-ramirez-double-lung-transplant-08022020-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200802190334-mayra-ramirez-double-lung-transplant-08022020-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”After being placed on a ventilator for six weeks due to Covid-19, Mayra Ramirez was so sick she needed a double-lung transplant. Ramirez and the surgeon who performed the operation, Dr. Ankit Bharat, share their experience.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200802190334-mayra-ramirez-double-lung-transplant-08022020-large-169.jpg”,”title”:”Double-lung transplant recipient describes fight with virus”,”videoCMSUrl”:”/videos/health/2020/08/02/double-lung-transplant-recipient-mayra-ramirez-coronavirus-intv-nr-vpx.cnn”,”videoLeafUrl”:”/videos/health/2020/08/02/double-lung-transplant-recipient-mayra-ramirez-coronavirus-intv-nr-vpx.cnn”,”videoId”:”health/2020/08/02/double-lung-transplant-recipient-mayra-ramirez-coronavirus-intv-nr-vpx.cnn”,”videoUrl”:”/videos/health/2020/08/02/double-lung-transplant-recipient-mayra-ramirez-coronavirus-intv-nr-vpx.cnn”,”surrogateKey”:”video_4A5DEF18-10AF-0FE9-1DBB-B15FF3E2FBC1″},{“descriptionPlainText”:”Dozens of people attended a party at a Los Angeles bar without wearing masks or adhering to social distancing guidelines. The bar’s owners say the event was meant to “honor first responders.” California has over 500,000 reported cases of coronavirus, more than any other state in the US. CNN’s Kyung Lah reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200802140300-02-sassafras-saloon-party-large-169.jpg”,”title”:”Dozens seen partying at event honoring first responders”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/08/02/los-angeles-first-responders-covid-party-lah-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/08/02/los-angeles-first-responders-covid-party-lah-sot-vpx.cnn”,”videoId”:”us/2020/08/02/los-angeles-first-responders-covid-party-lah-sot-vpx.cnn”,”videoUrl”:”/videos/us/2020/08/02/los-angeles-first-responders-covid-party-lah-sot-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_C1AF35CC-7188-AD17-CDED-B0ED2DCEA349″},{“descriptionPlainText”:”CNN’s John King breaks down the latest trends in US Covid-19 cases, where 12 states are seeing an upward trend, but 11 are now trending down.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200731143334-florida-covid-testing-0722-large-169.jpg”,”title”:”John King breaks down latest Covid-19 US trends”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/08/02/coronavirus-possible-mid-july-plateau-king-magic-wall-ip-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/08/02/coronavirus-possible-mid-july-plateau-king-magic-wall-ip-vpx.cnn”,”videoId”:”health/2020/08/02/coronavirus-possible-mid-july-plateau-king-magic-wall-ip-vpx.cnn”,”videoUrl”:”/videos/health/2020/08/02/coronavirus-possible-mid-july-plateau-king-magic-wall-ip-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_787C1C66-14EF-6247-8EFB-AEDDF53CFE1C”},{“descriptionPlainText”:”Dr. Deborah Birx speaks to CNN about what she calls a “new phase” of Covid-19 in America.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200802111823-birx-sotu-080220-large-169.jpg”,”title”:”Dr. Birx has a warning for rural Americans”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/08/02/birx-rural-america-coronavirus-new-phase-sot-vpx-sotu.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/08/02/birx-rural-america-coronavirus-new-phase-sot-vpx-sotu.cnn”,”videoId”:”health/2020/08/02/birx-rural-america-coronavirus-new-phase-sot-vpx-sotu.cnn”,”videoUrl”:”/videos/health/2020/08/02/birx-rural-america-coronavirus-new-phase-sot-vpx-sotu.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_637E26CD-1E37-329B-029B-AF6A07C3A561″},{“descriptionPlainText”:”Public health officials have been stressing the importance of wearing face masks to slow the spread of the coronavirus for months, but many experts are now urging the use of face shields and eye goggles as well. CNN’s Brian Todd reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200731195154-mask-large-169.jpg”,”title”:”Hear why experts now question if masks are enough “,”videoCMSUrl”:”/video/data/3.0/video/health/2020/07/31/coronavirus-mask-safety-questions-todd-pkg-tsr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/07/31/coronavirus-mask-safety-questions-todd-pkg-tsr-vpx.cnn”,”videoId”:”health/2020/07/31/coronavirus-mask-safety-questions-todd-pkg-tsr-vpx.cnn”,”videoUrl”:”/videos/health/2020/07/31/coronavirus-mask-safety-questions-todd-pkg-tsr-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_81DA25FA-60CB-2689-5A1B-A7336991FD7D”},{“descriptionPlainText”:”Dr. Anthony Fauci gives his take on if there is a need to lock down the US again to help fight the spread of Covid-19.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200730213711-dr-anthony-fauci-town-hall-0730-large-169.jpg”,”title”:”Dr. Fauci gives his thoughts on another potential lockdown”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/07/31/fauci-another-lockdown-coronavirus-pandemic-curve-impossible-predict-town-hall-bts-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/07/31/fauci-another-lockdown-coronavirus-pandemic-curve-impossible-predict-town-hall-bts-vpx.cnn”,”videoId”:”health/2020/07/31/fauci-another-lockdown-coronavirus-pandemic-curve-impossible-predict-town-hall-bts-vpx.cnn”,”videoUrl”:”/videos/health/2020/07/31/fauci-another-lockdown-coronavirus-pandemic-curve-impossible-predict-town-hall-bts-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_7E76C3BB-4530-8436-82AA-A278CA31DB7A”},{“descriptionPlainText”:”CNN’s Elizabeth Cohen talks to Dr. Moncef Slaoui, chief adviser to “Operation Warp Speed,” the federal government’s Covid-19 vaccine program, about when Americans can expect a vaccine to be available and how effective it could be.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200730175610-moncef-slaoui-operation-warp-speed-vaccine-cohen-large-169.jpg”,”title”:”When you can expect to get a Covid-19 vaccine”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/07/30/coronavirus-vaccine-timeline-effectiveness-cohen-lead-bts-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/07/30/coronavirus-vaccine-timeline-effectiveness-cohen-lead-bts-vpx.cnn”,”videoId”:”health/2020/07/30/coronavirus-vaccine-timeline-effectiveness-cohen-lead-bts-vpx.cnn”,”videoUrl”:”/videos/health/2020/07/30/coronavirus-vaccine-timeline-effectiveness-cohen-lead-bts-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_A60C08CF-9917-2A56-9D20-A11DDF873377″},{“descriptionPlainText”:”States across the country continue to report record numbers of coronavirus deaths as the United States nears 4.5 million cases. CNN’s Nick Watt has more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200730090026-01-texas-coronavirus-0728-large-169.jpg”,”title”:”US cases near 4.5 million as infection rates surge”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/07/30/coronavirus-07302020-wrap-watt-pkg-tsr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/07/30/coronavirus-07302020-wrap-watt-pkg-tsr-vpx.cnn”,”videoId”:”health/2020/07/30/coronavirus-07302020-wrap-watt-pkg-tsr-vpx.cnn”,”videoUrl”:”/videos/health/2020/07/30/coronavirus-07302020-wrap-watt-pkg-tsr-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_14FF2CCF-4EA4-6DDD-43DC-A1A10B4D00B1″},{“descriptionPlainText”:”With the economy wavering as coronavirus cases rise, millions of renters across the country are increasingly concerned about the threat of evictions as the new month’s rent payment approaches.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200730172151-evictions-pkg-large-169.jpg”,”title”:”Single mom to lawmakers: Please don’t make us have to call a shelter”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/07/30/coronavirus-pandemic-eviction-threats-pkg-phillip-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/07/30/coronavirus-pandemic-eviction-threats-pkg-phillip-lead-vpx.cnn”,”videoId”:”us/2020/07/30/coronavirus-pandemic-eviction-threats-pkg-phillip-lead-vpx.cnn”,”videoUrl”:”/videos/us/2020/07/30/coronavirus-pandemic-eviction-threats-pkg-phillip-lead-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_081B4E4D-E0E0-1F09-05B7-A1B856F21504″},{“descriptionPlainText”:”President Donald Trump has repeatedly delivered positive remarks on the United States’ coronavirus response despite more than 4 million cases and nearly 150,000 deaths.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200728132806-coronavirus-mask-trump-cases-reopening-large-169.jpg”,”title”:”Trump repeatedly downplayed the virus as the US reopened”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/07/28/coronavirus-cases-united-states-trump-comments-since-reopening-orig-me.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/07/28/coronavirus-cases-united-states-trump-comments-since-reopening-orig-me.cnn”,”videoId”:”politics/2020/07/28/coronavirus-cases-united-states-trump-comments-since-reopening-orig-me.cnn”,”videoUrl”:”/videos/politics/2020/07/28/coronavirus-cases-united-states-trump-comments-since-reopening-orig-me.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_8C5A7F9A-8E19-8885-B9BD-96AE989F3EFA”},{“descriptionPlainText”:”After her 29-year-old daugher died from Covid-19, Anadelia Diaz was left to care for her three grandchildren, two of whom also were sick with coronavirus. Diaz shares her story with CNN’s Brooke Baldwin.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200729171702-fl-mother-coronavirus-death-large-169.jpg”,”title”:”Mom after losing daughter to Covid-19: I’m empty inside”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/07/29/florida-mother-daughter-health-care-worker-coronavirus-death-intv-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/07/29/florida-mother-daughter-health-care-worker-coronavirus-death-intv-nr-vpx.cnn”,”videoId”:”health/2020/07/29/florida-mother-daughter-health-care-worker-coronavirus-death-intv-nr-vpx.cnn”,”videoUrl”:”/videos/health/2020/07/29/florida-mother-daughter-health-care-worker-coronavirus-death-intv-nr-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_B9097809-574C-74B7-6682-9C5B9080BF32″},{“descriptionPlainText”:”The US reached a grim milestone in the coronavirus pandemic as more than 150,000 people have died, according to data from Johns Hopkins University. CNN’s NIck Watt reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200728022825-california-hospital-coronavirus-0721-large-169.jpg”,”title”:”US surpasses 150,000 coronavirus deaths”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/07/29/coronavirus-us-hotspots-deaths-watt-pkg-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/07/29/coronavirus-us-hotspots-deaths-watt-pkg-lead-vpx.cnn”,”videoId”:”health/2020/07/29/coronavirus-us-hotspots-deaths-watt-pkg-lead-vpx.cnn”,”videoUrl”:”/videos/health/2020/07/29/coronavirus-us-hotspots-deaths-watt-pkg-lead-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_82F38DE4-9292-E0A8-656D-9C367CBD08E9″},{“descriptionPlainText”:”Dr. Anthony Fauci tells CNN’s Wolf Blitzer how a Covid-19 vaccine may be prioritized once it is developed.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200727192012-anthony-fauci-sitroom-large-169.jpg”,”title”:”Here’s what Fauci thinks about the latest vaccine trial”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/07/27/anthony-fauci-coronavirus-vaccine-testing-sot-sitroom-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/07/27/anthony-fauci-coronavirus-vaccine-testing-sot-sitroom-vpx.cnn”,”videoId”:”health/2020/07/27/anthony-fauci-coronavirus-vaccine-testing-sot-sitroom-vpx.cnn”,”videoUrl”:”/videos/health/2020/07/27/anthony-fauci-coronavirus-vaccine-testing-sot-sitroom-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_2F45A727-B563-2018-0A62-922760222C05″},{“descriptionPlainText”:”CNN’s John King looks at the coronavirus numbers throughout the country after the US recently topped four million Covid-19 cases.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200314134018-01-coronavirus-seattle-0313-large-169.jpg”,”title”:”How Covid-19 numbers are looking across the country”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/07/26/us-coronavirus-cases-magic-wall-king-ip-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/07/26/us-coronavirus-cases-magic-wall-king-ip-vpx.cnn”,”videoId”:”health/2020/07/26/us-coronavirus-cases-magic-wall-king-ip-vpx.cnn”,”videoUrl”:”/videos/health/2020/07/26/us-coronavirus-cases-magic-wall-king-ip-vpx.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_1C1C2E26-B141-A0CD-0587-8B17BDF14340″},{“descriptionPlainText”:”People being treated for or recovering from Covid-19 are turning to online support groups to share their stories and find hope.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200725191454-covid-support-group-large-169.jpg”,”title”:”They created a community of Covid-19 ‘long haulers'”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/07/25/coronavirus-covid-19-survivor-support-groups-long-haulers-orig-llr.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/07/25/coronavirus-covid-19-survivor-support-groups-long-haulers-orig-llr.cnn”,”videoId”:”us/2020/07/25/coronavirus-covid-19-survivor-support-groups-long-haulers-orig-llr.cnn”,”videoUrl”:”/videos/us/2020/07/25/coronavirus-covid-19-survivor-support-groups-long-haulers-orig-llr.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_F806D655-915F-847A-9723-8828A351135A”},{“descriptionPlainText”:”Months into the US Covid-19 pandemic, states across the nation are still setting new records for infections and deaths. California reported its highest number of coronavirus deaths, with 159 in a single day, according to data from the California Department of Public Health.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200724025226-us-coronavirus-0721-large-169.jpg”,”title”:”California reports highest number of single-day Covid-19 deaths”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/07/25/california-coronavirus-deaths-fauci-schools-sandoval-dnt-vpx-ndwknd.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/07/25/california-coronavirus-deaths-fauci-schools-sandoval-dnt-vpx-ndwknd.cnn”,”videoId”:”health/2020/07/25/california-coronavirus-deaths-fauci-schools-sandoval-dnt-vpx-ndwknd.cnn”,”videoUrl”:”/videos/health/2020/07/25/california-coronavirus-deaths-fauci-schools-sandoval-dnt-vpx-ndwknd.cnn/video/playlists/coronavirus/”,”surrogateKey”:”video_C8E0D2ED-AAFB-290E-9F54-85A7E3B06D50″}],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/08/02/double-lung-transplant-recipient-mayra-ramirez-coronavirus-intv-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-1txst2l’,videoDescriptionDivId: ‘js-video_description-1txst2l’,videoDurationDivId: ‘js-video_duration-1txst2l’,videoTitleDivId: ‘js-leaf-video_headline-1txst2l’,videoSourceDivId: ‘js-video_sourceName-1txst2l’});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(‘

Leave a Reply