Starr: Officer’s reaction to Esper news ‘not suitable for air’

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘politics/2020/11/09/mark-esper-fired-pentagon-reaction-starr-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/201109133058-barbara-starr-11092020-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201109133058-barbara-starr-11092020-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201109133058-barbara-starr-11092020-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201109133058-barbara-starr-11092020-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201109133058-barbara-starr-11092020-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201109133058-barbara-starr-11092020-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201109133058-barbara-starr-11092020-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”CNN’s Barbara Starr says news of Mark Esper’s firing as secretary of defense came as a surprise to officials at the Pentagon.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201109133058-barbara-starr-11092020-large-169.jpg”,”title”:”Starr says officer’s reaction to Esper news ‘not suitable for air'”,”videoCMSUrl”:”/videos/politics/2020/11/09/mark-esper-fired-pentagon-reaction-starr-vpx.cnn”,”videoLeafUrl”:”/videos/politics/2020/11/09/mark-esper-fired-pentagon-reaction-starr-vpx.cnn”,”videoId”:”politics/2020/11/09/mark-esper-fired-pentagon-reaction-starr-vpx.cnn”,”videoUrl”:”/videos/politics/2020/11/09/mark-esper-fired-pentagon-reaction-starr-vpx.cnn”,”surrogateKey”:”video_22931A35-5629-5F8F-8031-AE3CB6B06106″},{“descriptionPlainText”:”We asked voters to share their thoughts about the historic 2020 US election and their new President-elect. They left us tons of voicemails. Here’s what they had to say.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201108213537-voter-voicemails-3-large-169.jpeg”,”title”:”‘I voted for Joe Biden but I don’t feel a lot of joy today'”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/11/09/2020-election-voicemails-american-voters-me-eg-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/11/09/2020-election-voicemails-american-voters-me-eg-orig.cnn”,”videoId”:”politics/2020/11/09/2020-election-voicemails-american-voters-me-eg-orig.cnn”,”videoUrl”:”/videos/politics/2020/11/09/2020-election-voicemails-american-voters-me-eg-orig.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_E999C80C-5BFA-1A6D-88C1-AAB8ED7347C5″},{“descriptionPlainText”:”CNN senior legal analyst Laura Coates explains why the safe harbor deadline, December 8, 2020, will be key in this presidential election. Six days before the Electoral College meets, also known as a “safe harbor” date, all court challenges should be resolved. If states certify their results by then, their validity must be accepted by Congress.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201105192133-02-america-votes-1105-georgia-large-169.jpg”,”title”:”CNN’s Laura Coates explains why December 8 matters”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/11/09/safe-harbor-deadline-election-vote-count-postelex-coates-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/11/09/safe-harbor-deadline-election-vote-count-postelex-coates-nr-vpx.cnn”,”videoId”:”politics/2020/11/09/safe-harbor-deadline-election-vote-count-postelex-coates-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2020/11/09/safe-harbor-deadline-election-vote-count-postelex-coates-nr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_64911057-9067-15C4-5DDC-AB07C5395F9F”},{“descriptionPlainText”:”Sen. Mitt Romney (R-UT), a frequent Trump critic, and Sen. Lisa Murkowski (R-AK) both congratulated Joe Biden on his election victory. The two GOP senators are the only sitting Republican lawmakers to call the President-elect as the rest of the party either urged President Donald Trump not to concede or stayed silent despite no widespread evidence of fraud in the election.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201107205529-biden-vpx-03-large-169.jpg”,”title”:”These 2 GOP senators called Biden to congratulate him”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/11/09/joe-biden-gop-republican-senators-congratulate-election-win-brown-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/11/09/joe-biden-gop-republican-senators-congratulate-election-win-brown-nr-vpx.cnn”,”videoId”:”politics/2020/11/09/joe-biden-gop-republican-senators-congratulate-election-win-brown-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2020/11/09/joe-biden-gop-republican-senators-congratulate-election-win-brown-nr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_238F2CCC-DB25-B6B0-EC61-AB49FF198954″},{“descriptionPlainText”:”During an interview on Fox News, Sen. Lindsey Graham (R-SC) told President Donald Trump not to concede the presidential election to President-elect Joe Biden. Former Vice Presidential nominee and Sen. Joe Lieberman (D-CT) reacts.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201108174650-lindsey-graham-fox-news-large-169.jpg”,”title”:”Lindsey Graham has an election message for Donald Trump”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/11/08/lindsey-graham-joe-biden-trump-concede-joe-lieberman-postelex-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/11/08/lindsey-graham-joe-biden-trump-concede-joe-lieberman-postelex-nr-vpx.cnn”,”videoId”:”politics/2020/11/08/lindsey-graham-joe-biden-trump-concede-joe-lieberman-postelex-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2020/11/08/lindsey-graham-joe-biden-trump-concede-joe-lieberman-postelex-nr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_38B7313D-4932-05B2-3D90-AA04C5C1CB08″},{“descriptionPlainText”:”Republican Sen. Mitt Romney called for the country to support President-elect Joe Biden, urging unity as President Donald Trump has so far refused to concede the election.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201108092848-mitt-romney-sotu-11-8-large-169.jpg”,”title”:”Mitt Romney: History has its eyes on us “,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/11/08/mitt-romney-biden-election-tapper-sotu-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/11/08/mitt-romney-biden-election-tapper-sotu-vpx.cnn”,”videoId”:”politics/2020/11/08/mitt-romney-biden-election-tapper-sotu-vpx.cnn”,”videoUrl”:”/videos/politics/2020/11/08/mitt-romney-biden-election-tapper-sotu-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_23A8F679-4F51-7E9E-8E73-A7C6F5F2DAC7″},{“descriptionPlainText”:”Rep. Alexandria Ocasio-Cortez (D-NY) tells CNN’s Jake Tapper what Vice President-elect Kamala Harris’ win means to her.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201108103025-alexandria-ocasio-cortez-sotu-vpx-large-169.jpg”,”title”:”Alexandria Ocasio-Cortez on what Kamala Harris’ win means to her”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/11/08/alexandria-ocasio-cortez-on-kamala-harris-win-tapper-sotu-postelex-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/11/08/alexandria-ocasio-cortez-on-kamala-harris-win-tapper-sotu-postelex-vpx.cnn”,”videoId”:”politics/2020/11/08/alexandria-ocasio-cortez-on-kamala-harris-win-tapper-sotu-postelex-vpx.cnn”,”videoUrl”:”/videos/politics/2020/11/08/alexandria-ocasio-cortez-on-kamala-harris-win-tapper-sotu-postelex-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_FEF10C57-8E18-EEB0-643A-A7C4CD29F844″},{“descriptionPlainText”:”Stacey Abrams joins CNN’s Jake Tapper to reflect on President-elect Joe Biden and Vice President-elect Kamala Harris’ historic win, and what it means to have a woman of color elected to the office.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201108103058-sotu-stacey-abrams-on-kamala-harris-sot-vpx-00000000-large-169.jpg”,”title”:”Stacey Abrams: It’s a privilege to see yourself reflected in leadership”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/11/08/sotu-stacey-abrams-on-kamala-harris-postelex-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/11/08/sotu-stacey-abrams-on-kamala-harris-postelex-sot-vpx.cnn”,”videoId”:”politics/2020/11/08/sotu-stacey-abrams-on-kamala-harris-postelex-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2020/11/08/sotu-stacey-abrams-on-kamala-harris-postelex-sot-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_FD710F0C-A41D-C68D-D277-A88745005545″},{“descriptionPlainText”:”CNN projects that Joe Biden has won the 2020 presidential election and will become the 46th president of the United States, Wolf Blitzer announces.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201107133852-wolf-makes-the-call-large-169.jpg”,”title”:”See the moment CNN called the race for Joe Biden”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/11/06/joe-biden-wins-2020-election-president-blitzer-elexnight-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/11/06/joe-biden-wins-2020-election-president-blitzer-elexnight-vpx.cnn”,”videoId”:”politics/2020/11/06/joe-biden-wins-2020-election-president-blitzer-elexnight-vpx.cnn”,”videoUrl”:”/videos/politics/2020/11/06/joe-biden-wins-2020-election-president-blitzer-elexnight-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_C2237644-7832-B270-1408-9DB8A4367C44″},{“descriptionPlainText”:”President Donald Trump was golfing as the 2020 election was being called for Joe Biden. CNN’s Jim Acosta reports on the scene at the White House.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201107064101-trump-golfing-white-house-cheers-split-for-video-large-16-9.jpg”,”title”:”Trump was golfing when election called for Biden”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/11/07/trump-golfing-biden-projected-winner-acosta-sot-vpx-postelex.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/11/07/trump-golfing-biden-projected-winner-acosta-sot-vpx-postelex.cnn”,”videoId”:”politics/2020/11/07/trump-golfing-biden-projected-winner-acosta-sot-vpx-postelex.cnn”,”videoUrl”:”/videos/politics/2020/11/07/trump-golfing-biden-projected-winner-acosta-sot-vpx-postelex.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_EF2F70FE-C6E4-3BDE-2B8F-A3F11B58FCC0″},{“descriptionPlainText”:”From impromptu trumpet solos to dancing in the street, President-elect Joe Biden’s victory over President Donald Trump sparked worldwide celebrations.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201107135423-crowd-reax-orig-thumb-large-169.jpg”,”title”:”Watch people across the world celebrate Joe Biden’s win”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/11/07/biden-wins-election-crowd-reactions-cheers-orig-kj.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/11/07/biden-wins-election-crowd-reactions-cheers-orig-kj.cnn”,”videoId”:”us/2020/11/07/biden-wins-election-crowd-reactions-cheers-orig-kj.cnn”,”videoUrl”:”/videos/us/2020/11/07/biden-wins-election-crowd-reactions-cheers-orig-kj.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_48461957-4BC4-94D8-2E14-A40CE3DDCE68″},{“descriptionPlainText”:”CNN’s Dana Bash reacts to Joe Biden projected to become the US president-elect.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201107113902-dana-bash-joe-biden-president-reaction-vpx-00000000-large-169.jpg”,”title”:”CNN’s Dana Bash: He finally got there”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/11/07/dana-bash-joe-biden-president-reaction-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/11/07/dana-bash-joe-biden-president-reaction-vpx.cnn”,”videoId”:”politics/2020/11/07/dana-bash-joe-biden-president-reaction-vpx.cnn”,”videoUrl”:”/videos/politics/2020/11/07/dana-bash-joe-biden-president-reaction-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_A73520E5-AB23-95ED-224F-A38CF89E4F7B”},{“descriptionPlainText”:”President Trump hasn’t said whether or not he will peacefully pass the presidential torch if he loses the election. His opponent, former Vice President Joe Biden, says it won’t matter.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201028011534-03-donald-trump-lansing-michigan-1027-large-169.jpg”,”title”:”What if Trump loses and refuses to concede?”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/11/02/what-if-trump-loses-and-refuses-to-concede-orig-dp-jm.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/11/02/what-if-trump-loses-and-refuses-to-concede-orig-dp-jm.cnn”,”videoId”:”politics/2020/11/02/what-if-trump-loses-and-refuses-to-concede-orig-dp-jm.cnn”,”videoUrl”:”/videos/politics/2020/11/02/what-if-trump-loses-and-refuses-to-concede-orig-dp-jm.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_5F82F3AC-2C02-6DF0-A3B3-8A9FE8B14451″},{“descriptionPlainText”:”CNN’s Van Jones reacts to Joe Biden’s election as the 46th president of the United States.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201107165842-van-jones-tears-biden-president-elect-11072020-large-169.jpg”,”title”:”Van Jones: For a lot of people it’s a good day”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/11/07/van-jones-reaction-2020-election-result-elexnight-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/11/07/van-jones-reaction-2020-election-result-elexnight-vpx.cnn”,”videoId”:”politics/2020/11/07/van-jones-reaction-2020-election-result-elexnight-vpx.cnn”,”videoUrl”:”/videos/politics/2020/11/07/van-jones-reaction-2020-election-result-elexnight-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_4AEA4B89-10A1-EFE9-EE1B-A38E4A17ADB5″},{“descriptionPlainText”:”President Obama’s former national security adviser Susan Rice explains what it’s like as a Black woman to witness Kamala Harris become the first Black female Vice President-elect of the United States.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201107190820-susan-rice-reacts-kamala-harris-vice-president-elect-large-169.jpg”,”title”:”‘It brings tears to my eyes’: Susan Rice on Harris’ historic win “,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/11/07/kamala-harris-susan-rice-joe-biden-2020-us-election-postelex-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/11/07/kamala-harris-susan-rice-joe-biden-2020-us-election-postelex-vpx.cnn”,”videoId”:”politics/2020/11/07/kamala-harris-susan-rice-joe-biden-2020-us-election-postelex-vpx.cnn”,”videoUrl”:”/videos/politics/2020/11/07/kamala-harris-susan-rice-joe-biden-2020-us-election-postelex-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_9BD2022C-CFC1-63C3-34BB-A408BF1007A7″},{“descriptionPlainText”:”From Cori Bush, Missouri’s first Black congresswoman, to Sarah McBride, the nation’s first state senator to publicly identify as transgender, the 2020 election was filled with historical milestones.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201104154025-01-cori-bush-1103-large-169.jpg”,”title”:”Meet the candidates who made history in the 2020 election”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/11/04/historic-candidates-election-2020-orig-vf.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/11/04/historic-candidates-election-2020-orig-vf.cnn”,”videoId”:”politics/2020/11/04/historic-candidates-election-2020-orig-vf.cnn”,”videoUrl”:”/videos/politics/2020/11/04/historic-candidates-election-2020-orig-vf.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_A3EEEBE0-410B-A59D-2005-9540C95F04B9″}],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/2020/11/09/mark-esper-fired-pentagon-reaction-starr-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-23kdve6’,videoDescriptionDivId: ‘js-video_description-23kdve6’,videoDurationDivId: ‘js-video_duration-23kdve6’,videoTitleDivId: ‘js-leaf-video_headline-23kdve6’,videoSourceDivId: ‘js-video_sourceName-23kdve6’});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