Keilar: Trump exiting through war zone of his own creation

‘);$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/01/18/keilar-roll-the-tape-trump-presidency-then-and-now-monologue-nr-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/210118150611-brianna-keilar-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210118150611-brianna-keilar-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210118150611-brianna-keilar-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210118150611-brianna-keilar-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210118150611-brianna-keilar-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210118150611-brianna-keilar-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210118150611-brianna-keilar-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”CNN’s Brianna Keilar takes a look at what was happening during the beginning of Trump’s presidency and what is happening now as he prepares to leave office.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210118150611-brianna-keilar-large-169.jpg”,”title”:”Keilar: Trump exiting presidency through war zone of his own creation”,”videoCMSUrl”:”/videos/politics/2021/01/18/keilar-roll-the-tape-trump-presidency-then-and-now-monologue-nr-vpx.cnn”,”videoLeafUrl”:”/videos/politics/2021/01/18/keilar-roll-the-tape-trump-presidency-then-and-now-monologue-nr-vpx.cnn”,”videoId”:”politics/2021/01/18/keilar-roll-the-tape-trump-presidency-then-and-now-monologue-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2021/01/18/keilar-roll-the-tape-trump-presidency-then-and-now-monologue-nr-vpx.cnn”,”surrogateKey”:”video_256B0C80-A8D7-B856-D05D-16DF53C325DB”},{“descriptionPlainText”:”Rep. Debbie Dingell (D-MI) shares her experiences following the riot at the US Capitol by a pro-Trump mob.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210118075531-rep-debbie-dingell-newday-1-18-2021-large-169.jpg”,”title”:”Lawmaker slams riot: ‘Damned if I’ll let it’ shake faith in democracy”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/01/18/rep-debbie-dingell-capitol-riot-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/01/18/rep-debbie-dingell-capitol-riot-newday-vpx.cnn”,”videoId”:”politics/2021/01/18/rep-debbie-dingell-capitol-riot-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/01/18/rep-debbie-dingell-capitol-riot-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_7679D023-80BA-0B6F-6A5F-1586F5C52AF8″},{“descriptionPlainText”:”Rep. Jamie Raskin (D-MD) lost his son to depression in 2020. CNN’s Jake Tapper talks with him about having to deal with that tragedy in addition to leading the second impeachment of President Donald Trump.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210117094804-rep-jamie-raskin-sotu-1-17-21-large-169.jpg”,”title”:”Raskin: I’m not losing my son in 2020 and my country in 2021″,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/01/17/jamie-raskin-son-depression-impeachment-trump-tapper-sotu-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/01/17/jamie-raskin-son-depression-impeachment-trump-tapper-sotu-vpx.cnn”,”videoId”:”politics/2021/01/17/jamie-raskin-son-depression-impeachment-trump-tapper-sotu-vpx.cnn”,”videoUrl”:”/videos/politics/2021/01/17/jamie-raskin-son-depression-impeachment-trump-tapper-sotu-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_77E16E50-A6D4-A814-521E-108B2C2A52AB”},{“descriptionPlainText”:”President Trump’s former Deputy Director of National Intelligence Sue Gordon says Biden should cut off Trump’s intelligence access once he leave office and Sen. Angus King (I-ME) tells CNN’s John King that he agrees.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210117090935-sen-angus-king-ip-vpx-large-169.jpg”,”title”:”Sen. King: Cutting off Trump’s intel access should be easy decision for Biden”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/01/17/angus-king-sot-biden-admin-trump-intel-sue-gordon-ip-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/01/17/angus-king-sot-biden-admin-trump-intel-sue-gordon-ip-vpx.cnn”,”videoId”:”politics/2021/01/17/angus-king-sot-biden-admin-trump-intel-sue-gordon-ip-vpx.cnn”,”videoUrl”:”/videos/politics/2021/01/17/angus-king-sot-biden-admin-trump-intel-sue-gordon-ip-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_70A8B988-8DA8-2D0C-7C1B-10A163C494CA”},{“descriptionPlainText”:”The acting secretary of defense Christopher Miller, is trying to install Trump loyalist Michael Ellis as the National Security Agency’s general counsel, according to familiar sources.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210116235613-nsa-2018-file-large-169.jpg”,”title”:”Christopher Miller orders NSA chief to install Trump loyalist as agency’s top lawyer”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/01/17/miller-orders-nsa-chief-to-install-trump-loyalist-michael-ellis-westwood-wkndnd-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/01/17/miller-orders-nsa-chief-to-install-trump-loyalist-michael-ellis-westwood-wkndnd-vpx.cnn”,”videoId”:”politics/2021/01/17/miller-orders-nsa-chief-to-install-trump-loyalist-michael-ellis-westwood-wkndnd-vpx.cnn”,”videoUrl”:”/videos/politics/2021/01/17/miller-orders-nsa-chief-to-install-trump-loyalist-michael-ellis-westwood-wkndnd-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_EF7C08D2-7B4D-F2E6-D60C-103A2291F008″},{“descriptionPlainText”:”President-elect Joe Biden introduced key members of his White House science team, including his nominee for director of the Office of Science and Technology Policy. Biden is elevating the role of presidential science adviser to be a member of the Cabinet for the first time, calling the move “the most exciting announcement” he has made in the entire Cabinet.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210116150827-biden-cabinet-white-house-science-team-adviser-sot-vpx-00002022-large-169.jpg”,”title”:”Biden: Science team ‘among the brightest, most dedicated'”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/01/16/biden-cabinet-white-house-science-team-adviser-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/01/16/biden-cabinet-white-house-science-team-adviser-sot-vpx.cnn”,”videoId”:”politics/2021/01/16/biden-cabinet-white-house-science-team-adviser-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2021/01/16/biden-cabinet-white-house-science-team-adviser-sot-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_54DF9FCF-23AE-5B17-1D29-0CC1D91950BB”},{“descriptionPlainText”:”President Trump has lied a lot. CNN reporter Daniel Dale says these four will be remembered.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210116020618-03-donald-trump-0112-large-169.jpg”,”title”:”Fact Check: The lies that could define Trump’s legacy”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/01/16/worst-lies-donald-trump-presidency-orig-me.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/01/16/worst-lies-donald-trump-presidency-orig-me.cnn”,”videoId”:”politics/2021/01/16/worst-lies-donald-trump-presidency-orig-me.cnn”,”videoUrl”:”/videos/politics/2021/01/16/worst-lies-donald-trump-presidency-orig-me.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_B69E6976-4E9A-4791-184D-08B1386F0252″},{“descriptionPlainText”:”CNN’s Randi Kaye examines how President Donald Trump’s plan to make Mar-a-Lago in Palm Beach, Florida, his permanent residence may violate his 1993 agreement with the town.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201209101030-mar-a-lago-resort-2018-large-169.jpg”,”title”:”Donald Trump’s plan to move to Mar-a-Lago faces challenges”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/01/16/trump-mar-a-lago-move-pushback-kaye-pkg-ac360-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/01/16/trump-mar-a-lago-move-pushback-kaye-pkg-ac360-vpx.cnn”,”videoId”:”politics/2021/01/16/trump-mar-a-lago-move-pushback-kaye-pkg-ac360-vpx.cnn”,”videoUrl”:”/videos/politics/2021/01/16/trump-mar-a-lago-move-pushback-kaye-pkg-ac360-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_EABE9C6F-DD69-3CD6-4492-08D5870731F7″},{“descriptionPlainText”:”CNN’s presidential historian Douglas Brinkley talks about what President Donald Trump’s legacy will be once he leaves office, and how the riots at the US Capitol have affected that legacy.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210115174437-trump-fact-check-large-169.jpg”,”title”:”Historian on Trump’s legacy: He’s an ‘asterisk president'”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/01/16/what-will-be-president-trumps-legacy-douglas-brinkley-ctn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/01/16/what-will-be-president-trumps-legacy-douglas-brinkley-ctn-vpx.cnn”,”videoId”:”politics/2021/01/16/what-will-be-president-trumps-legacy-douglas-brinkley-ctn-vpx.cnn”,”videoUrl”:”/videos/politics/2021/01/16/what-will-be-president-trumps-legacy-douglas-brinkley-ctn-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_EF8F49D7-366E-BF45-409A-0950224DDDFF”},{“descriptionPlainText”:”CNN’s Tom Foreman reports on a new report by the Washington Post detailing how close rioters were to spotting Vice President Mike Pence inside the US Capitol.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210106202537-mike-pence-remarks-vpx-large-169.jpg”,”title”:”New timeline shows just how close rioters got to Pence and his family”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/01/15/mike-pence-close-call-capitol-riot-foreman-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/01/15/mike-pence-close-call-capitol-riot-foreman-vpx.cnn”,”videoId”:”politics/2021/01/15/mike-pence-close-call-capitol-riot-foreman-vpx.cnn”,”videoUrl”:”/videos/politics/2021/01/15/mike-pence-close-call-capitol-riot-foreman-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_D942FCAC-CC58-3C9D-C870-07F4D7DAF3CB”},{“descriptionPlainText”:”CNN’s Martin Savidge reports on the potential threat of armed protests that FBI officials warn may take place across the nation, leading up to President-elect Joe Biden’s inauguration.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210115103616-martin-savidge-atlanta-large-169.jpg”,”title”:”FBI warns of potential armed protests across country”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/01/15/fbi-warns-of-armed-protests-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/01/15/fbi-warns-of-armed-protests-nr-vpx.cnn”,”videoId”:”politics/2021/01/15/fbi-warns-of-armed-protests-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2021/01/15/fbi-warns-of-armed-protests-nr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_2F4644C0-47CF-2576-0FE8-06A8509784EA”},{“descriptionPlainText”:”A Washington Post reporter captured an image of MyPillow CEO Mike Lindell’s notes as he walked into the West Wing of the White House. CNN’s Kaitlin Collins explains.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210115192609-mypillow-notes-large-169.jpg”,”title”:”Photographer snaps notes of MyPillow CEO after visiting Trump”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/01/15/mypillow-ceo-mike-lindell-west-wing-notes-captured-washington-post-lead-collins-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/01/15/mypillow-ceo-mike-lindell-west-wing-notes-captured-washington-post-lead-collins-vpx.cnn”,”videoId”:”politics/2021/01/15/mypillow-ceo-mike-lindell-west-wing-notes-captured-washington-post-lead-collins-vpx.cnn”,”videoUrl”:”/videos/politics/2021/01/15/mypillow-ceo-mike-lindell-west-wing-notes-captured-washington-post-lead-collins-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_0D43F36E-BE79-B43F-B1A2-081B0F81F612″},{“descriptionPlainText”:”Rep. John Garamendi (D-CA) says that anyone who brings a gun onto the floor of the House poses a danger to other lawmakers.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210115172332-john-garamendi-1-15-21-screengrab-large-169.jpg”,”title”:”Congressman concerned about being harmed by fellow lawmakers”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/01/15/john-garamendi-congress-fear-gun-violence-baldwin-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/01/15/john-garamendi-congress-fear-gun-violence-baldwin-nr-vpx.cnn”,”videoId”:”politics/2021/01/15/john-garamendi-congress-fear-gun-violence-baldwin-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2021/01/15/john-garamendi-congress-fear-gun-violence-baldwin-nr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_577FC09B-BD7B-6471-C2FF-080F3AA02E84″},{“descriptionPlainText”:”Washington, DC, police officers are speaking out following a riot at the US Capitol which resulted in five deaths. CNN’s Shimon Prokupecz reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210114204226-metropolitan-police-officer-michael-fanone-large-169.jpg”,”title”:”DC officers speak out following Capitol riot”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/01/15/dc-police-officers-capitol-riot-prokupecz-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/01/15/dc-police-officers-capitol-riot-prokupecz-newday-vpx.cnn”,”videoId”:”politics/2021/01/15/dc-police-officers-capitol-riot-prokupecz-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/01/15/dc-police-officers-capitol-riot-prokupecz-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_8B299204-F2AC-5C37-B694-062E6F1D8C06″},{“descriptionPlainText”:”Newly-elected Senator Tommy Tuberville (R-AL) incorrectly identified the three branches of the US government and also incorrectly said the US fought socialism in World War II.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201113152946-tommy-tuberville-1109-large-169.jpg”,”title”:”Senator-elect Tommy Tuberville flubs 3 branches of government”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/11/13/tommy-tuberville-branches-of-government-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/11/13/tommy-tuberville-branches-of-government-vpx.cnn”,”videoId”:”politics/2020/11/13/tommy-tuberville-branches-of-government-vpx.cnn”,”videoUrl”:”/videos/politics/2020/11/13/tommy-tuberville-branches-of-government-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_61EB4FDB-53D9-BB7F-A393-C3374520BD24″},{“descriptionPlainText”:”CNN’s Kate Bennett reports Ivanka Trump and Jared Kushner are trying to figure out where to go next. Their plans for a future in politics could be out of reach because of the several crises facing President Donald Trump’s administration in its last days.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201113080842-jared-kushner-ivanka-trump-pennsylvania-0922-large-169.jpg”,”title”:”Where do Ivanka Trump and Jared Kushner go from here?”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/01/15/ivanka-trump-jared-kushner-future-bennett-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/01/15/ivanka-trump-jared-kushner-future-bennett-newday-vpx.cnn”,”videoId”:”politics/2021/01/15/ivanka-trump-jared-kushner-future-bennett-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2021/01/15/ivanka-trump-jared-kushner-future-bennett-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_B3C78D53-7007-243D-3566-069EB484C918″}],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/01/18/keilar-roll-the-tape-trump-presidency-then-and-now-monologue-nr-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-1a5ljgb’,videoDescriptionDivId: ‘js-video_description-1a5ljgb’,videoDurationDivId: ‘js-video_duration-1a5ljgb’,videoTitleDivId: ‘js-leaf-video_headline-1a5ljgb’,videoSourceDivId: ‘js-video_sourceName-1a5ljgb’});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