See Biden’s message to remaining Americans in Afghanistan

‘);$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/08/31/biden-americans-afghanistan-speech-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/210831161620-biden-afghanistan-presser-0831-video-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210831161620-biden-afghanistan-presser-0831-video-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210831161620-biden-afghanistan-presser-0831-video-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210831161620-biden-afghanistan-presser-0831-video-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210831161620-biden-afghanistan-presser-0831-video-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210831161620-biden-afghanistan-presser-0831-video-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210831161620-biden-afghanistan-presser-0831-video-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”President Biden vowed to help Americans remaining in Afghanistan leave the country following the US military withdrawal.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210831161620-biden-afghanistan-presser-0831-video-large-169.jpg”,”title”:”See Biden’s message to remaining Americans in Afghanistan”,”videoCMSUrl”:”/videos/politics/2021/08/31/biden-americans-afghanistan-speech-vpx.cnn”,”videoLeafUrl”:”/videos/politics/2021/08/31/biden-americans-afghanistan-speech-vpx.cnn”,”videoId”:”politics/2021/08/31/biden-americans-afghanistan-speech-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/31/biden-americans-afghanistan-speech-vpx.cnn”,”surrogateKey”:”video_63DE17E7-42F2-289C-8EA3-9DDD18E29998″},{“descriptionPlainText”:”Some members of the GOP are falsely claiming that refugees from Afghanistan are arriving in the US unvetted. CNN’s Tara Subramaniam has the facts.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210827145005-afghan-refugees-dulles-large-169.jpg”,”title”:”GOP claims Afghan refugees are arriving unvetted. That’s not true”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/27/afghanistan-refugees-fact-check-mh-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/27/afghanistan-refugees-fact-check-mh-orig.cnn”,”videoId”:”politics/2021/08/27/afghanistan-refugees-fact-check-mh-orig.cnn”,”videoUrl”:”/videos/politics/2021/08/27/afghanistan-refugees-fact-check-mh-orig.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_C41FE7E2-0BA8-772F-FA1A-88ECF005978A”},{“descriptionPlainText”:”CNN’s John Avlon breaks down the disinformation being spread by America’s foreign adversaries in the wake of the Afghanistan withdrawal.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210719032535-02-xi-jinping-ccp-100-party-intl-hnk-large-169.jpg”,”title”:”Foreign disinformation mimics right-wing criticism of Afghan withdrawal”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/31/avlon-reality-check-afghanistan-disinformation-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/31/avlon-reality-check-afghanistan-disinformation-newday-vpx.cnn”,”videoId”:”politics/2021/08/31/avlon-reality-check-afghanistan-disinformation-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/31/avlon-reality-check-afghanistan-disinformation-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_C2D28A8C-866E-F7D3-B79D-9C4CA3C812B0″},{“descriptionPlainText”:”CNN’s Rosa Flores reports from Humble, Texas, where parents are split on the state’s mask mandate ban and its effects on their children.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210831132349-texas-humble-covid-mask-mandate-ban-flores-pkg-large-169.jpg”,”title”:”‘I’m sending her to a warzone’: Mother attacks Texas’ mask mandate bans”,”videoCMSUrl”:”/video/data/3.0/video/us/2021/08/31/texas-mask-mandate-ban-schools-parents-flores-pkg-newday-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/08/31/texas-mask-mandate-ban-schools-parents-flores-pkg-newday-ldn-vpx.cnn”,”videoId”:”us/2021/08/31/texas-mask-mandate-ban-schools-parents-flores-pkg-newday-ldn-vpx.cnn”,”videoUrl”:”/videos/us/2021/08/31/texas-mask-mandate-ban-schools-parents-flores-pkg-newday-ldn-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_77068712-BDDA-0F3D-0FCD-9C1C989C161E”},{“descriptionPlainText”:”The Biden administration is committed to a “safe passage” of Americans and Afghans who helped the US government after the withdrawal deadline from Afghanistan, national security adviser Jake Sullivan told CNN’s Jake Tapper.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210829104016-jake-sullivan-082921-vpx-large-169.jpg”,”title”:”Sullivan pledges ‘safe passage’ for Americans in Afghanistan after deadline”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/29/jake-sullivan-afghanistan-evacuation-deadline-safe-passage-sotu-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/29/jake-sullivan-afghanistan-evacuation-deadline-safe-passage-sotu-vpx.cnn”,”videoId”:”politics/2021/08/29/jake-sullivan-afghanistan-evacuation-deadline-safe-passage-sotu-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/29/jake-sullivan-afghanistan-evacuation-deadline-safe-passage-sotu-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_A81EE127-B8A5-F859-F170-92440C313FA4″},{“descriptionPlainText”:”Veteran US Capitol Police Lt. Michael Byrd, who fatally shot pro-Trump rioter Ashli Babbitt during the Capitol riot, revealed his identity and defended his actions on January 6 in an interview with NBC’s Lester Holt. The Justice Department said Byrd wouldn’t be criminally charged in connection with Babbitt’s death, and the US Capitol Police said he wouldn’t face any internal discipline. He could still face civil litigation from Babbitt’s family, which has threatened a lawsuit.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210827165122-capitol-police-michael-byrd-ashli-babbitt-january-6-trump-newday-ldn-vpx-00002025-large-169.jpg”,”title”:”Capitol Police officer who shot pro-Trump rioter speaks out”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/27/capitol-police-michael-byrd-ashli-babbitt-january-6-trump-newday-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/27/capitol-police-michael-byrd-ashli-babbitt-january-6-trump-newday-ldn-vpx.cnn”,”videoId”:”politics/2021/08/27/capitol-police-michael-byrd-ashli-babbitt-january-6-trump-newday-ldn-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/27/capitol-police-michael-byrd-ashli-babbitt-january-6-trump-newday-ldn-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_8214C89C-B26A-8F96-91D0-8722DE1798A0″},{“descriptionPlainText”:”CNN senior legal analyst Elie Honig shows how former President Donald Trump’s claims of executive privilege could play out in relation to the House special commission on the January 6 insurrection.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210811193752-trump-large-169.jpg”,”title”:”Will Trump’s ‘executive privilege’ claim work or just delay insurrection probe?”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/26/january-6-commission-subpoenas-donald-trump-executive-privilege-honig-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/26/january-6-commission-subpoenas-donald-trump-executive-privilege-honig-newday-vpx.cnn”,”videoId”:”politics/2021/08/26/january-6-commission-subpoenas-donald-trump-executive-privilege-honig-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/26/january-6-commission-subpoenas-donald-trump-executive-privilege-honig-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_B7D10EF5-AAE8-BDDA-E88E-824E9608233E”},{“descriptionPlainText”:”CNN’s Michael Smerconish discusses Washington’s reaction to the deadly terror attack in Kabul and says the tragedy has only been made worse by partisan bickering and finger-pointing.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210828110303-biden-doocey-split-smerconish-vpx-large-169.jpg”,”title”:”See ‘revealing’ exchange between Biden and Fox News reporter on Afghanistan “,”videoCMSUrl”:”/video/data/3.0/video/media/2021/08/28/smerconish-afghanistan-withdrawl-fox-news-biden-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/08/28/smerconish-afghanistan-withdrawl-fox-news-biden-vpx.cnn”,”videoId”:”media/2021/08/28/smerconish-afghanistan-withdrawl-fox-news-biden-vpx.cnn”,”videoUrl”:”/videos/media/2021/08/28/smerconish-afghanistan-withdrawl-fox-news-biden-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_00FA4B9B-E119-C14C-9842-8D3CCA83DB2C”},{“descriptionPlainText”:”Former NFL star and Trump ally Herschel Walker announced he is running for US Senate in Georgia, prompting concerns from some Republicans over his past and personal life.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210824091045-herschel-walker-file-2019-large-169.jpg”,”title”:”Former NFL star and Trump ally running for Senate in Georgia”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/26/herschel-walker-campaign-announcement-foreman-pkg-ebof-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/26/herschel-walker-campaign-announcement-foreman-pkg-ebof-vpx.cnn”,”videoId”:”politics/2021/08/26/herschel-walker-campaign-announcement-foreman-pkg-ebof-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/26/herschel-walker-campaign-announcement-foreman-pkg-ebof-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_9CD3F27D-1B31-4620-C855-8060DCF7B071″},{“descriptionPlainText”:”President Joe Biden tells reporters why he still stands by his decision to pull American troops out of Afghanistan.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210826184555-biden-speech-afghanistan-attack-08-26-2021-large-169.jpg”,”title”:”Biden explains why he stands by decision to pull out of Afghanistan”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/26/biden-stand-by-afghanistan-evacuation-sot-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/26/biden-stand-by-afghanistan-evacuation-sot-lead-vpx.cnn”,”videoId”:”politics/2021/08/26/biden-stand-by-afghanistan-evacuation-sot-lead-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/26/biden-stand-by-afghanistan-evacuation-sot-lead-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_587D6BB4-65CC-EB1F-949B-848CC3507FC0″},{“descriptionPlainText”:”CNN’s John Avlon breaks down how some “nativist” GOP voices are resorting to anti-refugee rhetoric to demonize the US’ Afghan allies and contrasts that to a CBS/YouGov poll that shows overwhelming bipartisan support for helping Afghan interpreters resettle in the US.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210527101033-donald-trump-2018-file-large-169.jpg”,”title”:”This is what Trump said about US’ evacuation of Afghan allies”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/25/afghanistan-refugees-evacuation-donald-trump-fox-news-reality-check-avlon-newday-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/25/afghanistan-refugees-evacuation-donald-trump-fox-news-reality-check-avlon-newday-ldn-vpx.cnn”,”videoId”:”politics/2021/08/25/afghanistan-refugees-evacuation-donald-trump-fox-news-reality-check-avlon-newday-ldn-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/25/afghanistan-refugees-evacuation-donald-trump-fox-news-reality-check-avlon-newday-ldn-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_EEA013C7-5EC7-8A2E-AD2A-7D5218119FF7″},{“descriptionPlainText”:”The Republican-backed effort to recall Democratic Gov. Gavin Newsom is now in its final phase as ballots arrive in the mailboxes of every registered California voter for the September 14 special election. CNN’s John Avlon explains why the state election could have national implications.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210818020835-newsom-elder-split-large-16-9.jpg”,”title”:”Control of the US Senate could be decided by this state’s recall election”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/24/california-2021-recall-election-gavin-newsom-reality-check-avlon-newday-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/24/california-2021-recall-election-gavin-newsom-reality-check-avlon-newday-ldn-vpx.cnn”,”videoId”:”politics/2021/08/24/california-2021-recall-election-gavin-newsom-reality-check-avlon-newday-ldn-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/24/california-2021-recall-election-gavin-newsom-reality-check-avlon-newday-ldn-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_9A1A0FCA-A5E7-2F4B-D3C0-7847CF97D8B8″},{“descriptionPlainText”:”Vice President Kamala Harris is in Southeast Asia and received questions about the US’ withdrawal from Afghanistan while issuing a strong warning to China over the South China Sea.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210824104958-video-thumbnail-kamala-harris-large-169.jpeg”,”title”:”Harris hits at China over South China Sea “,”videoCMSUrl”:”/video/data/3.0/video/world/2021/08/24/harris-foreign-trip-south-china-sea-afghanistan-sot-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/08/24/harris-foreign-trip-south-china-sea-afghanistan-sot-intl-ldn-vpx.cnn”,”videoId”:”world/2021/08/24/harris-foreign-trip-south-china-sea-afghanistan-sot-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/08/24/harris-foreign-trip-south-china-sea-afghanistan-sot-intl-ldn-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_3DED42A1-913B-E6B2-5DF7-7783911BC8CF”},{“descriptionPlainText”:”Rep. Adam Kinzinger (R-IL), who served in the Afghanistan War, condemns right-wing media and fellow Republican lawmakers for their “fearmongering” rhetoric regarding Afghanistan refugees.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210822103519-rep-adam-kinzinger-afghanistan-biden-trump-sotu-sot-vpx-00031623-large-169.jpg”,”title”:”Rep. Kinzinger condemns GOP lawmakers, right-wing media for refugee rhetoric “,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/22/rep-adam-kinzinger-afghanistan-biden-trump-sotu-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/22/rep-adam-kinzinger-afghanistan-biden-trump-sotu-sot-vpx.cnn”,”videoId”:”politics/2021/08/22/rep-adam-kinzinger-afghanistan-biden-trump-sotu-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/22/rep-adam-kinzinger-afghanistan-biden-trump-sotu-sot-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_B3436D46-6EBF-F3D5-5FAF-6E251098205A”},{“descriptionPlainText”:”CNN’s Brianna Keilar asks National Security Adviser Jake Sullivan if President Biden is misleading the public by saying al-Qaeda is gone from Afghanistan and US citizens were having no issue getting through Taliban checkpoints to get to the Kabul airport.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210822095114-brianna-keilar-jake-sullivan-split-august-22-2021-large-169.jpg”,”title”:”Brianna Keilar presses official: Why is Biden misleading with his words here?”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/22/jake-sullivan-keilar-biden-afghanistan-al-qaeda-us-evacuees-sot-sotu-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/22/jake-sullivan-keilar-biden-afghanistan-al-qaeda-us-evacuees-sot-sotu-vpx.cnn”,”videoId”:”politics/2021/08/22/jake-sullivan-keilar-biden-afghanistan-al-qaeda-us-evacuees-sot-sotu-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/22/jake-sullivan-keilar-biden-afghanistan-al-qaeda-us-evacuees-sot-sotu-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_42D03834-1ADF-DB0E-45B3-6E15802925A8″},{“descriptionPlainText”:”Former President Donald Trump appears to get booed by the crowd at an Alabama rally after encouraging attendees to get vaccinated against Covid-19.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210822084256-trump-alabama-rally-vaccine-crowd-boos-sot-ip-vpx-00000000-large-169.jpg”,”title”:”Trump tells crowd to get vaccinated. Hear their response”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/22/trump-alabama-rally-vaccine-crowd-boos-sot-ip-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/22/trump-alabama-rally-vaccine-crowd-boos-sot-ip-vpx.cnn”,”videoId”:”politics/2021/08/22/trump-alabama-rally-vaccine-crowd-boos-sot-ip-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/22/trump-alabama-rally-vaccine-crowd-boos-sot-ip-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_A8574798-0806-801D-EC08-6DDE1C269019″}],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/08/31/biden-americans-afghanistan-speech-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-1zbp12w’,videoDescriptionDivId: ‘js-video_description-1zbp12w’,videoDurationDivId: ‘js-video_duration-1zbp12w’,videoTitleDivId: ‘js-leaf-video_headline-1zbp12w’,videoSourceDivId: ‘js-video_sourceName-1zbp12w’});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