New video shows what it was like inside Capitol during riot

‘);$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/17/capitol-riot-video-the-new-yorker-newsroom-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/210117150620-2-rioters-screengrab-for-vpx-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210117150620-2-rioters-screengrab-for-vpx-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210117150620-2-rioters-screengrab-for-vpx-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210117150620-2-rioters-screengrab-for-vpx-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210117150620-2-rioters-screengrab-for-vpx-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210117150620-2-rioters-screengrab-for-vpx-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210117150620-2-rioters-screengrab-for-vpx-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”A video released by The New Yorker shows rioters roaming through the US Capitol. CNN’s Fredricka Whitfield and national security analyst Shawn Turner discuss.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210117150620-2-rioters-screengrab-for-vpx-large-169.jpg”,”title”:”New video shows what it was like inside Capitol during riot”,”videoCMSUrl”:”/videos/politics/2021/01/17/capitol-riot-video-the-new-yorker-newsroom-vpx.cnn”,”videoLeafUrl”:”/videos/politics/2021/01/17/capitol-riot-video-the-new-yorker-newsroom-vpx.cnn”,”videoId”:”politics/2021/01/17/capitol-riot-video-the-new-yorker-newsroom-vpx.cnn”,”videoUrl”:”/videos/politics/2021/01/17/capitol-riot-video-the-new-yorker-newsroom-vpx.cnn”,”surrogateKey”:”video_81E16578-A915-FA04-55D6-119321862CF8″},{“descriptionPlainText”:”On January 6 rioters broke into the US Capitol, here is the mess and destruction that was left in their wake.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210107111828-01-rioters-inside-capitol-hallway-0106-large-169.jpg”,”title”:”Broken windows, garbage and offices torn apart at the Capitol”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/01/07/aftermath-at-us-capitol-orig-jm.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/01/07/aftermath-at-us-capitol-orig-jm.cnn”,”videoId”:”politics/2021/01/07/aftermath-at-us-capitol-orig-jm.cnn”,”videoUrl”:”/videos/politics/2021/01/07/aftermath-at-us-capitol-orig-jm.cnn/video/playlists/congress-affirms-president-elect-biden-win/”,”surrogateKey”:”video_AD210982-3E90-B7CF-74A6-DE8376507068″},{“descriptionPlainText”:”Footage captured by a HuffPost reporter shows Eugene Goodman leading pro-Trump supporters in the opposite direction of the Senate chamber. The Washington Post reports Pence and his family were in hiding “less than 100″ feet away.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210106221648-capitol-officer-runs-pro-trump-mob-1-large-169.jpg”,”title”:”Pence evacuated from Senate a minute before officer lured rioters away”,”videoCMSUrl”:”/video/data/3.0/video/us/2021/01/07/trump-supporters-storm-capitol-building-orig-dp.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/01/07/trump-supporters-storm-capitol-building-orig-dp.cnn”,”videoId”:”us/2021/01/07/trump-supporters-storm-capitol-building-orig-dp.cnn”,”videoUrl”:”/videos/us/2021/01/07/trump-supporters-storm-capitol-building-orig-dp.cnn/video/playlists/congress-affirms-president-elect-biden-win/”,”surrogateKey”:”video_891604E1-7CD6-9B6E-5ED6-DAB11F11450F”},{“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/congress-affirms-president-elect-biden-win/”,”surrogateKey”:”video_8B299204-F2AC-5C37-B694-062E6F1D8C06″},{“descriptionPlainText”:”Lawmakers are demanding answers on how Pro-Trump rioters were able to so easily breach the US Capitol. CNN’s Brian Todd reports on Capitol police’s response and compares it to their response to Black Lives Matter protesters in June.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210107191901-capitol-police-todd-large-169.jpg”,”title”:”What went wrong with the Capitol police response”,”videoCMSUrl”:”/video/data/3.0/video/us/2021/01/07/capitol-police-security-response-todd-pkg-tsr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/01/07/capitol-police-security-response-todd-pkg-tsr-vpx.cnn”,”videoId”:”us/2021/01/07/capitol-police-security-response-todd-pkg-tsr-vpx.cnn”,”videoUrl”:”/videos/us/2021/01/07/capitol-police-security-response-todd-pkg-tsr-vpx.cnn/video/playlists/congress-affirms-president-elect-biden-win/”,”surrogateKey”:”video_0ED6739A-6EF8-7DAB-83A8-DF43984F2993″},{“descriptionPlainText”:”Video from The Telegraph shows Peter Francis Stager, the man federal prosecutors say beat a DC Metro police officer with the American flag, saying that “death is the only remedy” for the Capitol law enforcement officers.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210115113852-video-thumbnail-death-is-the-only-remedy-large-169.jpg”,”title”:”Man who beat police officer says ‘death is the only remedy'”,”videoCMSUrl”:”/video/data/3.0/video/us/2021/01/15/capitol-riots-death-is-the-only-remedy-ctn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/01/15/capitol-riots-death-is-the-only-remedy-ctn-vpx.cnn”,”videoId”:”us/2021/01/15/capitol-riots-death-is-the-only-remedy-ctn-vpx.cnn”,”videoUrl”:”/videos/us/2021/01/15/capitol-riots-death-is-the-only-remedy-ctn-vpx.cnn/video/playlists/congress-affirms-president-elect-biden-win/”,”surrogateKey”:”video_3AF52DE7-C3FC-F352-3084-05C3D5C4D868″},{“descriptionPlainText”:”As Congress convened to begin the certification process for President-elect Joe Biden’s victory, thousands of Trump supporters gathered near the White House to hear the president speak. Watch the events that led to the insurrection of the US Capitol.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210107134539-20-us-capitol-riots-0106-large-169.jpg”,”title”:”15 hours of chaos that led to Trump’s impeachment”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/01/07/us-capitol-trump-riot-timeline-orig-mss-ic.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/01/07/us-capitol-trump-riot-timeline-orig-mss-ic.cnn”,”videoId”:”politics/2021/01/07/us-capitol-trump-riot-timeline-orig-mss-ic.cnn”,”videoUrl”:”/videos/politics/2021/01/07/us-capitol-trump-riot-timeline-orig-mss-ic.cnn/video/playlists/congress-affirms-president-elect-biden-win/”,”surrogateKey”:”video_DDE6EE43-A91D-B7DC-A1D0-DF3C97E1C3E0″},{“descriptionPlainText”:”Several Republican members of Congress are facing new scrutiny for their incendiary language supporting the movement to overturn the election results in the hours, days and weeks before the siege on the Capitol. CNN’s Drew Griffin reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210112184804-mo-brooks-paul-gosar-split-large-169.jpg”,”title”:”Lawmakers’ fiery language under scrutiny”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/01/12/us-capitol-riots-key-organizers-gosar-brooks-ali-alexander-griffin-tsr-dnt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/01/12/us-capitol-riots-key-organizers-gosar-brooks-ali-alexander-griffin-tsr-dnt-vpx.cnn”,”videoId”:”politics/2021/01/12/us-capitol-riots-key-organizers-gosar-brooks-ali-alexander-griffin-tsr-dnt-vpx.cnn”,”videoUrl”:”/videos/politics/2021/01/12/us-capitol-riots-key-organizers-gosar-brooks-ali-alexander-griffin-tsr-dnt-vpx.cnn/video/playlists/congress-affirms-president-elect-biden-win/”,”surrogateKey”:”video_699B7BD1-254F-4899-E981-F8ABEB93D591″},{“descriptionPlainText”:”CNN’s Shimon Prokupecz and Don Lemon discuss DC Metropolitan Police Officers Michael Fanone and Daniel Hodges as they describe tense moments defending the Capitol during the riot on January 6th.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210109020050-officer-crushed-capitol-riot-video-large-169.jpg”,”title”:”Officers describe tense moments during riot at Capitol”,”videoCMSUrl”:”/video/data/3.0/video/us/2021/01/15/capitol-riot-officers-sots-ctn-prokupecz-sots-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/01/15/capitol-riot-officers-sots-ctn-prokupecz-sots-vpx.cnn”,”videoId”:”us/2021/01/15/capitol-riot-officers-sots-ctn-prokupecz-sots-vpx.cnn”,”videoUrl”:”/videos/us/2021/01/15/capitol-riot-officers-sots-ctn-prokupecz-sots-vpx.cnn/video/playlists/congress-affirms-president-elect-biden-win/”,”surrogateKey”:”video_5A71F4B5-3A2B-D136-E43C-0418B1ED3F88″},{“descriptionPlainText”:”These Black Americans are not surprised by what they saw at the Capitol this week. They reflect on how a mostly White mob could trash the Capitol and go home, when they would be arrested or worse.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210108210154-omar-arrest-split-large-169.jpg”,”title”:”CNN reporter: I was handcuffed for much less than breaking into the Capitol “,”videoCMSUrl”:”/video/data/3.0/video/us/2021/01/09/capitol-mob-riot-blm-protest-police-orig-mg-llr.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/01/09/capitol-mob-riot-blm-protest-police-orig-mg-llr.cnn”,”videoId”:”us/2021/01/09/capitol-mob-riot-blm-protest-police-orig-mg-llr.cnn”,”videoUrl”:”/videos/us/2021/01/09/capitol-mob-riot-blm-protest-police-orig-mg-llr.cnn/video/playlists/congress-affirms-president-elect-biden-win/”,”surrogateKey”:”video_07E80C89-38EF-68E2-CD43-E4D39DFF3D48″},{“descriptionPlainText”:”CNN’s Alex Marquardt shares footage his crew captured as they were berated and threatened while covering the pro-Trump mob at the US Capitol.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210110132613-marquardt-trump-mob-2-large-169.jpg”,”title”:”Two minutes inside the mob: A CNN reporter’s view of the riot”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/01/10/two-minutes-inside-the-capitol-riot-mob-marquardt-stelter-rs-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/01/10/two-minutes-inside-the-capitol-riot-mob-marquardt-stelter-rs-vpx.cnn”,”videoId”:”media/2021/01/10/two-minutes-inside-the-capitol-riot-mob-marquardt-stelter-rs-vpx.cnn”,”videoUrl”:”/videos/media/2021/01/10/two-minutes-inside-the-capitol-riot-mob-marquardt-stelter-rs-vpx.cnn/video/playlists/congress-affirms-president-elect-biden-win/”,”surrogateKey”:”video_06FBC3D9-DC1E-0C4F-D003-ED78068C3A80″},{“descriptionPlainText”:”CNN’s Elle Reeve speaks to rioters on the scene who broke into the Capitol during the Pro-Trump insurgence.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210107174848-03-reeve-capitol-riot-pkg-large-169.jpg”,”title”:”‘What are we supposed to do?’: Rioter speaks to CNN reporter”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/01/07/capitol-riot-inside-look-reeve-pkg-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/01/07/capitol-riot-inside-look-reeve-pkg-lead-vpx.cnn”,”videoId”:”business/2021/01/07/capitol-riot-inside-look-reeve-pkg-lead-vpx.cnn”,”videoUrl”:”/videos/business/2021/01/07/capitol-riot-inside-look-reeve-pkg-lead-vpx.cnn/video/playlists/congress-affirms-president-elect-biden-win/”,”surrogateKey”:”video_72788A7F-3593-742F-5F99-DED74927AF01″},{“descriptionPlainText”:”The warning signs on social media were clear: calls for civil war, death, attacks on law enforcement. Now experts warn that the calls for violence have only intensified ahead of Inauguration Day. CNN’s Drew Griffin reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210108205117-capitol-riots-social-media-clues-online-extremism-griffin-dnt-ac360-vpx-00031530-large-169.jpg”,”title”:”The online warning signs of the violent Capitol siege”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/01/09/capitol-riots-social-media-clues-online-extremism-griffin-dnt-ac360-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/01/09/capitol-riots-social-media-clues-online-extremism-griffin-dnt-ac360-vpx.cnn”,”videoId”:”business/2021/01/09/capitol-riots-social-media-clues-online-extremism-griffin-dnt-ac360-vpx.cnn”,”videoUrl”:”/videos/business/2021/01/09/capitol-riots-social-media-clues-online-extremism-griffin-dnt-ac360-vpx.cnn/video/playlists/congress-affirms-president-elect-biden-win/”,”surrogateKey”:”video_67DFD819-3CF2-A59C-5E4C-E4A6B27A90D0″},{“descriptionPlainText”:”Disturbing footage shows an officer being crushed in a door as rioters attempt to rush an entrance at the US Capitol. CNN’s Brian Todd reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210109191623-rioters-clashing-screengrab-for-vpx-large-169.jpg”,”title”:”Disturbing footage shows officer pinned as rioters rush Capitol door”,”videoCMSUrl”:”/video/data/3.0/video/us/2021/01/10/us-capitol-riots-officer-crushed-in-door-todd-pkg-tsr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2021/01/10/us-capitol-riots-officer-crushed-in-door-todd-pkg-tsr-vpx.cnn”,”videoId”:”us/2021/01/10/us-capitol-riots-officer-crushed-in-door-todd-pkg-tsr-vpx.cnn”,”videoUrl”:”/videos/us/2021/01/10/us-capitol-riots-officer-crushed-in-door-todd-pkg-tsr-vpx.cnn/video/playlists/congress-affirms-president-elect-biden-win/”,”surrogateKey”:”video_6C9EEBD3-1E18-ABFE-C7C2-E9A0CB88A2D3″},{“descriptionPlainText”:”Listen to these pro-Trump protesters react to the dangerous chaos caused by riots at the US Capitol.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210106205628-donie-dc-capitol-large-169.jpg”,”title”:”See what Trump supporters had to say after chaos at Capitol Hill”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/01/07/trump-capitol-riots-proud-vf-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/01/07/trump-capitol-riots-proud-vf-orig.cnn”,”videoId”:”politics/2021/01/07/trump-capitol-riots-proud-vf-orig.cnn”,”videoUrl”:”/videos/politics/2021/01/07/trump-capitol-riots-proud-vf-orig.cnn/video/playlists/congress-affirms-president-elect-biden-win/”,”surrogateKey”:”video_BE54234D-6121-4971-F7ED-DA6C363BC7FF”},{“descriptionPlainText”:”Rep. Jason Crow (D-CO), a former US Army Ranger, talks about the scene inside the House chamber as pro-Trump rioters entered the US Capitol. Roll Call photographer Tom Williams captured the moment where Crow was seen comforting fellow lawmaker Rep. Susan Wild of Pennsylvania.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210106191347-jason-crow-susan-wild-congress-riot-0106-large-169.jpg”,”title”:”Lawmaker describes moment captured in dramatic photo”,”videoCMSUrl”:”/video/data/3.0/video/politics/2021/01/06/washington-dc-capitol-riot-crow-wild-house-photo-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2021/01/06/washington-dc-capitol-riot-crow-wild-house-photo-sot-vpx.cnn”,”videoId”:”politics/2021/01/06/washington-dc-capitol-riot-crow-wild-house-photo-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2021/01/06/washington-dc-capitol-riot-crow-wild-house-photo-sot-vpx.cnn/video/playlists/congress-affirms-president-elect-biden-win/”,”surrogateKey”:”video_82043A31-9C1E-494C-3D4D-DA0B6AFC6F1E”}],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/17/capitol-riot-video-the-new-yorker-newsroom-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-1snp7ni’,videoDescriptionDivId: ‘js-video_description-1snp7ni’,videoDurationDivId: ‘js-video_duration-1snp7ni’,videoTitleDivId: ‘js-leaf-video_headline-1snp7ni’,videoSourceDivId: ‘js-video_sourceName-1snp7ni’});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