John Bolton blasts Trump’s sense of history

‘);$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/07/16/john-bolton-trump-coup-fascism-newday-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/210716090818-john-bolton-new-day-07162021-small-169.jpeg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210716090818-john-bolton-new-day-07162021-medium-plus-169.jpeg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210716090818-john-bolton-new-day-07162021-large-169.jpeg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210716090818-john-bolton-new-day-07162021-exlarge-169.jpeg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210716090818-john-bolton-new-day-07162021-super-169.jpeg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210716090818-john-bolton-new-day-07162021-full-169.jpeg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210716090818-john-bolton-new-day-07162021-small-11.jpeg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Former national security adviser John Bolton questions whether former President Donald Trump was capable of orchestrating a violent coup.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210716090818-john-bolton-new-day-07162021-large-169.jpeg”,”title”:”John Bolton blasts Trump’s sense of history”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/07/16/john-bolton-trump-coup-fascism-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/07/16/john-bolton-trump-coup-fascism-newday-vpx.cnn”,”videoId”:”politics/2021/07/16/john-bolton-trump-coup-fascism-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/07/16/john-bolton-trump-coup-fascism-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_38FEF8D3-8486-B91E-DA50-AF6411D90FEE”},{“descriptionPlainText”:”Conservative attorney George Conway reacts to an excerpt from a new book that alleges top military official Gen. Mark Milley feared former President Trump would attempt a coup following his 2020 election loss.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210715092557-conway-trump-split-large-169.jpg”,”title”:”‘Shocking, but not surprising’: George Conway reacts to Trump book excerpt”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/07/15/george-conway-new-trump-book-general-mark-milley-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/07/15/george-conway-new-trump-book-general-mark-milley-newday-vpx.cnn”,”videoId”:”politics/2021/07/15/george-conway-new-trump-book-general-mark-milley-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/07/15/george-conway-new-trump-book-general-mark-milley-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_38FEF8D3-8486-B91E-DA50-AF6411D90FEE”},{“descriptionPlainText”:”The top US military officer, Chairman of the Joint Chiefs Gen. Mark Milley, was so shaken that then-President Donald Trump and his allies might attempt a coup after the November election that Milley and other top officials informally planned for different ways to stop Trump, according to excerpts of an upcoming book obtained by CNN. CNN’s Jamie Gangel has more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210714170338-mark-milley-2020-file-large-169.jpg”,”title”:”New book shows top US generals planned ways to stop Trump in case of coup “,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/07/15/mark-milley-book-trump-gangel-ac360-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/07/15/mark-milley-book-trump-gangel-ac360-sot-vpx.cnn”,”videoId”:”politics/2021/07/15/mark-milley-book-trump-gangel-ac360-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2021/07/15/mark-milley-book-trump-gangel-ac360-sot-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_E00CBD78-DB7A-1DD0-ADD5-AA2E2DE3541F”},{“descriptionPlainText”:”A new book details a phone call between Rep. Liz Cheney (R-WY) and Gen. Mark Milley the day after the Capitol insurrection, in which Cheney told Milley what she experienced on the House floor on January 6, including a run-in with Rep. Jim Jordan (R-OH), a staunch Trump ally in the House who feverishly tried to overturn the election.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210701094735-liz-cheney-0623-large-169.jpg”,”title”:”‘You f**king did this’: Cheney rips Jim Jordan after Capitol riot”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/07/15/liz-cheney-milley-capitol-riot-book-gangel-ac360-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/07/15/liz-cheney-milley-capitol-riot-book-gangel-ac360-sot-vpx.cnn”,”videoId”:”politics/2021/07/15/liz-cheney-milley-capitol-riot-book-gangel-ac360-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2021/07/15/liz-cheney-milley-capitol-riot-book-gangel-ac360-sot-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_D8A55920-D678-A351-6530-A78AF864DD1A”},{“descriptionPlainText”:”Former President George W. Bush, whose administration first sent US troops to invade Afghanistan in 2001, says it breaks his heart that the Biden administration decided to withdraw US troops from Afghanistan because he fears what will happen to the people left behind in the country.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210714091833-george-w-bush-fair-use-deutsche-welle-large-169.jpg”,”title”:”‘It breaks my heart’: George W. Bush reacts to Afghanistan withdrawal”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/07/14/george-w-bush-afghanistan-withdrawal-sot-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/07/14/george-w-bush-afghanistan-withdrawal-sot-newday-vpx.cnn”,”videoId”:”politics/2021/07/14/george-w-bush-afghanistan-withdrawal-sot-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/07/14/george-w-bush-afghanistan-withdrawal-sot-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_2532F691-C96B-6AD9-ADFF-A794BE03694A”},{“descriptionPlainText”:”Sen. Joe Manchin (D-WV) discusses the sweeping $3.5 trillion budget reconciliation proposal that would require the support from all Senate Democrats to pass.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210714185105-joe-manchin-raju-interview-07-14-2021-large-169.jpg”,”title”:”See Manchin’s reaction to $3.5 trillion proposal”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/07/14/joe-manchin-reaction-reconciliation-proposal-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/07/14/joe-manchin-reaction-reconciliation-proposal-vpx.cnn”,”videoId”:”politics/2021/07/14/joe-manchin-reaction-reconciliation-proposal-vpx.cnn”,”videoUrl”:”/videos/politics/2021/07/14/joe-manchin-reaction-reconciliation-proposal-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_1BBECF06-B759-58DD-AD68-A5068A004BCA”},{“descriptionPlainText”:”Wall Street Journal reporter Michael Bender discusses his new book about former President Trump, Covid-19 and the 2020 election with CNN’s Jake Tapper.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210714184300-michael-bender-lead-interview-large-169.jpeg”,”title”:”‘I was stunned’: Reporter reveals his conversation with Trump”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/07/14/michael-bender-trump-book-covid-19-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/07/14/michael-bender-trump-book-covid-19-lead-vpx.cnn”,”videoId”:”politics/2021/07/14/michael-bender-trump-book-covid-19-lead-vpx.cnn”,”videoUrl”:”/videos/politics/2021/07/14/michael-bender-trump-book-covid-19-lead-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_F8D892C1-DF04-DF1A-9169-A731ACAD3895″},{“descriptionPlainText”:”In Pennsylvania, President Joe Biden spoke about voting restrictions pushed by Republican lawmakers as Biden urges Congress to pass federal voting rights legislation.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210713170257-bakari-biden-split-large-169.jpg”,”title”:”CNN analyst on Biden’s speech: Oratory was brilliant, but he didn’t mention this …”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/07/13/joe-biden-voting-rights-sot-philadelphia-king-sellers-filibuster-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/07/13/joe-biden-voting-rights-sot-philadelphia-king-sellers-filibuster-nr-vpx.cnn”,”videoId”:”politics/2021/07/13/joe-biden-voting-rights-sot-philadelphia-king-sellers-filibuster-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2021/07/13/joe-biden-voting-rights-sot-philadelphia-king-sellers-filibuster-nr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_F499859A-3738-2708-ED96-A72A9678D8C2″},{“descriptionPlainText”:”President Joe Biden is in a standoff with senators in his own party over who should lead the US Food and Drug Administration, a key post in the fight against Covid-19. CNN’s Kristen Holmes reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210713171100-janet-woodcock-fda-large-169.jpg”,”title”:”Why Democratic senators don’t approve of acting FDA head”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/07/13/fda-commissioner-biden-holmes-sot-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/07/13/fda-commissioner-biden-holmes-sot-lead-vpx.cnn”,”videoId”:”politics/2021/07/13/fda-commissioner-biden-holmes-sot-lead-vpx.cnn”,”videoUrl”:”/videos/politics/2021/07/13/fda-commissioner-biden-holmes-sot-lead-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_6E6FA85A-A5B8-9EFC-C986-A1B1A0ED84CA”},{“descriptionPlainText”:”CNN’s Kate Bolduan speaks with Texas state lawmaker Armando “Mando” Martinez after Gov. Greg Abbott (R-TX) threatened to arrest Democrats who left the state to break the state House’s quorum and block a bill that would make it harder for many Texans to vote.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210218102106-greg-abbott-2020-file-lead-image-large-169.jpg”,”title”:”GOP governor threatens to arrest Democrats who left state”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/07/13/greg-abbott-texas-democrats-martinez-intv-ath-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/07/13/greg-abbott-texas-democrats-martinez-intv-ath-vpx.cnn”,”videoId”:”politics/2021/07/13/greg-abbott-texas-democrats-martinez-intv-ath-vpx.cnn”,”videoUrl”:”/videos/politics/2021/07/13/greg-abbott-texas-democrats-martinez-intv-ath-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_06B50B24-3484-8A46-B93E-A1ABF13C3EB5″},{“descriptionPlainText”:”CNN anchor Jim Acosta recounts his father’s story of fleeing Cuba in 1962 amid the country’s ongoing crisis and calls for Biden to make Cuba a priority.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210713094615-jim-acosta-large-169.jpg”,”title”:”Jim Acosta’s father fled Cuba. Hear his plea to Biden”,”videoCMSUrl”:”/video/data/3.0/video/us/2021/07/13/jim-acosta-cuba-crisis-personal-biden-plea-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/07/13/jim-acosta-cuba-crisis-personal-biden-plea-newday-vpx.cnn”,”videoId”:”us/2021/07/13/jim-acosta-cuba-crisis-personal-biden-plea-newday-vpx.cnn”,”videoUrl”:”/videos/us/2021/07/13/jim-acosta-cuba-crisis-personal-biden-plea-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_407D0D0C-58C7-763B-263A-A0BB074F7C8C”},{“descriptionPlainText”:”South Dakota Gov. Kristi Noem took the podium at CPAC and criticized other conservative governors who took a more cautious approach on coronavirus safety precautions, questioning their “grit.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210712175152-gov-kristi-noem-lead-vpx-large-169.jpg”,”title”:”Governor takes swipe at fellow GOP leaders over Covid-19 rules”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/07/12/kristi-noem-south-dakota-gov-cpac-coronavirus-mandates-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/07/12/kristi-noem-south-dakota-gov-cpac-coronavirus-mandates-lead-vpx.cnn”,”videoId”:”politics/2021/07/12/kristi-noem-south-dakota-gov-cpac-coronavirus-mandates-lead-vpx.cnn”,”videoUrl”:”/videos/politics/2021/07/12/kristi-noem-south-dakota-gov-cpac-coronavirus-mandates-lead-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_E1374EC9-0FB0-EDDF-6A67-A00FFC0975E4″},{“descriptionPlainText”:”CNN anchors fact check Former President Trump’s 12 lies during a single Fox News interview. The fallacies were pointed out by CNN’s Marshall Cohen reporting.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210704115222-donald-trump-07-03-2021-large-169.jpg”,”title”:”Donald Trump lied 12 times during Fox interview. CNN checks the facts”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/07/12/fact-check-trump-fox-interview-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/07/12/fact-check-trump-fox-interview-newday-vpx.cnn”,”videoId”:”politics/2021/07/12/fact-check-trump-fox-interview-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/07/12/fact-check-trump-fox-interview-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_D77E9427-6990-F2F2-4603-9CA83F5379F8″},{“descriptionPlainText”:”Former President Donald Trump played his greatest hits during an address to attendees at the Conservative Political Action Conference in Dallas. CNN’s Sara Murray has more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210711201210-trump-cpac-dallas-0711-large-169.jpg”,”title”:”Trump airs post-election grievances in CPAC address”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/07/12/trump-cpac-dallas-murray-sot-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/07/12/trump-cpac-dallas-murray-sot-nr-vpx.cnn”,”videoId”:”politics/2021/07/12/trump-cpac-dallas-murray-sot-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2021/07/12/trump-cpac-dallas-murray-sot-nr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_6E239D82-93D8-F0B7-B7ED-9ADA56D2945C”},{“descriptionPlainText”:”Brianna Keilar spars with former Minnesota Governor Tim Pawlenty on extremist behavior shown at CPAC.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210712091914-governor-pawlenty-keilar-split-newday-large-169.jpg”,”title”:”‘Do you have an actual example?’ Keilar spars with former GOP governor “,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/07/12/governor-pawlenty-cpac-gop-extremists-keilar-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/07/12/governor-pawlenty-cpac-gop-extremists-keilar-newday-vpx.cnn”,”videoId”:”politics/2021/07/12/governor-pawlenty-cpac-gop-extremists-keilar-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/07/12/governor-pawlenty-cpac-gop-extremists-keilar-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_D5C38CB8-39EC-54B3-507B-980B1098A3A0″},{“descriptionPlainText”:”In an interview with Bill O’Reilly, former President Donald Trump said he would sit for a deposition in his lawsuit against Facebook, Twitter and Google for banning him after the January 6 Capitol insurrection. CNN’s Jim Acosta and former Nixon White House counsel John Dean discuss.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210711172051-john-dean-trump-split-large-169.jpg”,”title”:”Ex-Nixon WH counsel says he’d pay to handle Donald Trump’s deposition”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/07/11/trump-big-tech-lawsuit-deposition-john-dean-acosta-nr-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/07/11/trump-big-tech-lawsuit-deposition-john-dean-acosta-nr-sot-vpx.cnn”,”videoId”:”business/2021/07/11/trump-big-tech-lawsuit-deposition-john-dean-acosta-nr-sot-vpx.cnn”,”videoUrl”:”/videos/business/2021/07/11/trump-big-tech-lawsuit-deposition-john-dean-acosta-nr-sot-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_248B74DC-9791-E87B-D331-9AD81D083692″}],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/07/16/john-bolton-trump-coup-fascism-newday-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-24ew0mh’,videoDescriptionDivId: ‘js-video_description-24ew0mh’,videoDurationDivId: ‘js-video_duration-24ew0mh’,videoTitleDivId: ‘js-leaf-video_headline-24ew0mh’,videoSourceDivId: ‘js-video_sourceName-24ew0mh’});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