Matt Gaetz has fiery exchange with professor during impeachment hearing

0
3

‘);$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/12/04/impeachment-hearing-judiciary-matt-gaetz-pamela-karlan-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/191204173703-matt-gaetz-pamela-karlan-impeachment-hearing-split-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191204173703-matt-gaetz-pamela-karlan-impeachment-hearing-split-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191204173703-matt-gaetz-pamela-karlan-impeachment-hearing-split-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191204173703-matt-gaetz-pamela-karlan-impeachment-hearing-split-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191204173703-matt-gaetz-pamela-karlan-impeachment-hearing-split-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191204173703-matt-gaetz-pamela-karlan-impeachment-hearing-split-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191204173703-matt-gaetz-pamela-karlan-impeachment-hearing-split-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”During the impeachment inquiry hearing, Rep. Matt Gaetz (R-FL) staunchly criticized Stanford Law School Professor Pamela S. Karlan’s comment involving the President’s son, Barron Trump.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191204173703-matt-gaetz-pamela-karlan-impeachment-hearing-split-large-169.jpg”,”title”:”GOP lawmaker has fiery exchange with professor during impeachment hearing”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/12/04/impeachment-hearing-judiciary-matt-gaetz-pamela-karlan-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/12/04/impeachment-hearing-judiciary-matt-gaetz-pamela-karlan-vpx.cnn”,”videoId”:”politics/2019/12/04/impeachment-hearing-judiciary-matt-gaetz-pamela-karlan-vpx.cnn”,”videoUrl”:”/videos/politics/2019/12/04/impeachment-hearing-judiciary-matt-gaetz-pamela-karlan-vpx.cnn/video/playlists/trump-impeachment-hearing-day-one/”,”surrogateKey”:”video_0FD493B6-2A06-E6A5-B5AE-D2841D73F7FA”},{“descriptionPlainText”:”During the impeachment inquiry hearing, Stanford Law School’s Pamela S. Karlan was asked to compare the fears of the framers of the US Constitution to President Trump’s behavior and invoked the President’s son, Barron, in her response.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191204151817-karlan-hearing-large-169.jpg”,”title”:”Law professor invokes President’s son during hearing”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/12/04/pamela-karlan-trump-baron-impeachment-hearing-judiciary-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/12/04/pamela-karlan-trump-baron-impeachment-hearing-judiciary-sot-vpx.cnn”,”videoId”:”politics/2019/12/04/pamela-karlan-trump-baron-impeachment-hearing-judiciary-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2019/12/04/pamela-karlan-trump-baron-impeachment-hearing-judiciary-sot-vpx.cnn/video/playlists/trump-impeachment-hearing-day-one/”,”surrogateKey”:”video_0FD493B6-2A06-E6A5-B5AE-D2841D73F7FA”},{“descriptionPlainText”:”Stanford Law Professor Pamela Karlan gives testimony about how the Constitution defines abuses of Presidential power.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191204105433-professor-pamela-karlan-large-169.jpg”,”title”:”Karlan: A President who cares about the Constitution would’ve said this instead”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/12/04/impeachment-hearing-trump-russia-election-pamela-karlan-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/12/04/impeachment-hearing-trump-russia-election-pamela-karlan-vpx.cnn”,”videoId”:”politics/2019/12/04/impeachment-hearing-trump-russia-election-pamela-karlan-vpx.cnn”,”videoUrl”:”/videos/politics/2019/12/04/impeachment-hearing-trump-russia-election-pamela-karlan-vpx.cnn/video/playlists/trump-impeachment-hearing-day-one/”,”surrogateKey”:”video_1BBD5152-9E73-AD0C-F2A7-D2829BAFC7DB”},{“descriptionPlainText”:”University of North Carolina School of Law professor Michael Gerhardt said if President Trump’s actions with Ukraine are not impeachable then nothing is, expressing concerns that if Congress gives the President a pass, it would lead to an erosion of boundaries.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191204120539-michael-gerhardt-impeachment-hearing-judiciary-large-169.jpg”,”title”:”UNC professor: If this is not impeachable then nothing is”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/12/04/impeachment-hearing-judiciary-gerhardt-impeachable-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/12/04/impeachment-hearing-judiciary-gerhardt-impeachable-sot-vpx.cnn”,”videoId”:”politics/2019/12/04/impeachment-hearing-judiciary-gerhardt-impeachable-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2019/12/04/impeachment-hearing-judiciary-gerhardt-impeachable-sot-vpx.cnn/video/playlists/trump-impeachment-hearing-day-one/”,”surrogateKey”:”video_AACBDE91-B411-99FC-01D2-D19F84274366″},{“descriptionPlainText”:”Rep. Jerry Nadler (D-NY) quoted warnings of the Founding Fathers against foreign interference in US elections during his opening statement of the House Judiciary Committee’s impeachment inquiry hearings.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191204103740-nadler-impeachment-judiciary-hearing-large-169.jpg”,”title”:”Nadler quotes Founders’ warnings in impeachment inquiry”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/12/04/impeachment-hearing-judiciary-nadler-opening-statement-founding-fathers-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/12/04/impeachment-hearing-judiciary-nadler-opening-statement-founding-fathers-sot-vpx.cnn”,”videoId”:”politics/2019/12/04/impeachment-hearing-judiciary-nadler-opening-statement-founding-fathers-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2019/12/04/impeachment-hearing-judiciary-nadler-opening-statement-founding-fathers-sot-vpx.cnn/video/playlists/trump-impeachment-hearing-day-one/”,”surrogateKey”:”video_9925091E-2626-431C-C5A7-D16BF36565DF”},{“descriptionPlainText”:”Rep. Will Hurd (R-TX) delivers remarks on the fifth day of public hearings in the impeachment inquiry into President Donald Trump.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191121153252-will-hurd-impeachment-hearing-large-169.jpg”,”title”:”Republican criticizes Trump then hints at how he’ll vote”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/11/21/republican-will-hurd-impeachment-hearing-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/11/21/republican-will-hurd-impeachment-hearing-sot-vpx.cnn”,”videoId”:”politics/2019/11/21/republican-will-hurd-impeachment-hearing-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2019/11/21/republican-will-hurd-impeachment-hearing-sot-vpx.cnn/video/playlists/trump-impeachment-hearing-day-one/”,”surrogateKey”:”video_467DD991-9864-0E14-FC8E-D1700BF686C4″},{“descriptionPlainText”:”David Holmes, the counselor for political affairs at the US Embassy in Ukraine, says it was clear that President Donald Trump wanted an investigation into the Bidens in return for US aid to Ukraine.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191121121520-01-david-holmes-testimony-1121-large-169.jpg”,”title”:”David Holmes: It was obvious what the President wanted”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/11/21/david-holmes-trump-bidens-impeachment-hearings-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/11/21/david-holmes-trump-bidens-impeachment-hearings-vpx.cnn”,”videoId”:”politics/2019/11/21/david-holmes-trump-bidens-impeachment-hearings-vpx.cnn”,”videoUrl”:”/videos/politics/2019/11/21/david-holmes-trump-bidens-impeachment-hearings-vpx.cnn/video/playlists/trump-impeachment-hearing-day-one/”,”surrogateKey”:”video_8E5E16C7-E4AF-6AB0-B3AE-8F9B816ECFE6″},{“descriptionPlainText”:”Fiona Hill, President Trump’s former top Russia adviser, testifies that she had “a couple of testy encounters” with Ambassador Gordon Sondland over Ukraine.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191121131947-28-impeachment-hearing-1121-hill-large-169.jpg”,”title”:”Hill: I told Sondland ‘this is all going to blow up'”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/11/21/fiona-hill-sondland-anger-blow-up-sot-impeachment-hearing-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/11/21/fiona-hill-sondland-anger-blow-up-sot-impeachment-hearing-vpx.cnn”,”videoId”:”politics/2019/11/21/fiona-hill-sondland-anger-blow-up-sot-impeachment-hearing-vpx.cnn”,”videoUrl”:”/videos/politics/2019/11/21/fiona-hill-sondland-anger-blow-up-sot-impeachment-hearing-vpx.cnn/video/playlists/trump-impeachment-hearing-day-one/”,”surrogateKey”:”video_DB02B01D-7834-B04D-7A47-8F5AF281B877″},{“descriptionPlainText”:”Fiona Hill, a former top White House official, offers a strong pushback to the claims that Ukraine may have interfered in the 2016 election.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191121104246-fiona-hill-testimony-large-169.jpg”,”title”:”Hill: Russia gearing up to interfere in 2020 election”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/11/21/fiona-hill-russia-ukraine-fictional-narrative-impeachment-hearing-trump-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/11/21/fiona-hill-russia-ukraine-fictional-narrative-impeachment-hearing-trump-vpx.cnn”,”videoId”:”politics/2019/11/21/fiona-hill-russia-ukraine-fictional-narrative-impeachment-hearing-trump-vpx.cnn”,”videoUrl”:”/videos/politics/2019/11/21/fiona-hill-russia-ukraine-fictional-narrative-impeachment-hearing-trump-vpx.cnn/video/playlists/trump-impeachment-hearing-day-one/”,”surrogateKey”:”video_C6DD0F06-A47A-BAB6-F135-8F4DDB8ADD31″},{“descriptionPlainText”:”David Holmes, the counselor for political affairs at the US Embassy in Ukraine, explains how Ambassador Gordon Sondland expressed concern over President Trump’s personal lawyer Rudy Giuliani taking a direct role in Ukrainian diplomacy.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191121101025-16-impeachment-hearing-1121-holmes-large-169.jpg”,”title”:”Holmes recalls Sondland saying Giuliani ‘f—s everything up'”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/11/21/david-holmes-impeachment-ukraine-hearing-sondland-rudy-giuliani-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/11/21/david-holmes-impeachment-ukraine-hearing-sondland-rudy-giuliani-sot-vpx.cnn”,”videoId”:”politics/2019/11/21/david-holmes-impeachment-ukraine-hearing-sondland-rudy-giuliani-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2019/11/21/david-holmes-impeachment-ukraine-hearing-sondland-rudy-giuliani-sot-vpx.cnn/video/playlists/trump-impeachment-hearing-day-one/”,”surrogateKey”:”video_92744497-3850-0002-C7D0-8E9364E479B0″},{“descriptionPlainText”:”While testifying in the impeachment hearings on Capitol Hill, the White House’s former top Russia expert, Fiona Hill, said her boss, former national security adviser John Bolton, instructed her to tell lawyers she was not part of the “drug deal” Gordon Sonland and Mick Mulvaney were “cooking up.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191121094742-12-impeachment-hearing-1121-hill-large-169.jpg”,”title”:”Fiona Hill: Bolton’s unmistakable body language caught my attention”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/11/21/fiona-hill-john-bolton-ukraine-meeting-impeachment-hearing-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/11/21/fiona-hill-john-bolton-ukraine-meeting-impeachment-hearing-sot-vpx.cnn”,”videoId”:”politics/2019/11/21/fiona-hill-john-bolton-ukraine-meeting-impeachment-hearing-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2019/11/21/fiona-hill-john-bolton-ukraine-meeting-impeachment-hearing-sot-vpx.cnn/video/playlists/trump-impeachment-hearing-day-one/”,”surrogateKey”:”video_F636CCBF-2537-489E-3955-8DE144FA90C9″},{“descriptionPlainText”:”Fiona Hill, President Donald Trump’s former top Russia adviser, gives her opening statement in a public hearing in the impeachment inquiry into President Donald Trump.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191121091526-05-impeachment-hearing-1121-hill-large-169.jpg”,”title”:”Hear Fiona Hill’s full opening impeachment hearing remarks “,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/11/21/fiona-hill-full-opening-statement-impeachment-hearing-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/11/21/fiona-hill-full-opening-statement-impeachment-hearing-vpx.cnn”,”videoId”:”politics/2019/11/21/fiona-hill-full-opening-statement-impeachment-hearing-vpx.cnn”,”videoUrl”:”/videos/politics/2019/11/21/fiona-hill-full-opening-statement-impeachment-hearing-vpx.cnn/video/playlists/trump-impeachment-hearing-day-one/”,”surrogateKey”:”video_0D61B6E2-CE9E-C352-D17D-8EB506A2AB6E”},{“descriptionPlainText”:”David Holmes, the counselor for political affairs at the US Embassy in Ukraine, describes the conversation he overheard between President Trump and Ambassador Gordon Sondland the day after Trump spoke with the Ukrainian president by phone in July 2019.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191121095940-15-impeachment-hearing-1121-holmes-large-169.jpg”,”title”:”Holmes describes call he overheard with Trump and Sondland”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/11/21/david-holmes-impeachment-hearing-opening-statement-call-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/11/21/david-holmes-impeachment-hearing-opening-statement-call-sot-vpx.cnn”,”videoId”:”politics/2019/11/21/david-holmes-impeachment-hearing-opening-statement-call-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2019/11/21/david-holmes-impeachment-hearing-opening-statement-call-sot-vpx.cnn/video/playlists/trump-impeachment-hearing-day-one/”,”surrogateKey”:”video_27748887-6F3D-B8F4-6416-8E50691A0730″},{“descriptionPlainText”:”House Intelligence Committee Ranking Member Devin Nunes (R-CA) gives his opening remarks before Fiona Hill and David Holmes provide their opening statements on the fifth day of public hearings in the impeachment inquiry to President Donald Trump.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191121091448-devin-nunes-impeachment-hearings-day-5-large-169.jpg”,”title”:”Devin Nunes full opening remarks impeachment hearing day 5″,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/11/21/devin-nunes-day-five-full-remarks-impeachment-hearing-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/11/21/devin-nunes-day-five-full-remarks-impeachment-hearing-vpx.cnn”,”videoId”:”politics/2019/11/21/devin-nunes-day-five-full-remarks-impeachment-hearing-vpx.cnn”,”videoUrl”:”/videos/politics/2019/11/21/devin-nunes-day-five-full-remarks-impeachment-hearing-vpx.cnn/video/playlists/trump-impeachment-hearing-day-one/”,”surrogateKey”:”video_14C45B76-1F04-2138-5A0B-8E75DC64F98A”},{“descriptionPlainText”:”The U.S. ambassador to the European Union, Gordon Sondland, testifies that the phone call and meeting between President Trump and President Zelensky was conditioned on a public statement by Zelensky about investigations into Burisma and the 2016 selection.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191120094541-13-impeachment-hearing-1120-sondland-large-169.jpg”,”title”:”Sondland: Yes, there was a quid pro quo”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/11/20/gordon-sondland-quid-pro-quo-opening-statement-orig-me.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/11/20/gordon-sondland-quid-pro-quo-opening-statement-orig-me.cnn”,”videoId”:”politics/2019/11/20/gordon-sondland-quid-pro-quo-opening-statement-orig-me.cnn”,”videoUrl”:”/videos/politics/2019/11/20/gordon-sondland-quid-pro-quo-opening-statement-orig-me.cnn/video/playlists/trump-impeachment-hearing-day-one/”,”surrogateKey”:”video_19EB890F-9D74-591F-2532-8E2FCA29EEA8″}],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/12/04/impeachment-hearing-judiciary-matt-gaetz-pamela-karlan-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-18gar3t’,videoDescriptionDivId: ‘js-video_description-18gar3t’,videoDurationDivId: ‘js-video_duration-18gar3t’,videoTitleDivId: ‘js-leaf-video_headline-18gar3t’,videoSourceDivId: ‘js-video_sourceName-18gar3t’});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