Trump’s former advisers suddenly denounce his Taliban deal

‘);$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/23/avlon-reality-check-afghanistan-withdrawal-trump-allies-taliban-deal-criticism-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/210823081532-mcmaster-haley-esper-reality-check-split-vpx-small-169.jpg”,”height”:124},”xsmall”:{“width”:300,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210823121532-mcmaster-haley-esper-reality-check-split-vpx-medium-plus-16-9.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210823121532-mcmaster-haley-esper-reality-check-split-vpx-large-16-9.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210823121532-mcmaster-haley-esper-reality-check-split-vpx-exlarge-16-9.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210823121532-mcmaster-haley-esper-reality-check-split-vpx-super-16-9.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210823121532-mcmaster-haley-esper-reality-check-split-vpx-full-16-9.jpg”,”height”:900},”mini1x1″:{“width”:100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210823121532-mcmaster-haley-esper-reality-check-split-vpx-small-1-1.jpg”,”height”:100}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”CNN’s John Avlon breaks down how Trump allies’ recent criticisms of President Biden’s decision to leave Afghanistan ring hollow in light of their past statements.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210823121532-mcmaster-haley-esper-reality-check-split-vpx-large-16-9.jpg”,”title”:”Trump’s allies are now denouncing his Taliban deal”,”videoCMSUrl”:”/videos/politics/2021/08/23/avlon-reality-check-afghanistan-withdrawal-trump-allies-taliban-deal-criticism-vpx.cnn”,”videoLeafUrl”:”/videos/politics/2021/08/23/avlon-reality-check-afghanistan-withdrawal-trump-allies-taliban-deal-criticism-vpx.cnn”,”videoId”:”politics/2021/08/23/avlon-reality-check-afghanistan-withdrawal-trump-allies-taliban-deal-criticism-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/23/avlon-reality-check-afghanistan-withdrawal-trump-allies-taliban-deal-criticism-vpx.cnn”,”surrogateKey”:”video_B86AE1E4-54C6-D126-7467-72D4385A4E6B”},{“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″},{“descriptionPlainText”:”Miami Beach Mayor Dan Gelber (D) says Florida Republican Gov. Ron DeSantis is politicizing the state’s Covid-19 policies with no supporting data to back up the claims.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210821115928-miami-beach-mayor-desantis-split-vpx-large-169.jpg”,”title”:”Florida mayor: DeSantis is treating children as political pawns”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/21/miami-beach-mayor-gelber-reacts-to-desantis-florida-mask-policy-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/21/miami-beach-mayor-gelber-reacts-to-desantis-florida-mask-policy-nr-vpx.cnn”,”videoId”:”politics/2021/08/21/miami-beach-mayor-gelber-reacts-to-desantis-florida-mask-policy-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/21/miami-beach-mayor-gelber-reacts-to-desantis-florida-mask-policy-nr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_A19088C6-C803-0AF7-09C2-69585620C0D5″},{“descriptionPlainText”:”US Surgeon General Dr. Vivek Murthy explains why the decision was made to roll out vaccine boosters for Covid-19.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210818113121-vivek-murthy-briefing-8-18-2021-large-169.jpg”,”title”:”Surgeon general on Covid-19 boosters: The time is now”,”videoCMSUrl”:”/video/data/3.0/video/health/2021/08/18/vivek-murthy-surgeon-general-covid-19-vaccine-boosters-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2021/08/18/vivek-murthy-surgeon-general-covid-19-vaccine-boosters-vpx.cnn”,”videoId”:”health/2021/08/18/vivek-murthy-surgeon-general-covid-19-vaccine-boosters-vpx.cnn”,”videoUrl”:”/videos/health/2021/08/18/vivek-murthy-surgeon-general-covid-19-vaccine-boosters-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_7D66224F-84B8-CA1B-0407-59DD169E2447″},{“descriptionPlainText”:”CNN’s Kyung Lah speaks to California Gov. Gavin Newsom about the upcoming recall election in his state and looks into a possible Republican front runner.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210726144848-01-gavin-newsom-0510-large-169.jpg”,”title”:”Gov. Newsom: We thought Trumpism would go. It’s just the opposite”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/16/california-recall-election-gavin-newsom-larry-elder-trump-ath-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/16/california-recall-election-gavin-newsom-larry-elder-trump-ath-vpx.cnn”,”videoId”:”politics/2021/08/16/california-recall-election-gavin-newsom-larry-elder-trump-ath-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/16/california-recall-election-gavin-newsom-larry-elder-trump-ath-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_606271FC-9CB0-7916-2217-4FC8B6D5015B”},{“descriptionPlainText”:”Rep. Michael McCaul (R-TX), the top Republican on the House Foreign Affairs Committee, slammed the Biden administration’s withdrawal from Afghanistan, saying that it will be a stain on Biden’s presidency.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210815105128-michael-mccaul-joe-biden-split-for-video-large-169.jpg”,”title”:”‘Blood on his hands’: Republican rips Biden over Afghanistan”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/15/michael-mccaul-biden-afghanistan-blood-on-his-hands-sot-sotu-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/15/michael-mccaul-biden-afghanistan-blood-on-his-hands-sot-sotu-vpx.cnn”,”videoId”:”politics/2021/08/15/michael-mccaul-biden-afghanistan-blood-on-his-hands-sot-sotu-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/15/michael-mccaul-biden-afghanistan-blood-on-his-hands-sot-sotu-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_3E277B99-5BB7-B816-4E87-4A359CF63BD5″},{“descriptionPlainText”:”Former US Secretary of Defense Mark Esper reacts to the Taliban takeover of Afghanistan and discusses decisions made by his former boss President Trump.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210817130930-amanpour-esper-large-169.jpg”,”title”:”Esper: Biden ‘owns’ Afghanistan crisis”,”videoCMSUrl”:”/video/data/3.0/video/tv/2021/08/17/amanpour-taliban-afghanistan-former-defense-secretary-mark-esper.cnn/index.xml”,”videoLeafUrl”:”/videos/tv/2021/08/17/amanpour-taliban-afghanistan-former-defense-secretary-mark-esper.cnn”,”videoId”:”tv/2021/08/17/amanpour-taliban-afghanistan-former-defense-secretary-mark-esper.cnn”,”videoUrl”:”/videos/tv/2021/08/17/amanpour-taliban-afghanistan-former-defense-secretary-mark-esper.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_CC14F22A-ECC2-84D9-FF4D-550AA1794564″},{“descriptionPlainText”:”CNN’s Jake Tapper presses Secretary of State Antony Blinken on President Joe Biden’s handling of the US withdrawal from Afghanistan.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210815095659-tapper-blinken-split-vpx-large-169.jpg”,”title”:”‘You keep changing the subject’: Tapper presses Blinken on Biden decision”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/15/blinken-intv-biden-decision-on-afghanistan-withdrawal-taliban-tapper-sotu-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/15/blinken-intv-biden-decision-on-afghanistan-withdrawal-taliban-tapper-sotu-vpx.cnn”,”videoId”:”politics/2021/08/15/blinken-intv-biden-decision-on-afghanistan-withdrawal-taliban-tapper-sotu-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/15/blinken-intv-biden-decision-on-afghanistan-withdrawal-taliban-tapper-sotu-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_A159F62C-3ABB-8608-A3BF-4A1280D5AC85″},{“descriptionPlainText”:”Sen. Cory Booker (D-NJ) gives a passionate response after Sen. Tommy Tuberville (R-AL) called for a vote on an amendment that would punish local jurisdictions that defund the police.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210811065534-cory-booker-senate-floor-large-169.jpg”,”title”:”Sen. Booker rails against GOP colleague’s claim”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/11/cory-booker-tommy-tuberville-defund-the-police-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/11/cory-booker-tommy-tuberville-defund-the-police-newday-vpx.cnn”,”videoId”:”politics/2021/08/11/cory-booker-tommy-tuberville-defund-the-police-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/11/cory-booker-tommy-tuberville-defund-the-police-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_4D531B7B-E9B4-91BD-60F3-34D2D546B495″},{“descriptionPlainText”:”CNN’s John King explains the significance of the Senate passing a bipartisan infrastructure bill, which will head to the House for a vote.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210810132630-john-king-ip-8-10-2021-large-169.jpg”,”title”:”John King explains why infrastructure bill vote is a big deal”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/10/senate-passes-infrastructure-bill-john-king-ip-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/10/senate-passes-infrastructure-bill-john-king-ip-vpx.cnn”,”videoId”:”politics/2021/08/10/senate-passes-infrastructure-bill-john-king-ip-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/10/senate-passes-infrastructure-bill-john-king-ip-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_5AA5FA12-A186-4DBC-79C8-3111440762BC”},{“descriptionPlainText”:”Gov. Andrew Cuomo announces he will step down as governor of New York in late August 2021.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210810115517-01-cuomo-presser-0810-large-169.jpg”,”title”:”See Andrew Cuomo explain his resignation”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/10/andrew-cuomo-resignation-new-york-governor-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/10/andrew-cuomo-resignation-new-york-governor-vpx.cnn”,”videoId”:”politics/2021/08/10/andrew-cuomo-resignation-new-york-governor-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/10/andrew-cuomo-resignation-new-york-governor-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_EC013B04-03AA-A4C3-67B1-30DB39865D01″},{“descriptionPlainText”:”New America CEO Anne-Marie Slaughter and Eurasia Group President Ian Bremmer say that Fox News host Tucker Carlson’s embrace of Hungary’s authoritarian leader Viktor Orbán reflects former President Donald Trump’s vision of the Republican party.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210808121255-tucker-carlson-donald-trump-split-for-video-large-169.jpg”,”title”:”Why Trump conservatives are embracing Hungary’s autocracy”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/08/08/tucker-carlson-trump-conservatism-embracing-hungary-autocracy-sot-fareed-gps-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/08/08/tucker-carlson-trump-conservatism-embracing-hungary-autocracy-sot-fareed-gps-vpx.cnn”,”videoId”:”media/2021/08/08/tucker-carlson-trump-conservatism-embracing-hungary-autocracy-sot-fareed-gps-vpx.cnn”,”videoUrl”:”/videos/media/2021/08/08/tucker-carlson-trump-conservatism-embracing-hungary-autocracy-sot-fareed-gps-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_85444115-D2D5-7B43-9393-268248ADFB6D”},{“descriptionPlainText”:”In this preview from the CNN special “Being .. AOC,” Dana Bash asks Rep. Alexandria Ocasio Cortez (D-NY) on if she plans to mount a challenge against Senate Majority Leader Charles Schumer (D-NY) in 2022.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210808101542-alexandria-ocasio-cortez-charles-schumer-large-169.jpg”,”title”:”Bash asks Alexandria Ocasio-Cortez if she will challenge Schumer”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/08/alexandria-ocasio-cortez-schumer-political-future-bash-being-aoc-sot-sotu-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/08/alexandria-ocasio-cortez-schumer-political-future-bash-being-aoc-sot-sotu-vpx.cnn”,”videoId”:”politics/2021/08/08/alexandria-ocasio-cortez-schumer-political-future-bash-being-aoc-sot-sotu-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/08/alexandria-ocasio-cortez-schumer-political-future-bash-being-aoc-sot-sotu-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_11DAB82E-7311-B3A6-BB4E-2617230D49E8″},{“descriptionPlainText”:”Rep. Alexandria Ocasio-Cortez (D-NY) reveals she feared being raped during the January 6th insurrection and the link between white supremacy and patriarchy.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210809085642-aoc-insurrection-interview-newday-large-169.jpeg”,”title”:”Alexandria Ocasio-Cortez reveals she feared being raped during insurrection”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/09/alexandria-ocasio-cortez-insurrection-bash-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/09/alexandria-ocasio-cortez-insurrection-bash-newday-vpx.cnn”,”videoId”:”politics/2021/08/09/alexandria-ocasio-cortez-insurrection-bash-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/09/alexandria-ocasio-cortez-insurrection-bash-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_8A87EA2A-DCD2-9792-0FE1-2AF657C7632F”}],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/23/avlon-reality-check-afghanistan-withdrawal-trump-allies-taliban-deal-criticism-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-2aihjzh’,videoDescriptionDivId: ‘js-video_description-2aihjzh’,videoDurationDivId: ‘js-video_duration-2aihjzh’,videoTitleDivId: ‘js-leaf-video_headline-2aihjzh’,videoSourceDivId: ‘js-video_sourceName-2aihjzh’});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