Watch Biden make historic announcement

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘politics/2021/04/14/joe-biden-afghanistan-announcement-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/210414143602-03-biden-afghanistan-remarks-0414-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210414143602-03-biden-afghanistan-remarks-0414-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210414143602-03-biden-afghanistan-remarks-0414-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210414143602-03-biden-afghanistan-remarks-0414-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210414143602-03-biden-afghanistan-remarks-0414-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210414143602-03-biden-afghanistan-remarks-0414-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210414143602-03-biden-afghanistan-remarks-0414-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”President Joe Biden announced his proposal to withdraw the remaining 2,500 US troops from Afghanistan before September 11, saying “it’s time to end America’s longest war.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210414143602-03-biden-afghanistan-remarks-0414-large-169.jpg”,”title”:”See Biden make historic announcement on US troops in Afghanistan”,”videoCMSUrl”:”/videos/politics/2021/04/14/joe-biden-afghanistan-announcement-nr-vpx.cnn”,”videoLeafUrl”:”/videos/politics/2021/04/14/joe-biden-afghanistan-announcement-nr-vpx.cnn”,”videoId”:”politics/2021/04/14/joe-biden-afghanistan-announcement-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/14/joe-biden-afghanistan-announcement-nr-vpx.cnn”,”surrogateKey”:”video_39AC9195-616C-B575-2CA7-D1A6E9D1A20A”},{“descriptionPlainText”:”CNN’s John Avlon puts into perspective the likelihood of suffering from rare blood clots that have been reported in only six of the 6.8 million Johnson & Johnson Covid-19 vaccine recipients in the US.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210413082523-us-covid-19-vaccine-doses-johnson–johnson-0325-large-169.jpg”,”title”:”These unlikely events are still more likely than a blood clot after the J&J vaccine”,”videoCMSUrl”:”/video/data/3.0/video/health/2021/04/14/reality-check-johnson–johnson-vaccine-pause-covid-19-avlon-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2021/04/14/reality-check-johnson–johnson-vaccine-pause-covid-19-avlon-newday-vpx.cnn”,”videoId”:”health/2021/04/14/reality-check-johnson–johnson-vaccine-pause-covid-19-avlon-newday-vpx.cnn”,”videoUrl”:”/videos/health/2021/04/14/reality-check-johnson–johnson-vaccine-pause-covid-19-avlon-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_FE940A9A-2725-8F15-467A-D020EA973FF0″},{“descriptionPlainText”:”President Joe Biden plans to announce a withdrawal of US troops from Afghanistan by the upcoming twentieth anniversary of the September 11 terrorist attacks, according to three people familiar with the plans. The withdrawal extends the US troop presence past a May 1 deadline set by the Trump administration in an agreement with the Taliban, but only by a matter of months. CNN’s Nick Paton Walsh reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210413121156-01-us-troops-afghanistan-file-large-169.jpg”,”title”:”Biden to announce Afghanistan withdrawal by September 11″,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/13/biden-afghanistan-withdrawal-september-11-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/13/biden-afghanistan-withdrawal-september-11-vpx.cnn”,”videoId”:”politics/2021/04/13/biden-afghanistan-withdrawal-september-11-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/13/biden-afghanistan-withdrawal-september-11-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_1C6F92D4-9BFB-54F2-89E3-CBFAAD1A8CDC”},{“descriptionPlainText”:”CNN’s Jim Sciutto speaks with Sen. Roger Wicker (R-MS) about the bipartisan negotiations involved with financing President Joe Biden’s infrastructure plan.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210413091600-roger-wicker-large-169.jpg”,”title”:”Sen. Wicker on Biden’s infrastructure plan: Not ruling out tax hike”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/13/roger-wicker-infrastructure-taxes-biden-sciutto-intv-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/13/roger-wicker-infrastructure-taxes-biden-sciutto-intv-nr-vpx.cnn”,”videoId”:”politics/2021/04/13/roger-wicker-infrastructure-taxes-biden-sciutto-intv-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/13/roger-wicker-infrastructure-taxes-biden-sciutto-intv-nr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_901E16DD-00C6-7245-DE42-CB93F6836283″},{“descriptionPlainText”:”Rep. Matt Gaetz (R-FL), who’s facing a federal investigation into sex trafficking allegations, was recently denied a meeting with Donald Trump at his Mar-a-Lago estate, sources tell CNN.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210331140547-01-matt-gaetz-file-2020-large-169.jpg”,”title”:”Sources say Gaetz was denied meeting with Trump”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/12/matt-gaetz-trump-meeting-denied-sources-johns-tsr-dnt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/12/matt-gaetz-trump-meeting-denied-sources-johns-tsr-dnt-vpx.cnn”,”videoId”:”politics/2021/04/12/matt-gaetz-trump-meeting-denied-sources-johns-tsr-dnt-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/12/matt-gaetz-trump-meeting-denied-sources-johns-tsr-dnt-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_F8CD20DB-C0B1-1935-90D7-C85ED2D26751″},{“descriptionPlainText”:”CNN’s John Avlon breaks down the large amount of political funds raised by a handful of controversial figures in US Congress.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210412085318-avlon-reality-check-april-12-large-169.jpg”,”title”:”Avlon: This shows that crazy has a constituency”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/12/gop-lawmakers-campaign-fundraising-reality-check-avlon-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/12/gop-lawmakers-campaign-fundraising-reality-check-avlon-newday-vpx.cnn”,”videoId”:”politics/2021/04/12/gop-lawmakers-campaign-fundraising-reality-check-avlon-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/12/gop-lawmakers-campaign-fundraising-reality-check-avlon-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_0DB9C158-E9D0-E960-ADBD-C61C3EB6F010″},{“descriptionPlainText”:”CNN’s Pamela Brown presses Republican Texas State Senator Bryan Hughes on the bill he authored that will tighten voting restrictions in his state.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210411201353-pam-brown-bryan-hughes-split-vpx-large-169.jpg”,”title”:”CNN anchor pushes back on Texas state lawmaker’s defense of voting bill”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/12/texas-voting-bill-bryan-hughes-intv-brown-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/12/texas-voting-bill-bryan-hughes-intv-brown-nr-vpx.cnn”,”videoId”:”politics/2021/04/12/texas-voting-bill-bryan-hughes-intv-brown-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/12/texas-voting-bill-bryan-hughes-intv-brown-nr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_2EBC3292-A0C2-E1B6-E764-C36465194C62″},{“descriptionPlainText”:”Transportation Sec. Pete Buttigieg talks to CNN’s Jake Tapper about the potential timeline for President Joe Biden’s infrastructure plan to pass.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210411105011-pete-buttigieg-large-169.jpg”,”title”:”Tapper asks Buttigieg for infrastructure plan timeline”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/11/pete-buttigieg-infrastructure-plan-timeline-tapper-sotu-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/11/pete-buttigieg-infrastructure-plan-timeline-tapper-sotu-sot-vpx.cnn”,”videoId”:”politics/2021/04/11/pete-buttigieg-infrastructure-plan-timeline-tapper-sotu-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/11/pete-buttigieg-infrastructure-plan-timeline-tapper-sotu-sot-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_CB30630A-0B09-E62A-C028-C1AB286E75C3″},{“descriptionPlainText”:”Arkansas Republican Governor Asa Hutchinson reacted to former President Donald Trump’s attacks on top party leaders in his RNC spring retreat address, saying his remarks are “divisive” for elected GOP officials around the country.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210411104648-gov-asa-hutchinson-sotu-0411-vpx-large-169.jpeg”,”title”:”GOP governor calls Trump’s RNC remarks ‘divisive'”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/11/hutchinson-on-trump-rnc-donors-spring-retreat-remarks-intv-tapper-sotu-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/11/hutchinson-on-trump-rnc-donors-spring-retreat-remarks-intv-tapper-sotu-vpx.cnn”,”videoId”:”politics/2021/04/11/hutchinson-on-trump-rnc-donors-spring-retreat-remarks-intv-tapper-sotu-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/11/hutchinson-on-trump-rnc-donors-spring-retreat-remarks-intv-tapper-sotu-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_5F2AE27C-D6D1-21AD-01CA-C17DE5E8DE28″},{“descriptionPlainText”:”The Supreme Court by a 5-4 vote blocked another state Covid-19 restriction on religious services, with another late-night order, over protests from California officials that the limits affecting some Bible study sessions did not impinge on religious rights and were to be lifted within days.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210129144107-05-scotus-exterior-file-large-169.jpg”,”title”:”SCOTUS blocks California Covid restriction on religious activities”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/10/supreme-court-california-covid-restrictions-religious-activities-biskupic-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/10/supreme-court-california-covid-restrictions-religious-activities-biskupic-vpx.cnn”,”videoId”:”politics/2021/04/10/supreme-court-california-covid-restrictions-religious-activities-biskupic-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/10/supreme-court-california-covid-restrictions-religious-activities-biskupic-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_547AEC24-354F-AA03-6F68-BE064EBBDB9A”},{“descriptionPlainText”:”Rep. Jim Clyburn (D-SC) tells CNN’s Jake Tapper why he thinks Georgia’s new voting law represents ‘new Jim Crow.'”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210411103039-rep-jim-clyburn-georgia-voting-law-jim-crow-sot-sotu-vpx-00000000-large-169.jpg”,”title”:”Rep. Clyburn blasts GA voting law: It’s the ‘new Jim Crow'”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/11/rep-jim-clyburn-georgia-voting-law-jim-crow-sot-sotu-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/11/rep-jim-clyburn-georgia-voting-law-jim-crow-sot-sotu-vpx.cnn”,”videoId”:”politics/2021/04/11/rep-jim-clyburn-georgia-voting-law-jim-crow-sot-sotu-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/11/rep-jim-clyburn-georgia-voting-law-jim-crow-sot-sotu-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_F460E007-FB76-D52D-C7D0-C14B53A86893″},{“descriptionPlainText”:”Democratic Sen. Joe Manchin of West Virginia told CNN that the deadly attack on January 6th at the US Capitol “changed” him, saying, “you can’t have this many people split to where they want to go to war with each other” as he calls for Democrats and Republicans to work together on top legislative priorities in a divided Washington.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210408155128-joe-manchin-large-169.jpg”,”title”:”‘I never thought in my life …’ Why Manchin won’t walk away from bipartisanship”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/08/manchin-capitol-riot-fox-intv-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/08/manchin-capitol-riot-fox-intv-vpx.cnn”,”videoId”:”politics/2021/04/08/manchin-capitol-riot-fox-intv-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/08/manchin-capitol-riot-fox-intv-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_B3169704-55B2-DDC6-F5A3-B2BB5ED6F2E3″},{“descriptionPlainText”:”CNN’s Sunlen Serfaty takes a look at Rep. Matt Gaetz’s (R-FL) political career.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210408164153-06-gaetz-file-2019-large-169.jpg”,”title”:”‘Bombastic, antagonistic, unapologetic’: A look at Gaetz’s political career”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/08/matt-gaetz-political-career-serfaty-tsr-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/08/matt-gaetz-political-career-serfaty-tsr-pkg-vpx.cnn”,”videoId”:”politics/2021/04/08/matt-gaetz-political-career-serfaty-tsr-pkg-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/08/matt-gaetz-political-career-serfaty-tsr-pkg-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_DF3A739A-75CB-C4C2-22A4-B393EA9024BB”},{“descriptionPlainText”:”John Boehner, former Republican House Speaker, reflects on his tenure in office in his new book, “On the House: A Washington Memoir.” CNN’s Brian Todd breaks down some key stories from the book, including the time Alaska Rep. Don Young held a knife to his throat.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210407094117-john-boehner-file-2019-large-169.jpg”,”title”:”Boehner says Republican colleague held 10-inch knife to his throat outside House floor”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/08/john-boehner-book-gop-todd-pkg-tsr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/08/john-boehner-book-gop-todd-pkg-tsr-vpx.cnn”,”videoId”:”politics/2021/04/08/john-boehner-book-gop-todd-pkg-tsr-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/08/john-boehner-book-gop-todd-pkg-tsr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_79C4DC77-7B77-A0E1-3829-B3CEC3376C44″},{“descriptionPlainText”:”In his address calling for gun policy reform, President Biden said Congress should ban assault weapons and high capacity magazines as well as end immunity for gun manufacturing companies that prevents them from being sued.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210408120646-03-biden-gun-violence-prevention-0408-large-169.jpg”,”title”:”Biden calls for ban on assault weapons”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/08/gun-violence-reform-assault-weapons-president-biden-reform-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/08/gun-violence-reform-assault-weapons-president-biden-reform-vpx.cnn”,”videoId”:”politics/2021/04/08/gun-violence-reform-assault-weapons-president-biden-reform-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/08/gun-violence-reform-assault-weapons-president-biden-reform-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_51B1517B-13B8-6BB5-E837-B242D4D977E7″},{“descriptionPlainText”:”President Joe Biden responds to critics who say his $2 trillion infrastructure plan is “too big” and he should instead focus on traditional forms of infrastructure.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210407144138-joe-biden-large-169.jpg”,”title”:”Biden: High-speed internet is infrastructure “,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/04/07/joe-biden-infrastructure-plan-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/04/07/joe-biden-infrastructure-plan-sot-vpx.cnn”,”videoId”:”politics/2021/04/07/joe-biden-infrastructure-plan-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2021/04/07/joe-biden-infrastructure-plan-sot-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_CE3EACDB-508A-3739-851F-AD851D2BF4E0″}],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/2021/04/14/joe-biden-afghanistan-announcement-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-147yi1m’,videoDescriptionDivId: ‘js-video_description-147yi1m’,videoDurationDivId: ‘js-video_duration-147yi1m’,videoTitleDivId: ‘js-leaf-video_headline-147yi1m’,videoSourceDivId: ‘js-video_sourceName-147yi1m’});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