Pence's response to question left Cooper astonished

0
16

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘politics/2019/10/10/pence-foreign-interference-iowa-kaye-ac360-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/191009211554-pence-kaye-in-iowa-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191009211554-pence-kaye-in-iowa-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191009211554-pence-kaye-in-iowa-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191009211554-pence-kaye-in-iowa-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191009211554-pence-kaye-in-iowa-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191009211554-pence-kaye-in-iowa-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191009211554-pence-kaye-in-iowa-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Vice President Mike Pence defended President Trump amid the impeachment inquiry, saying Trump was concerned about election interference when speaking with Ukrainian President Volodymyr Zelensky.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191009211554-pence-kaye-in-iowa-large-169.jpg”,”title”:”Pence’s response to question left Cooper astonished “,”videoCMSUrl”:”/videos/politics/2019/10/10/pence-foreign-interference-iowa-kaye-ac360-vpx.cnn”,”videoLeafUrl”:”/videos/politics/2019/10/10/pence-foreign-interference-iowa-kaye-ac360-vpx.cnn”,”videoId”:”politics/2019/10/10/pence-foreign-interference-iowa-kaye-ac360-vpx.cnn”,”videoUrl”:”/videos/politics/2019/10/10/pence-foreign-interference-iowa-kaye-ac360-vpx.cnn”,”surrogateKey”:”video_99C64037-87DF-2A45-2DD5-B3282816CB3E”},{“descriptionPlainText”:”CNN’s Anderson Cooper examines the consequences of President Trump’s decision to pull troops out of Northern Syria as well as his ongoing reactions to the whistleblower story.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191009204359-cooper-kth-large-169.jpg”,”title”:”Cooper: Are we seeing a president without guardrails?”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/10/10/trump-kurds-syria-kth-ac360-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/10/10/trump-kurds-syria-kth-ac360-vpx.cnn”,”videoId”:”politics/2019/10/10/trump-kurds-syria-kth-ac360-vpx.cnn”,”videoUrl”:”/videos/politics/2019/10/10/trump-kurds-syria-kth-ac360-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_C130C750-54C5-A484-6291-B30609625387″},{“descriptionPlainText”:”Former national security adviser to President Obama Susan Rice responds to President Donald Trump’s comments claiming Kurdish forces haven’t helped US forces throughout history.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191009204450-susan-rice-what-is-trump-smoking-ac360-vpx-00005923-large-169.jpg”,”title”:”Susan Rice on Trump: What is he smoking?”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/10/10/susan-rice-what-is-trump-smoking-ac360-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/10/10/susan-rice-what-is-trump-smoking-ac360-vpx.cnn”,”videoId”:”politics/2019/10/10/susan-rice-what-is-trump-smoking-ac360-vpx.cnn”,”videoUrl”:”/videos/politics/2019/10/10/susan-rice-what-is-trump-smoking-ac360-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_E761F1AA-E68A-2D2F-5447-B31101DF3B2B”},{“descriptionPlainText”:”President Trump took aim at the whistleblower and Democrats for launching an impeachment inquiry over what he calls a “perfect call.” CNN’s Erin Burnett examined some of the President’s claims.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191009193242-ebof-10-9-large-169.jpg”,”title”:”Burnett: This conspiracy that Trump has repeated is false “,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/10/09/trump-impeachment-white-house-ukraine-ebof-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/10/09/trump-impeachment-white-house-ukraine-ebof-vpx.cnn”,”videoId”:”politics/2019/10/09/trump-impeachment-white-house-ukraine-ebof-vpx.cnn”,”videoUrl”:”/videos/politics/2019/10/09/trump-impeachment-white-house-ukraine-ebof-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_20EB6FE2-4563-9FCC-C372-B2CE2E3E35FD”},{“descriptionPlainText”:”President Trump is calling Senate Majority Leader Mitch McConnell three times a day in an attempt to lock down GOP loyalty as the President faces an impeachment inquiry from the House, according to a source.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170810150301-02-donald-trump-mitch-mcconnell-split-large-169.jpg”,”title”:”Source: Trump calling McConnell as often as 3 times a day”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/10/09/donald-trump-impeachment-inquiry-mitch-mcconnell-ac-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/10/09/donald-trump-impeachment-inquiry-mitch-mcconnell-ac-vpx.cnn”,”videoId”:”politics/2019/10/09/donald-trump-impeachment-inquiry-mitch-mcconnell-ac-vpx.cnn”,”videoUrl”:”/videos/politics/2019/10/09/donald-trump-impeachment-inquiry-mitch-mcconnell-ac-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_C98250AF-2FAA-A62F-554B-B2EB0F76170D”},{“descriptionPlainText”:”President Donald Trump, facing an ever-deepening scandal that threatens to swallow his presidency, appears to have lost a key ally in conservative media: The Drudge Report.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191009105320-01-trump-1008-large-169.jpg”,”title”:”Trump may have lost key ally in conservative media”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/10/10/matt-drudge-trump-impeachment-sot-vpx-nr.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/10/10/matt-drudge-trump-impeachment-sot-vpx-nr.cnn”,”videoId”:”politics/2019/10/10/matt-drudge-trump-impeachment-sot-vpx-nr.cnn”,”videoUrl”:”/videos/politics/2019/10/10/matt-drudge-trump-impeachment-sot-vpx-nr.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_D009528E-B5A4-316A-AACB-B2F89FE6A487″},{“descriptionPlainText”:”Democratic candidate Elizabeth Warren is competing directly with Joe Biden for support from black voters. CNN’s MJ Lee reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191009152333-03-elizabeth-warren-lead-image-1002-large-169.jpg”,”title”:”Elizabeth Warren ramping up outreach to black voters”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/10/09/elizabeth-warren-black-voters-lee-pkg-ebof-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/10/09/elizabeth-warren-black-voters-lee-pkg-ebof-vpx.cnn”,”videoId”:”politics/2019/10/09/elizabeth-warren-black-voters-lee-pkg-ebof-vpx.cnn”,”videoUrl”:”/videos/politics/2019/10/09/elizabeth-warren-black-voters-lee-pkg-ebof-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_E9887887-5720-E0CF-F066-B2D37E966924″},{“descriptionPlainText”:”Kurdish led forces say a prison holding ISIS detainees has been hit after a Turkish airstrike. This announcement comes after Trump responded to a question regarding risks posed by escaped ISIS fighters in the area saying, “they are escaping to Europe.” CNN’s Clarissa Ward reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191009164928-05-trump-exec-order-1009-large-169.jpg”,”title”:”Trump on threat of ISIS escapees: They’re escaping to Europe”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/10/09/trump-isis-fighters-europe-kurds-prison-hit-ward-sitroom-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/10/09/trump-isis-fighters-europe-kurds-prison-hit-ward-sitroom-vpx.cnn”,”videoId”:”world/2019/10/09/trump-isis-fighters-europe-kurds-prison-hit-ward-sitroom-vpx.cnn”,”videoUrl”:”/videos/world/2019/10/09/trump-isis-fighters-europe-kurds-prison-hit-ward-sitroom-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_196F44C0-0736-2688-C606-B2C5DC61D253″},{“descriptionPlainText”:”2020 Democratic presidential candidate Sen. Bernie Sanders said he is prepared to change the nature of his presidential campaign after seeing a cardiologist in his hometown of Burlington, Vermont. CNN’s Ryan Nobles has the details.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191003164051-27-week-in-photos-1004-large-169.jpg”,”title”:”Sanders to scale back campaign events after heart attack”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/10/09/bernie-sanders-scale-back-campaign-events-heart-attack-nobles-newday-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/10/09/bernie-sanders-scale-back-campaign-events-heart-attack-nobles-newday-sot-vpx.cnn”,”videoId”:”politics/2019/10/09/bernie-sanders-scale-back-campaign-events-heart-attack-nobles-newday-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2019/10/09/bernie-sanders-scale-back-campaign-events-heart-attack-nobles-newday-sot-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_5004F288-A4BE-2CB1-DD0C-B0471F2235AE”},{“descriptionPlainText”:”Sen. Lindsey Graham (R-SC) criticized President Trump on Twitter for withdrawing US troops from northern Syria, which was followed by a Turkish military offensive.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181221111123-lindsey-graham-12202018-large-169.jpg”,”title”:”Lindsey Graham criticizes Trump over Syria situation”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/10/09/lindsey-graham-trump-troops-syria-turkey-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/10/09/lindsey-graham-trump-troops-syria-turkey-nr-vpx.cnn”,”videoId”:”politics/2019/10/09/lindsey-graham-trump-troops-syria-turkey-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2019/10/09/lindsey-graham-trump-troops-syria-turkey-nr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_E6E84275-1916-5A67-1C00-B1C1DFE7486B”},{“descriptionPlainText”:”The US is going to restrict visas for Chinese officials linked to human rights abuses against Muslims. The move comes as the two countries prepare to meet for trade talks. CNN’s Christine Romans reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190605162432-china-us-flags-large-169.jpg”,”title”:”US to restrict visas for some Chinese officials”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/10/09/us-restrict-visas-china-officials-muslims-human-rights-romans-earlystart-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/10/09/us-restrict-visas-china-officials-muslims-human-rights-romans-earlystart-vpx.cnn”,”videoId”:”business/2019/10/09/us-restrict-visas-china-officials-muslims-human-rights-romans-earlystart-vpx.cnn”,”videoUrl”:”/videos/business/2019/10/09/us-restrict-visas-china-officials-muslims-human-rights-romans-earlystart-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_CA7FC83C-8788-4768-58E7-B08A096F9B27″},{“descriptionPlainText”:”Democratic presidential candidate Joe Biden for the first time called for President Donald Trump’s impeachment.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191009135814-biden-impeachment-large-169.jpg”,”title”:”Biden calls for Trump impeachment for first time”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/10/09/joe-biden-calls-for-trump-impeachment-first-time-sot-vpx-crn.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/10/09/joe-biden-calls-for-trump-impeachment-first-time-sot-vpx-crn.cnn”,”videoId”:”politics/2019/10/09/joe-biden-calls-for-trump-impeachment-first-time-sot-vpx-crn.cnn”,”videoUrl”:”/videos/politics/2019/10/09/joe-biden-calls-for-trump-impeachment-first-time-sot-vpx-crn.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_087367B1-E15D-EFDA-EFC7-B1B1A8D007AE”},{“descriptionPlainText”:”CNN’s Chris Cuomo appeals to Congress, asking both Democrats and Republicans to set aside partisan politics during the impeachment inquiry process and start thinking patriotically.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191009131518-cuomo-prime-time-large-169.jpg”,”title”:”Cuomo: This is a moment that will always be remembered”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/10/09/congress-impeachment-inquiry-cuomo-closing-sot-cpt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/10/09/congress-impeachment-inquiry-cuomo-closing-sot-cpt-vpx.cnn”,”videoId”:”politics/2019/10/09/congress-impeachment-inquiry-cuomo-closing-sot-cpt-vpx.cnn”,”videoUrl”:”/videos/politics/2019/10/09/congress-impeachment-inquiry-cuomo-closing-sot-cpt-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_FAF3ADBE-D2CF-A280-7CF3-B176EBFE9B32″},{“descriptionPlainText”:”Sen. Joni Ernst (R-IA) was unwilling to answer CNN correspondent Randi Kaye when asked if she thought it was appropriate for President Trump to ask a foreign power to investigate a political rival.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191008214244-joni-ernst-sot-large-169.jpg”,”title”:”GOP senator refuses to answer if Trump acted inappropriately”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/10/08/joni-ernst-trump-question-foreign-interference-sot-kaye-ac360-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/10/08/joni-ernst-trump-question-foreign-interference-sot-kaye-ac360-vpx.cnn”,”videoId”:”politics/2019/10/08/joni-ernst-trump-question-foreign-interference-sot-kaye-ac360-vpx.cnn”,”videoUrl”:”/videos/politics/2019/10/08/joni-ernst-trump-question-foreign-interference-sot-kaye-ac360-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_6793EDC2-9BF9-D4D6-D368-ACF7CD3C4CC5″},{“descriptionPlainText”:”CNN’s Anderson Cooper lays out new reporting which gives insight into a phone call President Trump made with Ukrainian President Volodymyr Zelensky.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191008202439-anderson-cooper-kth-10-8-2019-large-169.jpg”,”title”:”Cooper: This 5-hour gap in the texts is important”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/10/08/trump-no-cooperation-impeachment-inquiry-kth-cooper-ac-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/10/08/trump-no-cooperation-impeachment-inquiry-kth-cooper-ac-vpx.cnn”,”videoId”:”politics/2019/10/08/trump-no-cooperation-impeachment-inquiry-kth-cooper-ac-vpx.cnn”,”videoUrl”:”/videos/politics/2019/10/08/trump-no-cooperation-impeachment-inquiry-kth-cooper-ac-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_C45CC55D-030A-8B2F-8862-ADC63155F28B”},{“descriptionPlainText”:”CNN’s Christiane Amanpour asks Chris Ruddy, a friend of President Trump, about the ongoing impeachment inquiry surrounding his administration.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191008200614-chris-ruddy-large-169.jpg”,”title”:”Trump ally warns of ‘mortal threat’ to his presidency”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/10/08/chris-ruddy-trump-impeachment-amanpour-intv-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/10/08/chris-ruddy-trump-impeachment-amanpour-intv-vpx.cnn”,”videoId”:”politics/2019/10/08/chris-ruddy-trump-impeachment-amanpour-intv-vpx.cnn”,”videoUrl”:”/videos/politics/2019/10/08/chris-ruddy-trump-impeachment-amanpour-intv-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_B0BECBEF-C1DE-9123-61D4-ADBD2E10AF5E”}],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/2019/10/10/pence-foreign-interference-iowa-kaye-ac360-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-q0wd2’,videoDescriptionDivId: ‘js-video_description-q0wd2’,videoDurationDivId: ‘js-video_duration-q0wd2’,videoTitleDivId: ‘js-leaf-video_headline-q0wd2’,videoSourceDivId: ‘js-video_sourceName-q0wd2’});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(‘

Source link

LEAVE A REPLY