Video shows Afghans clinging to outside of US military plane as it takes off from Kabul

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘world/2021/08/16/kabul-clinging-to-airplane-taking-off-tarmac-afghanistan-ward-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/210816075037-kabul-airport-tolo-vpx-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210816075037-kabul-airport-tolo-vpx-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210816075037-kabul-airport-tolo-vpx-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210816075037-kabul-airport-tolo-vpx-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210816075037-kabul-airport-tolo-vpx-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210816075037-kabul-airport-tolo-vpx-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210816075037-kabul-airport-tolo-vpx-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Video shows people clinging to the fuselage of a US military aircraft as it taxied at Hamid Karzai International Airport in Kabul. CNN has reached out to the US military for comment.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210816075037-kabul-airport-tolo-vpx-large-169.jpg”,”title”:”Video shows Afghans clinging to outside of US military plane as it takes off”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/08/16/kabul-clinging-to-airplane-taking-off-tarmac-afghanistan-ward-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/08/16/kabul-clinging-to-airplane-taking-off-tarmac-afghanistan-ward-vpx.cnn”,”videoId”:”world/2021/08/16/kabul-clinging-to-airplane-taking-off-tarmac-afghanistan-ward-vpx.cnn”,”videoUrl”:”/videos/world/2021/08/16/kabul-clinging-to-airplane-taking-off-tarmac-afghanistan-ward-vpx.cnn/video/playlists/afghanistan-falls-to-the-taliban/”,”surrogateKey”:”video_B6960E39-37DD-4761-A2AD-4EBC6F40ABE3″},{“descriptionPlainText”:”CNN’s Clarissa Ward describes life inside Afghanistan’s capital Kabul as Taliban fighters swarm the streets after entering the city’s presidential palace after former President Ashraf Ghani fled the country.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210816074400-clarissa-ward-large-169.jpg”,”title”:”‘It’s utterly bizarre’: Clarissa Ward describes life inside Taliban’s Afghanistan”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/08/16/taliban-afghanistan-take-over-ward-pkg-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/08/16/taliban-afghanistan-take-over-ward-pkg-newday-vpx.cnn”,”videoId”:”world/2021/08/16/taliban-afghanistan-take-over-ward-pkg-newday-vpx.cnn”,”videoUrl”:”/videos/world/2021/08/16/taliban-afghanistan-take-over-ward-pkg-newday-vpx.cnn/video/playlists/afghanistan-falls-to-the-taliban/”,”surrogateKey”:”video_B6960E39-37DD-4761-A2AD-4EBC6F40ABE3″},{“descriptionPlainText”:”The Taliban have taken control of the presidential palace in Afghanistan’s capital Kabul after former President Ashraf Ghani fled the country. With more than two decades of experience covering the country, CNN’s Christiane Amanpour explains how we got here and what this means for Afghans.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210816104351-christiane-amanpour-taliban-takeover-analysis-large-169.jpg”,”title”:”Christiane Amanpour: ‘The Taliban have been waiting for this moment for 20 years'”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/08/16/taliban-afghanistan-kabul-takeover-analysis-amanpour-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/08/16/taliban-afghanistan-kabul-takeover-analysis-amanpour-intl-ldn-vpx.cnn”,”videoId”:”world/2021/08/16/taliban-afghanistan-kabul-takeover-analysis-amanpour-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/08/16/taliban-afghanistan-kabul-takeover-analysis-amanpour-intl-ldn-vpx.cnn/video/playlists/afghanistan-falls-to-the-taliban/”,”surrogateKey”:”video_456C7F34-924F-77CB-8694-4E9F8FA8F1EA”},{“descriptionPlainText”:”CNN’s Brianna Keilar presses deputy national security adviser Jonathan Finer on when the nation can expect to hear from President Biden following Afghanistan’s capital, Kabul, falling to the Taliban.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210816080505-keilar-jonathan-finer-split-large-169.jpg”,”title”:”‘Where is the President?’: Keilar presses White House official over Afghanistan”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/16/jonathan-finer-president-joe-biden-afghanistan-newday-keilar-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/16/jonathan-finer-president-joe-biden-afghanistan-newday-keilar-vpx.cnn”,”videoId”:”politics/2021/08/16/jonathan-finer-president-joe-biden-afghanistan-newday-keilar-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/16/jonathan-finer-president-joe-biden-afghanistan-newday-keilar-vpx.cnn/video/playlists/afghanistan-falls-to-the-taliban/”,”surrogateKey”:”video_6575F2BA-2920-0DFC-DC5E-4E36B0A365D7″},{“descriptionPlainText”:”CNN’s Brianna Keilar reviews statements made by President Joe Biden before Afghanistan fell to the Taliban.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210816063950-keilar-biden-split-8-16-2021-large-169.jpg”,”title”:”Keilar: Biden’s words on Afghanistan come back to haunt him”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/16/joe-biden-afghanistan-predictions-and-statements-keilar-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/16/joe-biden-afghanistan-predictions-and-statements-keilar-newday-vpx.cnn”,”videoId”:”politics/2021/08/16/joe-biden-afghanistan-predictions-and-statements-keilar-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/16/joe-biden-afghanistan-predictions-and-statements-keilar-newday-vpx.cnn/video/playlists/afghanistan-falls-to-the-taliban/”,”surrogateKey”:”video_C794263E-3555-EB89-0BD9-4ED3A55F9777″},{“descriptionPlainText”:”Gunfire can be heard going off at the Kabul International Airport in a new video that shows people running toward the terminal. Another video shows people scrambling onto planes to escape Afghanistan as the Taliban take over. CNN cannot independently verify some of these images.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210816104316-video-thumbnail-kabul-airport-large-169.jpg”,”title”:”Chaos and gunfire at Kabul airport as Taliban take over the city”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/08/15/kabul-afghanistan-airport-taliban-sot-vpx-nr.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/08/15/kabul-afghanistan-airport-taliban-sot-vpx-nr.cnn”,”videoId”:”world/2021/08/15/kabul-afghanistan-airport-taliban-sot-vpx-nr.cnn”,”videoUrl”:”/videos/world/2021/08/15/kabul-afghanistan-airport-taliban-sot-vpx-nr.cnn/video/playlists/afghanistan-falls-to-the-taliban/”,”surrogateKey”:”video_92A0409D-ECF6-97D1-9F97-4E7E1CA940CF”},{“descriptionPlainText”:”Former President Ashraf Ghani fled Afghanistan as the Taliban closed in on Kabul on August 15. Before fleeing, Ghani called for security and peace in the country. Ghani’s exit has been sharply criticized by his detractors who claim he abandoned the country. CNN’s International Diplomatic Editor Nic Robertson reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210816081643-ashraf-ghani-afghanistan-nic-robertson-pkg-large-169.jpg”,”title”:”Ousted President Ghani fled Afghanistan. Here’s how his government fell”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/08/16/afghanistan-taliban-ashraf-ghani-flees-robertson-pkg-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/08/16/afghanistan-taliban-ashraf-ghani-flees-robertson-pkg-intl-ldn-vpx.cnn”,”videoId”:”world/2021/08/16/afghanistan-taliban-ashraf-ghani-flees-robertson-pkg-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/08/16/afghanistan-taliban-ashraf-ghani-flees-robertson-pkg-intl-ldn-vpx.cnn/video/playlists/afghanistan-falls-to-the-taliban/”,”surrogateKey”:”video_C0977EBA-A594-084B-314D-4C08E2C2D586″},{“descriptionPlainText”:”The presidential palace in Kabul has been “handed over” to the Taliban, vacated by government officials, including former President Ashraf Ghani who has fled the country. CNN’s Nick Paton Walsh reports a Taliban member present for the “handover” spoke briefly in English to say he had formerly been held by the US in Guantanamo.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210815164748-taliban-presidential-palace-kabul-afghanistan-paton-walsh-nr-vpx-00020603-large-169.jpg”,”title”:”Video appears to show Taliban inside presidential palace”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/08/15/taliban-presidential-palace-kabul-afghanistan-paton-walsh-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/08/15/taliban-presidential-palace-kabul-afghanistan-paton-walsh-nr-vpx.cnn”,”videoId”:”world/2021/08/15/taliban-presidential-palace-kabul-afghanistan-paton-walsh-nr-vpx.cnn”,”videoUrl”:”/videos/world/2021/08/15/taliban-presidential-palace-kabul-afghanistan-paton-walsh-nr-vpx.cnn/video/playlists/afghanistan-falls-to-the-taliban/”,”surrogateKey”:”video_B89A796A-52D9-BFEC-E699-4DC180DBA57C”},{“descriptionPlainText”:”Kristen Rouse, a US Army veteran who served in Afghanistan, describes the messages she and other veterans have received from Afghan interpreters who are unable find safety as the Taliban besiege the country.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210815212625-kristen-rouse-large-169.jpeg”,”title”:”‘I am about to die’: Afghan interpreter’s message to US veteran”,”videoCMSUrl”:”/video/data/3.0/video/us/2021/08/16/us-veteran-afghanistan-interpreters-sot-vpx-nr.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/08/16/us-veteran-afghanistan-interpreters-sot-vpx-nr.cnn”,”videoId”:”us/2021/08/16/us-veteran-afghanistan-interpreters-sot-vpx-nr.cnn”,”videoUrl”:”/videos/us/2021/08/16/us-veteran-afghanistan-interpreters-sot-vpx-nr.cnn/video/playlists/afghanistan-falls-to-the-taliban/”,”surrogateKey”:”video_04208FDB-3BA0-16FE-5147-4B820F1F9F6F”},{“descriptionPlainText”:”The fall of Kabul into the hands of the Taliban is drawing comparisons to the fall of Saigon in the final days of the Vietnam War.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210815041320-01-kabul-afghanistan-0815-us-helicopters-large-169.jpg”,”title”:”‘That’s what the world thinks this is’: Reporter discusses Kabul comparisons to Saigon”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/08/15/saigon-kabul-comparisons-afghanistan-sot-vpx-nr.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/08/15/saigon-kabul-comparisons-afghanistan-sot-vpx-nr.cnn”,”videoId”:”world/2021/08/15/saigon-kabul-comparisons-afghanistan-sot-vpx-nr.cnn”,”videoUrl”:”/videos/world/2021/08/15/saigon-kabul-comparisons-afghanistan-sot-vpx-nr.cnn/video/playlists/afghanistan-falls-to-the-taliban/”,”surrogateKey”:”video_2A0D5C8A-D79B-6806-640A-4C8884519A80″},{“descriptionPlainText”:”It’s been nearly twenty years since 9/11 but the US has been involved in Afghanistan for far longer. Here’s a look at how five presidents and five very different strategies have shaped the US’ role in Afghanistan.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/150410131239-army-soldier-salute-no-face-generic-large-169.jpg”,”title”:”Five presidents, five strategies: The US’ wars in Afghanistan”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/08/16/afghanistan-us-american-presidents-reagan-bush-obama-trump-jba-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/08/16/afghanistan-us-american-presidents-reagan-bush-obama-trump-jba-lon-orig.cnn”,”videoId”:”world/2019/08/16/afghanistan-us-american-presidents-reagan-bush-obama-trump-jba-lon-orig.cnn”,”videoUrl”:”/videos/world/2019/08/16/afghanistan-us-american-presidents-reagan-bush-obama-trump-jba-lon-orig.cnn/video/playlists/afghanistan-falls-to-the-taliban/”,”surrogateKey”:”video_C00BB8E3-7FC8-8F37-74F6-4B903822D587″},{“descriptionPlainText”:”CNN’s Kylie Atwood reports that the US Embassy in Kabul has been evacuated, culminating in the American flag being taken down from the building.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210815141343-kabul-helicopter-screengrab-for-video-large-169.jpg”,”title”:”Video shows helicopters over Kabul as US Embassy evacuated”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/08/15/afghanistan-us-embassy-evacuated-atwood-nr-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/08/15/afghanistan-us-embassy-evacuated-atwood-nr-sot-vpx.cnn”,”videoId”:”world/2021/08/15/afghanistan-us-embassy-evacuated-atwood-nr-sot-vpx.cnn”,”videoUrl”:”/videos/world/2021/08/15/afghanistan-us-embassy-evacuated-atwood-nr-sot-vpx.cnn/video/playlists/afghanistan-falls-to-the-taliban/”,”surrogateKey”:”video_1828F649-B5EA-19AC-ED9A-9ABF43C53EF6″},{“descriptionPlainText”:”A former US military base is now in the hands of the Taliban as the future of Afghanistan is unclear. CNN’s Clarissa Ward reports exclusively from what remains of Combat Outpost Andar in Afghanistan’s Ghazni province.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210813164607-taliban-former-us-military-base-afghanistan-ghazni-province-ward-dnt-lead-vpx-00025413-large-169.jpeg”,”title”:”CNN gets access to US military base seized by the Taliban”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/08/13/taliban-former-us-military-base-afghanistan-ghazni-province-ward-dnt-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/08/13/taliban-former-us-military-base-afghanistan-ghazni-province-ward-dnt-lead-vpx.cnn”,”videoId”:”world/2021/08/13/taliban-former-us-military-base-afghanistan-ghazni-province-ward-dnt-lead-vpx.cnn”,”videoUrl”:”/videos/world/2021/08/13/taliban-former-us-military-base-afghanistan-ghazni-province-ward-dnt-lead-vpx.cnn/video/playlists/afghanistan-falls-to-the-taliban/”,”surrogateKey”:”video_96D5B093-C903-F65B-8FC4-4AF8FAFA1417″},{“descriptionPlainText”:”US Secretary of State Antony Blinken denies that the withdrawal from Kabul is similar to the one in Saigon at the close of the Vietnam War because the US has completed its mission in bringing the perpetrators of the September 11 terrorist attacks to justice in Afghanistan.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210816143128-screengrab-saigon-kabul-split-large-169.jpg”,”title”:”‘This is not Saigon’: Blinken says Afghanistan is different than Vietnam”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/08/15/antony-blinken-afghanistan-is-not-saigon-sot-sotu-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/08/15/antony-blinken-afghanistan-is-not-saigon-sot-sotu-vpx.cnn”,”videoId”:”world/2021/08/15/antony-blinken-afghanistan-is-not-saigon-sot-sotu-vpx.cnn”,”videoUrl”:”/videos/world/2021/08/15/antony-blinken-afghanistan-is-not-saigon-sot-sotu-vpx.cnn/video/playlists/afghanistan-falls-to-the-taliban/”,”surrogateKey”:”video_D273A9F2-BAF3-8047-7DCE-41174D9737BB”},{“descriptionPlainText”:”CNN’s Michael Holmes speaks to journalist Ali Latifi about what life is like in Afghanistan’s capital Kabul after the Taliban’s takeover of Kandahar and Herat, the country’s second and third largest cities, respectively.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210813104253-ali-latifi-afghanistan-taliban-kandahar-herat-large-169.jpg”,”title”:”Afghan journalist in Kabul explains why Taliban takeover of major cities matters”,”videoCMSUrl”:”/video/data/3.0/video/world/2021/08/13/afghanistan-taliban-kabul-herat-kandahar-latifi-intv-holmes-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2021/08/13/afghanistan-taliban-kabul-herat-kandahar-latifi-intv-holmes-intl-ldn-vpx.cnn”,”videoId”:”world/2021/08/13/afghanistan-taliban-kabul-herat-kandahar-latifi-intv-holmes-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2021/08/13/afghanistan-taliban-kabul-herat-kandahar-latifi-intv-holmes-intl-ldn-vpx.cnn/video/playlists/afghanistan-falls-to-the-taliban/”,”surrogateKey”:”video_B9F170C1-B0F7-5BD5-53C4-4A24E85D1823″}],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:”world/2021/08/16/kabul-clinging-to-airplane-taking-off-tarmac-afghanistan-ward-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-vce8nf’,videoDescriptionDivId: ‘js-video_description-vce8nf’,videoDurationDivId: ‘js-video_duration-vce8nf’,videoTitleDivId: ‘js-leaf-video_headline-vce8nf’,videoSourceDivId: ‘js-video_sourceName-vce8nf’});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