Watch Trump depart for Walter Reed Medical Center

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘politics/2020/10/02/trump-coronavirus-walter-reed-marine-one-gupta-lklv-tsr-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/201002183014-trump-virus-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201002183014-trump-virus-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201002183014-trump-virus-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201002183014-trump-virus-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201002183014-trump-virus-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201002183014-trump-virus-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201002183014-trump-virus-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Marine One takes President Trump to Walter Reed Medical Center after the President tested positive for coronavirus.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201002183014-trump-virus-large-169.jpg”,”title”:”Trump departs for hospital after testing positive for coronavirus”,”videoCMSUrl”:”/videos/politics/2020/10/02/trump-coronavirus-walter-reed-marine-one-gupta-lklv-tsr-vpx.cnn”,”videoLeafUrl”:”/videos/politics/2020/10/02/trump-coronavirus-walter-reed-marine-one-gupta-lklv-tsr-vpx.cnn”,”videoId”:”politics/2020/10/02/trump-coronavirus-walter-reed-marine-one-gupta-lklv-tsr-vpx.cnn”,”videoUrl”:”/videos/politics/2020/10/02/trump-coronavirus-walter-reed-marine-one-gupta-lklv-tsr-vpx.cnn”,”surrogateKey”:”video_CE3918F1-86C3-A74B-F501-EB053C571973″},{“descriptionPlainText”:”Global markets and US stock futures were roiled by news that President Donald Trump and first lady Melania Trump have tested positive for coronavirus. CNN’s Selina Wang reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201002100216-selina-wang-trump-coronavirus-10022020-large-169.jpg”,”title”:”CNN reporter: Trump contracting Covid-19 could be ‘game changer’ for markets “,”videoCMSUrl”:”/video/data/3.0/video/business/2020/10/02/trump-tests-positive-coronavirus-global-markets-stocks-wang-newsroom-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/10/02/trump-tests-positive-coronavirus-global-markets-stocks-wang-newsroom-ldn-vpx.cnn”,”videoId”:”business/2020/10/02/trump-tests-positive-coronavirus-global-markets-stocks-wang-newsroom-ldn-vpx.cnn”,”videoUrl”:”/videos/business/2020/10/02/trump-tests-positive-coronavirus-global-markets-stocks-wang-newsroom-ldn-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_4F60E31E-A9A9-351D-70C7-E881946B04AA”},{“descriptionPlainText”:”Democratic presidential nominee speaks after President Donald Trump and First Lady Melania Trump tested positive for Covid-19, saying “my wife Jill and I pray they make a quick and full recovery.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201002170702-biden-speaks-after-trump-covid-19-test-vpx-large-169.jpg”,”title”:”Joe Biden: I pray Trump makes a full recovery”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/02/biden-speaks-after-trump-positive-coronavirus-test-sot-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/02/biden-speaks-after-trump-positive-coronavirus-test-sot-lead-vpx.cnn”,”videoId”:”politics/2020/10/02/biden-speaks-after-trump-positive-coronavirus-test-sot-lead-vpx.cnn”,”videoUrl”:”/videos/politics/2020/10/02/biden-speaks-after-trump-positive-coronavirus-test-sot-lead-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_FBAE8716-4C1C-3C61-ED87-EB14EC910CD8″},{“descriptionPlainText”:”House Speaker Nancy Pelosi says she is praying for President Donald Trump and first lady Melania Trump after the president announced they both tested positive for coronavirus.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201002101325-pelosi-trump-covid-large-169.jpg”,”title”:”Pelosi reacts to Trump’s coronavirus diagnosis”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/02/nancy-pelosi-trump-coronavirus-diagnosis-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/02/nancy-pelosi-trump-coronavirus-diagnosis-nr-vpx.cnn”,”videoId”:”politics/2020/10/02/nancy-pelosi-trump-coronavirus-diagnosis-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2020/10/02/nancy-pelosi-trump-coronavirus-diagnosis-nr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_FA72F924-0D94-36BE-776A-E99A22C6B7EE”},{“descriptionPlainText”:”During the first presidential debate, President Donald Trump made a joke about Democratic presidential nominee Joe Biden’s mask-wearing habits.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201002022540-trump-biden-debate-mask-for-video-02-large-169.jpg”,”title”:”Trump makes fun of Biden’s mask-wearing habits”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/02/trump-biden-masks-debate-dpx-vpx-sot.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/02/trump-biden-masks-debate-dpx-vpx-sot.cnn”,”videoId”:”politics/2020/10/02/trump-biden-masks-debate-dpx-vpx-sot.cnn”,”videoUrl”:”/videos/politics/2020/10/02/trump-biden-masks-debate-dpx-vpx-sot.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_B1200802-AA3C-1096-04E7-E7EF5218113A”},{“descriptionPlainText”:”President Donald Trump has routinely delivered positive remarks on the United States’ coronavirus response despite more than 200,000 deaths.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200728132806-coronavirus-mask-trump-cases-reopening-large-169.jpg”,”title”:”Trump has repeatedly downplayed the virus all year”,”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/this-week-in-politics/”,”surrogateKey”:”video_8C5A7F9A-8E19-8885-B9BD-96AE989F3EFA”},{“descriptionPlainText”:”President Donald Trump continues to stoke fear over the upcoming presidential election’s security and integrity. CNN’s Pamela Brown reports Trump’s call for “poll watchers” has state officials scrambling to respond to the potential for Election Day intimidation and possibly violence.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201001160659-voter-intimidation-election-day-fears-donald-trump-poll-watchers-brown-dnt-nr-vpx-00002812-large-169.jpg”,”title”:”‘Complete propaganda!’: Lt. governor calls out Trump’s tactics”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/01/voter-intimidation-election-day-fears-donald-trump-poll-watchers-brown-dnt-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/01/voter-intimidation-election-day-fears-donald-trump-poll-watchers-brown-dnt-nr-vpx.cnn”,”videoId”:”politics/2020/10/01/voter-intimidation-election-day-fears-donald-trump-poll-watchers-brown-dnt-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2020/10/01/voter-intimidation-election-day-fears-donald-trump-poll-watchers-brown-dnt-nr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_F7817F2B-7174-4A04-6DD7-E584E77AD623″},{“descriptionPlainText”:”CNN’s Brianna Keilar speaks with Sarah Evanega, the director at the Cornell Alliance for Science Department of Global Development, about a study which finds President Trump has likely been the largest driver of coronavirus misinformation. In a response to CNN about the study, White House deputy press secretary Judd Deere said, “This study could not be further from the truth. The President’s message has been consistent from the beginning: resilience, hope, and optimism.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201001100038-02-trump-0930-large-169.jpg”,”title”:”Study: Trump likely largest driver of Covid-19 misinformation”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/01/trump-coronavirus-misinformation-study-sarah-evanega-cornell-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/01/trump-coronavirus-misinformation-study-sarah-evanega-cornell-nr-vpx.cnn”,”videoId”:”politics/2020/10/01/trump-coronavirus-misinformation-study-sarah-evanega-cornell-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2020/10/01/trump-coronavirus-misinformation-study-sarah-evanega-cornell-nr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_027ABE2D-173F-CCF1-CEEF-E542F1A4B8DA”},{“descriptionPlainText”:”Rep. Katie Porter (D-CA) did the math in an interrogation of the former CEO from pharmaceutical company Celgene over the connection between rising drug prices and the CEO’s compensation.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201001005021-katie-porter-drug-hearing-2-large-169.jpg”,”title”:”Lawmaker corners former pharma CEO in blistering interrogation”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/01/drug-prices-congress-pharma-ceo-katie-porter-eg-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/01/drug-prices-congress-pharma-ceo-katie-porter-eg-orig.cnn”,”videoId”:”politics/2020/10/01/drug-prices-congress-pharma-ceo-katie-porter-eg-orig.cnn”,”videoUrl”:”/videos/politics/2020/10/01/drug-prices-congress-pharma-ceo-katie-porter-eg-orig.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_BE648483-5ED2-CD3B-249C-E2668BC1E196″},{“descriptionPlainText”:”During a White House briefing, CNN’s Kaitlan Collins pushed White House press secretary Kayleigh McEnany on why President Trump won’t outright denounce the far-right, white supremacist group the Proud Boys.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201001132929-mcenany-and-collins-large-169.jpg”,”title”:”White House still won’t outright denounce white supremacy”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/01/kayleigh-mcenany-collins-trump-proud-boys-white-supremacy-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/01/kayleigh-mcenany-collins-trump-proud-boys-white-supremacy-nr-vpx.cnn”,”videoId”:”politics/2020/10/01/kayleigh-mcenany-collins-trump-proud-boys-white-supremacy-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2020/10/01/kayleigh-mcenany-collins-trump-proud-boys-white-supremacy-nr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_E86246DA-4923-5664-14EE-E52E031A2AAF”},{“descriptionPlainText”:”CNN’s Chris Cuomo sits down with Texas Sen. Ted Cruz and talks about the Supreme Court, peaceful transfer of power, and Bush v. Gore, a case Cruz tried in front of the highest Court in the land.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190324094522-ted-cruz-large-169.jpg”,”title”:”Cruz: We could find ourselves in nationwide litigation “,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/01/ted-cruz-scotus-one-vote-away-cuomo-cpt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/01/ted-cruz-scotus-one-vote-away-cuomo-cpt-vpx.cnn”,”videoId”:”politics/2020/10/01/ted-cruz-scotus-one-vote-away-cuomo-cpt-vpx.cnn”,”videoUrl”:”/videos/politics/2020/10/01/ted-cruz-scotus-one-vote-away-cuomo-cpt-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_E9A7A362-7157-4DE4-FE6B-E4B8C8908886″},{“descriptionPlainText”:”CNN’s John Avlon goes over President Trump’s past chances to speak out against white supremacy in America, and how often he balked at opportunities, and did not like it when he actually did.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200929215947-31-debate-cleveland-trump-0929-large-169.jpg”,”title”:”Avlon: Proud Boys see Trump’s comments as an endorsement”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/01/trump-white-supremacy-reality-check-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/01/trump-white-supremacy-reality-check-newday-vpx.cnn”,”videoId”:”politics/2020/10/01/trump-white-supremacy-reality-check-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2020/10/01/trump-white-supremacy-reality-check-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_9653A44D-C9FD-9319-2D72-E3C1462E760A”},{“descriptionPlainText”:”CNN’s Randi Kaye speaks to a group of undecided voters from swing states about their thoughts on the first presidential debate with President Donald Trump and Democratic nominee Joe Biden.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200930220039-voter-randi-kaye-1-vpx-large-169.jpg”,”title”:”Undecided voter reacts to debate: I’d consider not voting”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/01/undecided-voters-trump-biden-debate-reaction-kaye-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/01/undecided-voters-trump-biden-debate-reaction-kaye-pkg-vpx.cnn”,”videoId”:”politics/2020/10/01/undecided-voters-trump-biden-debate-reaction-kaye-pkg-vpx.cnn”,”videoUrl”:”/videos/politics/2020/10/01/undecided-voters-trump-biden-debate-reaction-kaye-pkg-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_F3F48922-FC16-1C29-DB89-E1D4823DFD59″},{“descriptionPlainText”:”President Trump and his administration have said many times that he would release his income tax returns.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200930134810-donald-trump-0929-large-169.jpg”,”title”:”Watch Trump’s history of refusing to release his tax returns”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/01/donald-trump-tax-returns-history-orig-vf.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/01/donald-trump-tax-returns-history-orig-vf.cnn”,”videoId”:”politics/2020/10/01/donald-trump-tax-returns-history-orig-vf.cnn”,”videoUrl”:”/videos/politics/2020/10/01/donald-trump-tax-returns-history-orig-vf.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_CF7DD699-C670-28C4-1261-E468271DBEDE”},{“descriptionPlainText”:”CNN’s Daniel Dale fact checks President Donald Trump’s claims about election fraud and mail-in voting made during the first presidential debate of the 2020 election season.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200929225855-40-debate-cleveland-0929-large-169.jpg”,”title”:”‘That is false’: Dale fact checks Trump’s ballot fraud claim”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/09/30/daniel-dale-debate-fact-check-mail-in-voting-election-fraud-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/09/30/daniel-dale-debate-fact-check-mail-in-voting-election-fraud-vpx.cnn”,”videoId”:”politics/2020/09/30/daniel-dale-debate-fact-check-mail-in-voting-election-fraud-vpx.cnn”,”videoUrl”:”/videos/politics/2020/09/30/daniel-dale-debate-fact-check-mail-in-voting-election-fraud-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_43CB5993-4AC5-9E7F-682A-DD15067069DA”},{“descriptionPlainText”:”CNN reporter Donie O’Sullivan speaks to a vendor outside a Trump rally in Duluth, Minnesota, who says he has seen an increase in demand for QAnon merchandise.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201001001413-duluth-trump-rally-vendor-ctn-vpx-large-169.jpg”,”title”:”Vendor at Trump rally says he’s seen uptick in QAnon merchandise demand”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/01/trump-rally-vendor-qanon-merchandise-donie-osullivan-ctn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/01/trump-rally-vendor-qanon-merchandise-donie-osullivan-ctn-vpx.cnn”,”videoId”:”politics/2020/10/01/trump-rally-vendor-qanon-merchandise-donie-osullivan-ctn-vpx.cnn”,”videoUrl”:”/videos/politics/2020/10/01/trump-rally-vendor-qanon-merchandise-donie-osullivan-ctn-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_F1A5140C-2B67-915C-840F-E253166AD7CD”}],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:”politics/2020/10/02/trump-coronavirus-walter-reed-marine-one-gupta-lklv-tsr-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-6zt3ky’,videoDescriptionDivId: ‘js-video_description-6zt3ky’,videoDurationDivId: ‘js-video_duration-6zt3ky’,videoTitleDivId: ‘js-leaf-video_headline-6zt3ky’,videoSourceDivId: ‘js-video_sourceName-6zt3ky’});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