Acosta: This is what really riles up Fox audience

‘);$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/21/afghanistan-us-troops-trump-hypocrisy-holdon-acosta-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/210821154218-acosta-082121-vpx-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210821154218-acosta-082121-vpx-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210821154218-acosta-082121-vpx-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210821154218-acosta-082121-vpx-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210821154218-acosta-082121-vpx-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210821154218-acosta-082121-vpx-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210821154218-acosta-082121-vpx-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”CNN’s Jim Acosta calls out Republicans who have “conveniently forgotten” that former President Donald Trump laid the groundwork for the US withdrawal in Afghanistan.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210821154218-acosta-082121-vpx-large-169.jpg”,”title”:”Acosta: This is what really riles up Fox audience about Afghanistan”,”videoCMSUrl”:”/videos/politics/2021/08/21/afghanistan-us-troops-trump-hypocrisy-holdon-acosta-vpx.cnn”,”videoLeafUrl”:”/videos/politics/2021/08/21/afghanistan-us-troops-trump-hypocrisy-holdon-acosta-vpx.cnn”,”videoId”:”politics/2021/08/21/afghanistan-us-troops-trump-hypocrisy-holdon-acosta-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/21/afghanistan-us-troops-trump-hypocrisy-holdon-acosta-vpx.cnn”,”surrogateKey”:”video_AA573AB5-C7ED-B520-1F73-6A0A827A031D”},{“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”},{“descriptionPlainText”:”Sen. Bill Cassidy (R-LA) says that he disagrees with Florida Gov. Ron DeSantis’ taking a top down approach in handling the Covid-19 pandemic, saying that decisions on mask mandates and restrictions should be made at the local level.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210808095142-bill-cassidy-ron-desantis-split-for-video-large-169.jpg”,”title”:”Republican disagrees with Ron DeSantis’ handling of Covid-19″,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/08/bill-cassidy-florida-desantis-covid-19-local-governments-sot-vpx-sotu.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/08/bill-cassidy-florida-desantis-covid-19-local-governments-sot-vpx-sotu.cnn”,”videoId”:”politics/2021/08/08/bill-cassidy-florida-desantis-covid-19-local-governments-sot-vpx-sotu.cnn”,”videoUrl”:”/videos/politics/2021/08/08/bill-cassidy-florida-desantis-covid-19-local-governments-sot-vpx-sotu.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_00A1A056-BE06-5ED3-E79F-25F9B2394E66″},{“descriptionPlainText”:”New information about the final days of Donald Trump’s presidency show an effort to subvert democracy with the help of his loyalists in the administration and Congress. CNN’s Jessica Scheider reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210527011135-02-capitol-riot-file-0106-large-169.jpg”,”title”:”Timeline shows how days leading up to Capitol riot unfolded”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/06/trump-loyalists-attempted-coup-timeline-schneider-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/06/trump-loyalists-attempted-coup-timeline-schneider-newday-vpx.cnn”,”videoId”:”politics/2021/08/06/trump-loyalists-attempted-coup-timeline-schneider-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/08/06/trump-loyalists-attempted-coup-timeline-schneider-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_F65E0162-D193-4361-D4FE-1B5EC48E79E2″},{“descriptionPlainText”:”During an event in Alabama, Rep. Marjorie Taylor Greene (R-GA) suggested the crowd greet government volunteers promoting Covid-19 vaccines with guns if they knock on their doors.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210806203957-mtg-large-169.jpg”,”title”:”Marjorie Taylor Greene congratulates crowd for low vaccination rate”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/08/07/alabama-marjorie-taylor-greene-vaccine-biden-ebof-vpx-sot.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/08/07/alabama-marjorie-taylor-greene-vaccine-biden-ebof-vpx-sot.cnn”,”videoId”:”politics/2021/08/07/alabama-marjorie-taylor-greene-vaccine-biden-ebof-vpx-sot.cnn”,”videoUrl”:”/videos/politics/2021/08/07/alabama-marjorie-taylor-greene-vaccine-biden-ebof-vpx-sot.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_F1B44971-56C4-84D0-F20D-1E4A501E6BE6″}],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/21/afghanistan-us-troops-trump-hypocrisy-holdon-acosta-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-g4ehu6’,videoDescriptionDivId: ‘js-video_description-g4ehu6’,videoDurationDivId: ‘js-video_duration-g4ehu6’,videoTitleDivId: ‘js-leaf-video_headline-g4ehu6’,videoSourceDivId: ‘js-video_sourceName-g4ehu6’});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