How Obama’s election led to Trump’s insurrection

‘);$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/06/19/capitol-hill-riot-doc-invs-obama-election.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/210326223809-17-barack-obama-unfurled-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210326223809-17-barack-obama-unfurled-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210326223809-17-barack-obama-unfurled-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210326223809-17-barack-obama-unfurled-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210326223809-17-barack-obama-unfurled-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210326223809-17-barack-obama-unfurled-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/210326223809-17-barack-obama-unfurled-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”The radicalization of some Capitol rioters can be traced back to November 2008, with the election of the United States’ first Black president Barack Obama. CNN’s Drew Griffin reports. See more at CNN.com/capitolriot.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210326223809-17-barack-obama-unfurled-large-169.jpg”,”title”:”How Obama’s election led to Trump’s insurrection”,”videoCMSUrl”:”/videos/politics/2021/06/19/capitol-hill-riot-doc-invs-obama-election.cnn”,”videoLeafUrl”:”/videos/politics/2021/06/19/capitol-hill-riot-doc-invs-obama-election.cnn”,”videoId”:”politics/2021/06/19/capitol-hill-riot-doc-invs-obama-election.cnn”,”videoUrl”:”/videos/politics/2021/06/19/capitol-hill-riot-doc-invs-obama-election.cnn”,”surrogateKey”:”video_47534AB4-EBE0-7111-376B-24C0309B1EB8″},{“descriptionPlainText”:”The 23-time grand slam winning champion Serena Williams took to Instagram to share an adorable video of her giving her 3-year-old daughter Olympia a tennis lesson.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210618101727-serena-williams-large-169.jpg”,”title”:”Serena Williams gives daughter tennis lesson in adorable video”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/06/18/serena-williams-daughter-tennis-lesson-instagram-mxp-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/06/18/serena-williams-daughter-tennis-lesson-instagram-mxp-vpx.cnn”,”videoId”:”business/2021/06/18/serena-williams-daughter-tennis-lesson-instagram-mxp-vpx.cnn”,”videoUrl”:”/videos/business/2021/06/18/serena-williams-daughter-tennis-lesson-instagram-mxp-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_BACA7CE3-C22F-1AE2-D637-1F6FFD5008B5″},{“descriptionPlainText”:”Cities debate keeping extra outdoor dining spaces for restaurants as the pandemic winds down. CNN’s Tom Foreman reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210618172212-outdoor-dining-tom-foreman-pkg-vpx-large-169.jpg”,”title”:”Cities debate future of outdoor dining post-pandemic “,”videoCMSUrl”:”/video/data/3.0/video/business/2021/06/18/restaurants-extra-outdoor-dining-space-debate-foreman-lead-dnt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/06/18/restaurants-extra-outdoor-dining-space-debate-foreman-lead-dnt-vpx.cnn”,”videoId”:”business/2021/06/18/restaurants-extra-outdoor-dining-space-debate-foreman-lead-dnt-vpx.cnn”,”videoUrl”:”/videos/business/2021/06/18/restaurants-extra-outdoor-dining-space-debate-foreman-lead-dnt-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_1901593B-707F-24AF-429D-20EAACE4453A”},{“descriptionPlainText”:”Banking firms like Morgan Stanley and Goldman Sachs announced they want their employees to return to the office as more people are getting vaccinated against Covid-19. CNN’s Christine Romans reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210617092359-02-morgan-stanley-new-york-0409-restricted-large-169.jpg”,”title”:”Wall Street wants employees back in the office”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/06/18/wall-street-return-to-office.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/06/18/wall-street-return-to-office.cnnbusiness”,”videoId”:”business/2021/06/18/wall-street-return-to-office.cnnbusiness”,”videoUrl”:”/videos/business/2021/06/18/wall-street-return-to-office.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_2C7EAB00-3CCA-1BC5-D292-1F05E46FEAD0″},{“descriptionPlainText”:”A Colorado Springs, Colorado, house was so badly trashed by a former tenant that its real estate agent describes it as a “house of horrors.” CNN affiliate KMGH takes us inside.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210617132657-colorado-house-from-hell-large-169.jpg”,”title”:”Colorado realtor puts ‘house from hell’ on the market”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/06/17/colorado-house-vandalized-graffiti-realtor-pkg-vpx.kmgh/index.xml”,”videoLeafUrl”:”/videos/business/2021/06/17/colorado-house-vandalized-graffiti-realtor-pkg-vpx.kmgh”,”videoId”:”business/2021/06/17/colorado-house-vandalized-graffiti-realtor-pkg-vpx.kmgh”,”videoUrl”:”/videos/business/2021/06/17/colorado-house-vandalized-graffiti-realtor-pkg-vpx.kmgh/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_67B6B002-2BB5-32F6-6262-1AF29E7D054E”},{“descriptionPlainText”:”The cast of the cult-classic TV show “Friends” reunited on James Corden’s “Carpool Karaoke” segment to sing their theme song, HLN’s Robin Meade reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210617133734-friends-carpool-karaoke-cbs-large-169.jpg”,”title”:”‘Friends’ cast sings their theme song on James Corden’s show”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/06/17/friends-cast-sing-theme-song-corden-meade-sot-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/media/2021/06/17/friends-cast-sing-theme-song-corden-meade-sot-vpx.hln”,”videoId”:”media/2021/06/17/friends-cast-sing-theme-song-corden-meade-sot-vpx.hln”,”videoUrl”:”/videos/media/2021/06/17/friends-cast-sing-theme-song-corden-meade-sot-vpx.hln/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_27352175-1D75-158B-2377-1AFED219DBE6″},{“descriptionPlainText”:”Late-night host Stephen Colbert welcomes back a live studio audience for the first time in 15 months.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210615031559-stephen-colbert-large-169.jpg”,”title”:”Stephen Colbert welcomes back live audience”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/06/15/colbert-return-of-live-audience-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/06/15/colbert-return-of-live-audience-orig.cnn”,”videoId”:”media/2021/06/15/colbert-return-of-live-audience-orig.cnn”,”videoUrl”:”/videos/media/2021/06/15/colbert-return-of-live-audience-orig.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_96A0C017-2607-666D-BC52-0E778F58ED43″},{“descriptionPlainText”:”Using a pre-fab, modular design, BROAD Group was able to construct a 10-story apartment building in 28 hours and 45 minutes in Changsha, China.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210616165057-one-day-building-broad-group-large-169.jpg”,”title”:”Timelapse: 10-story building goes up in nearly one day”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/06/16/10-story-building-constructed-in-one-day-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2021/06/16/10-story-building-constructed-in-one-day-orig.cnn-business”,”videoId”:”business/2021/06/16/10-story-building-constructed-in-one-day-orig.cnn-business”,”videoUrl”:”/videos/business/2021/06/16/10-story-building-constructed-in-one-day-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_D2A9F6E2-C553-D514-CA29-168F61CFC0BF”},{“descriptionPlainText”:”Paris Jackson joined Willow Smith on “Red Table Talk Takeover” for a candid conversation about her past suicide attempts and how she coped with growing up in the shadow of her father, Michael Jackson.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210617111659-paris-jackson-red-table-talk-interview-large-169.jpg”,”title”:”Paris Jackson thinks her dad would be proud of her”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/06/17/paris-jackson-willow-smith-red-table-talk-orig-bdk.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/06/17/paris-jackson-willow-smith-red-table-talk-orig-bdk.cnn”,”videoId”:”media/2021/06/17/paris-jackson-willow-smith-red-table-talk-orig-bdk.cnn”,”videoUrl”:”/videos/media/2021/06/17/paris-jackson-willow-smith-red-table-talk-orig-bdk.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_8AE2DAB2-D0CA-A851-F5E1-1A6DE637C597″},{“descriptionPlainText”:”Airlines, banks, stock exchanges and trading platforms suffered brief website outages, sparking the second major interruption in the past 10 days. CNN’s Anna Stewart reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210617013748-southwest-airlines-file-large-169.jpg”,”title”:”Banks and airline websites get hit by another major internet outage”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/06/17/airlines-banks-website-outage-qmb.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/06/17/airlines-banks-website-outage-qmb.cnnbusiness”,”videoId”:”business/2021/06/17/airlines-banks-website-outage-qmb.cnnbusiness”,”videoUrl”:”/videos/business/2021/06/17/airlines-banks-website-outage-qmb.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_AB6448B8-462F-42F2-70DB-1A1B11925726″},{“descriptionPlainText”:”Fox News host Tucker Carlson is promoting a new baseless conspiracy theory that the FBI planned the attack on the Capitol on Jan. 6. CNN’s Brian Stelter has more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200612120334-01-tucker-carlson-file-large-169.jpg”,”title”:”Carlson promotes conspiracy that FBI planned Capitol riot”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/06/17/tucker-carlson-conspiracy-capitol-riot-stelter-dlt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/06/17/tucker-carlson-conspiracy-capitol-riot-stelter-dlt-vpx.cnn”,”videoId”:”business/2021/06/17/tucker-carlson-conspiracy-capitol-riot-stelter-dlt-vpx.cnn”,”videoUrl”:”/videos/business/2021/06/17/tucker-carlson-conspiracy-capitol-riot-stelter-dlt-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_820CFED1-F7C9-CCF1-D81D-18114CB88BA6″},{“descriptionPlainText”:”Late-night hosts Jimmy Fallon, Stephen Colbert, James Corden, Jimmy Kimmel and Seth Meyers joke about the Biden-Putin summit in Geneva, Switzerland.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210617035126-late-night-hosts-fallon-colbert-corden-large-169.jpg”,”title”:”Late-night hosts mock Biden and Putin’s press conferences”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/06/17/biden-putin-meeting-jimmy-fallon-stephen-colbert-james-corden-late-night-laughs-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/06/17/biden-putin-meeting-jimmy-fallon-stephen-colbert-james-corden-late-night-laughs-orig.cnn”,”videoId”:”media/2021/06/17/biden-putin-meeting-jimmy-fallon-stephen-colbert-james-corden-late-night-laughs-orig.cnn”,”videoUrl”:”/videos/media/2021/06/17/biden-putin-meeting-jimmy-fallon-stephen-colbert-james-corden-late-night-laughs-orig.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_8A19D874-47C0-F596-1A26-18E8B2074866″},{“descriptionPlainText”:”Karan Bilimoria, President of the Confederation of British Industry, discusses how the free trade agreement between Australia and the United Kingdom could forge new economic relationships.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210614231820-australia-uk-trade-deal-large-169.jpg”,”title”:”The United Kingdom and Australia announce post-Brexit trade deal”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/06/15/australia-uk-trade-deal-cbi-president-karan-bilimoria.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/06/15/australia-uk-trade-deal-cbi-president-karan-bilimoria.cnnbusiness”,”videoId”:”business/2021/06/15/australia-uk-trade-deal-cbi-president-karan-bilimoria.cnnbusiness”,”videoUrl”:”/videos/business/2021/06/15/australia-uk-trade-deal-cbi-president-karan-bilimoria.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_3621BA0C-3C3D-AA73-A50B-0FE82A174A7F”},{“descriptionPlainText”:”In an exclusive interview with CNN’s Poppy Harlow, IMF Managing Director Kristalina Georgieva discusses how vaccinations will help solve the economic crisis.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191206110445-imf-chief-intv-large-169.jpg”,”title”:”IMF Chief: Vaccine policy is the most important economic policy”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/06/15/imf-chief-kristalina-georgieva-economic-crisis.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/06/15/imf-chief-kristalina-georgieva-economic-crisis.cnnbusiness”,”videoId”:”business/2021/06/15/imf-chief-kristalina-georgieva-economic-crisis.cnnbusiness”,”videoUrl”:”/videos/business/2021/06/15/imf-chief-kristalina-georgieva-economic-crisis.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_6DC9F281-2523-E91C-AE2A-102A5A13C201″},{“descriptionPlainText”:”Russian President Vladimir Putin took questions from international reporters following his meeting with President Joe Biden, including a question from ABC News reporter Rachel Scott who asked Putin about a recent law that banned individuals designated as “extremists” from running for public offices.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210616150456-abc-reporter-valdimir-putin-june-16-2021-split-for-video-large-169.jpg”,”title”:”Reporter confronts Putin: ‘What are you so afraid of?'”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/06/16/vladimir-putin-press-conference-questioning-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/06/16/vladimir-putin-press-conference-questioning-sot-vpx.cnn”,”videoId”:”media/2021/06/16/vladimir-putin-press-conference-questioning-sot-vpx.cnn”,”videoUrl”:”/videos/media/2021/06/16/vladimir-putin-press-conference-questioning-sot-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_0D8B7875-AB55-70C1-AC48-1658FEBEDC96″},{“descriptionPlainText”:”CNN’s John Berman speaks with Jitarth Jadeja, who followed QAnon for two years, about the FBI’s warning to lawmakers that QAnon “digital soldiers” may become more violent.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210615101113-berman-jadeja-split-large-169.jpg”,”title”:”Berman to former QAnon follower: How could you believe that?”,”videoCMSUrl”:”/video/data/3.0/video/media/2021/06/15/former-qanon-follower-fbi-warning-jadeja-intv-newday-berman-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2021/06/15/former-qanon-follower-fbi-warning-jadeja-intv-newday-berman-sot-vpx.cnn”,”videoId”:”media/2021/06/15/former-qanon-follower-fbi-warning-jadeja-intv-newday-berman-sot-vpx.cnn”,”videoUrl”:”/videos/media/2021/06/15/former-qanon-follower-fbi-warning-jadeja-intv-newday-berman-sot-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_B6CEBDCA-53B6-5B80-96C6-0FCD8D9F1CCE”}],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/06/19/capitol-hill-riot-doc-invs-obama-election.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-ufl9ha’,videoDescriptionDivId: ‘js-video_description-ufl9ha’,videoDurationDivId: ‘js-video_duration-ufl9ha’,videoTitleDivId: ‘js-leaf-video_headline-ufl9ha’,videoSourceDivId: ‘js-video_sourceName-ufl9ha’});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