Analysis: California races demonstrate the risk for Democrats

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘politics/2022/06/08/california-political-earthquake-brownstein-sot-vpx-dlt.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/220607232223-ron-brownstein-june-7-2022-screengrab-dlt-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220607232223-ron-brownstein-june-7-2022-screengrab-dlt-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220607232223-ron-brownstein-june-7-2022-screengrab-dlt-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220607232223-ron-brownstein-june-7-2022-screengrab-dlt-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220607232223-ron-brownstein-june-7-2022-screengrab-dlt-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220607232223-ron-brownstein-june-7-2022-screengrab-dlt-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220607232223-ron-brownstein-june-7-2022-screengrab-dlt-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”CNN’s Ron Brownstein says pushback against progressives in key offices signals a big shift in how voters view the Democratic party in California.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220607232223-ron-brownstein-june-7-2022-screengrab-dlt-large-169.jpg”,”title”:”CNN analyst: Key California races demonstrate the risk to Democrats”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/06/08/california-political-earthquake-brownstein-sot-vpx-dlt.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/06/08/california-political-earthquake-brownstein-sot-vpx-dlt.cnn”,”videoId”:”politics/2022/06/08/california-political-earthquake-brownstein-sot-vpx-dlt.cnn”,”videoUrl”:”/videos/politics/2022/06/08/california-political-earthquake-brownstein-sot-vpx-dlt.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_1ACB0FD1-7A3A-FD5A-3B6E-414C6E67D3EC”},{“descriptionPlainText”:”House Democrats are investigating former President Donald Trump’s “apparent failure to account for gifts from foreign government officials while in office” after learning there may be thousands of dollars-worth of items that are either missing or were not tracked properly, according to the House Oversight and Reform Committee.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220511122351-01-donald-trump-file-0501-large-169.jpg”,”title”:”Why Trump’s foreign gifts concern the House Oversight Committee”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/06/07/trump-foreign-gifts-house-oversight-committee-constitution-emoluments-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/06/07/trump-foreign-gifts-house-oversight-committee-constitution-emoluments-nr-vpx.cnn”,”videoId”:”politics/2022/06/07/trump-foreign-gifts-house-oversight-committee-constitution-emoluments-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2022/06/07/trump-foreign-gifts-house-oversight-committee-constitution-emoluments-nr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_BFC2E204-1AEA-8A89-F4B9-3F42642DEEE6″},{“descriptionPlainText”:”CNN’s Jim Sciutto asks Rep. Steve Cohen (D-TN) to weigh in on Fox’s decision not to air the January 6 hearings, which committee members have teased could be focused on former President Donald Trump’s role in undermining the 2020 presidential election results.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220607100011-rep-steve-cohen-iso-nr-06-07-2022-large-169.jpeg”,”title”:”Lawmaker calls out Fox’s decision not to air Jan. 6 hearings”,”videoCMSUrl”:”/video/data/3.0/video/media/2022/06/07/fox-network-decision-not-to-air-january-6-hearing-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2022/06/07/fox-network-decision-not-to-air-january-6-hearing-vpx.cnn”,”videoId”:”media/2022/06/07/fox-network-decision-not-to-air-january-6-hearing-vpx.cnn”,”videoUrl”:”/videos/media/2022/06/07/fox-network-decision-not-to-air-january-6-hearing-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_1ACB0FD1-7A3A-FD5A-3B6E-414C6E67D3EC”},{“descriptionPlainText”:”CNN’s Marshall Cohen explains how the January 6 insurrection changed the American election process forever. Now, The Justice Department and lawmakers on Capitol Hill are searching for ways to safeguard democracy.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220504155843-02-us-capitol-breech-file-010621-large-169.jpg”,”title”:”What is being done to prevent another January 6?”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/06/07/congress-january-6-prevention-orig-jm.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/06/07/congress-january-6-prevention-orig-jm.cnn”,”videoId”:”politics/2022/06/07/congress-january-6-prevention-orig-jm.cnn”,”videoUrl”:”/videos/politics/2022/06/07/congress-january-6-prevention-orig-jm.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_7A51343D-1C2F-251F-8420-3F6CA44BF7DA”},{“descriptionPlainText”:”CNN Senior Legal Analyst Elie Honig joins Jake Tapper to discuss the January 6 committee’s hiring of a former TV news executive to produce the upcoming hearings and the Justice Department’s decision to charge members of the Proud Boys with seditious conspiracy.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220607092629-elie-honig-lead-0606-large-169.jpg”,”title”:”Honig: Committee recognizes there’s a ‘theatrical element’ to hearings”,”videoCMSUrl”:”/video/data/3.0/video/opinions/2022/06/07/january-6-hearings-proud-boys-seditious-conspiracy-honig-lead-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/opinions/2022/06/07/january-6-hearings-proud-boys-seditious-conspiracy-honig-lead-sot-vpx.cnn”,”videoId”:”opinions/2022/06/07/january-6-hearings-proud-boys-seditious-conspiracy-honig-lead-sot-vpx.cnn”,”videoUrl”:”/videos/opinions/2022/06/07/january-6-hearings-proud-boys-seditious-conspiracy-honig-lead-sot-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_76603B92-5632-5EF1-0F0A-3E73748C7E20″},{“descriptionPlainText”:”The Justice Department is charging Proud Boys leader Enrique Tarrio and four other top members with seditious conspiracy for their alleged involvement in the Capitol attack, escalating the criminal case against the far-right group ahead of the January 6 hearing. CNN’s Sara Sidner has more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210211121745-proud-boy-vest-file-2020-large-169.jpg”,”title”:”Proud Boys leaders charged with sedition ahead of Jan 6 hearing”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/06/07/proud-boys-leaders-indictment-seditious-conspiracy-sidner-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/06/07/proud-boys-leaders-indictment-seditious-conspiracy-sidner-newday-vpx.cnn”,”videoId”:”politics/2022/06/07/proud-boys-leaders-indictment-seditious-conspiracy-sidner-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2022/06/07/proud-boys-leaders-indictment-seditious-conspiracy-sidner-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_C4DBB13B-D9C2-D90F-8D42-3F0CBB1445DE”},{“descriptionPlainText”:”The Trump campaign directed a group of Georgia Republicans to meet in secret and obscure their objectives in an email obtained by federal prosecutors as part of their recent investigation into Donald Trump’s efforts to overturn the election in several swing states. CNN’s Evan Perez reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211027234429-02-donald-trump-100921-large-169.jpg”,”title”:”Reporter reveals ‘remarkable email’ about Trump’s fake electors plot”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/06/07/fake-electors-email-trump-georgia-investigation-perez-dlt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/06/07/fake-electors-email-trump-georgia-investigation-perez-dlt-vpx.cnn”,”videoId”:”politics/2022/06/07/fake-electors-email-trump-georgia-investigation-perez-dlt-vpx.cnn”,”videoUrl”:”/videos/politics/2022/06/07/fake-electors-email-trump-georgia-investigation-perez-dlt-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_B0516D1F-AA40-AC9F-7B5E-3E4C91786EBF”},{“descriptionPlainText”:”Pennsylvania Democratic Senate candidate John Fetterman’s revelation about an undisclosed heart condition and recovery from a recent stroke that has made him absent from the campaign trail has many Democrats worried. CNN’s Jeff Zeleny reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220515154138-01-john-fetterman-0515-large-169.jpg”,”title”:”Pennsylvania candidate’s undisclosed heart condition alarms some Democrats”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/06/07/fetterman-pennsylvania-senate-stroke-heart-condition-zeleny-pkg-sot-dlt.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/06/07/fetterman-pennsylvania-senate-stroke-heart-condition-zeleny-pkg-sot-dlt.cnn”,”videoId”:”politics/2022/06/07/fetterman-pennsylvania-senate-stroke-heart-condition-zeleny-pkg-sot-dlt.cnn”,”videoUrl”:”/videos/politics/2022/06/07/fetterman-pennsylvania-senate-stroke-heart-condition-zeleny-pkg-sot-dlt.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_C6C39565-60A2-FD35-1AC5-3DF7145BD9CA”},{“descriptionPlainText”:”Sen. Joe Manchin (D-WV) tells CNN’s Manu Raju that he backs raising the age to 21 for buying semiautomatic rifles and questioned why individuals need to own AR-15-style weapons — putting him at odds with congressional Republicans just as senators grapple with the growing number of deadly massacres ravaging communities nationwide.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220606123534-manchin-manu-large-169.jpg”,”title”:”Manchin: Raising age to 21 to buy semiautomatic rifles ‘makes sense'”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/06/06/sen-joe-manchin-ar15-raju-ip-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/06/06/sen-joe-manchin-ar15-raju-ip-sot-vpx.cnn”,”videoId”:”politics/2022/06/06/sen-joe-manchin-ar15-raju-ip-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2022/06/06/sen-joe-manchin-ar15-raju-ip-sot-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_2DE32ED4-CCE5-4823-4D26-3BF419653729″},{“descriptionPlainText”:”CNN political analyst Carl Bernstein explains Rep. Liz Cheney’s (R-WY) importance in the upcoming January 6 committee hearings.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220606233701-carl-bernsterin-06062022-large-169.jpg”,”title”:”Carl Bernstein calls Jan. 6 committee member ‘sleeper of the hearing'”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/06/07/liz-cheney-january-6-committee-trump-bernstein-dlt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/06/07/liz-cheney-january-6-committee-trump-bernstein-dlt-vpx.cnn”,”videoId”:”politics/2022/06/07/liz-cheney-january-6-committee-trump-bernstein-dlt-vpx.cnn”,”videoUrl”:”/videos/politics/2022/06/07/liz-cheney-january-6-committee-trump-bernstein-dlt-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_11F8DB8E-07B5-EFC3-56C2-3C337A4BED22″},{“descriptionPlainText”:”Michael Fanone, a former DC Metropolitan Police officer who was attacked by rioters on January 6th, talks to CNN’s Jim Acosta about what he expects will happen to former President Donald Trump after the January 6th committee presents all their evidence.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220606002437-michael-fanone-donald-trump-split-large-169.jpg”,”title”:”He was attacked on January 6th. Hear what he thinks will happen to Trump”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/06/06/michael-fanone-trump-january-6-committee-hearings-sot-vpx-nr.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/06/06/michael-fanone-trump-january-6-committee-hearings-sot-vpx-nr.cnn”,”videoId”:”politics/2022/06/06/michael-fanone-trump-january-6-committee-hearings-sot-vpx-nr.cnn”,”videoUrl”:”/videos/politics/2022/06/06/michael-fanone-trump-january-6-committee-hearings-sot-vpx-nr.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_7488E880-ED1F-A52F-20E7-39DA8B493622″},{“descriptionPlainText”:”Former Trump White House press secretary Stephanie Grisham reacts to news that the Department of Justice will not indict two former Trump White House officials found in contempt by the Jan. 6 committee.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200407100829-stephanie-grisham-trump-file-large-169.jpg”,”title”:”Ex-Trump White House adviser: Trump administration needs to be punished”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/06/05/grisham-trump-jan-6-doj-meadows-scavino-navarro-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/06/05/grisham-trump-jan-6-doj-meadows-scavino-navarro-nr-vpx.cnn”,”videoId”:”politics/2022/06/05/grisham-trump-jan-6-doj-meadows-scavino-navarro-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2022/06/05/grisham-trump-jan-6-doj-meadows-scavino-navarro-nr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_477A5FD0-507E-3E58-D585-3C21B4802367″},{“descriptionPlainText”:”Rep. David Cicilline (D-RI) recalls a heated moment between Democrats and Republicans during a House Judiciary Committee meeting on a package of gun control measures.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220605120455-david-cicilline-thumb-vpx-large-169.jpg”,”title”:”‘Spare me the bulls***’: Democratic lawmaker fires back at GOP during hearing”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/06/05/david-cicilline-gun-bill-congressional-hearing-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/06/05/david-cicilline-gun-bill-congressional-hearing-sot-vpx.cnn”,”videoId”:”politics/2022/06/05/david-cicilline-gun-bill-congressional-hearing-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2022/06/05/david-cicilline-gun-bill-congressional-hearing-sot-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_26E485EA-1A45-8465-6A9C-3734C0BE1406″},{“descriptionPlainText”:”Former GOP Rep. Denver Riggleman tells CNN’s Jake Tapper why he doesn’t consider himself a Republican.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220605102216-denver-riggleman-sotu-06052022-thumb-vpx-large-169.jpg”,”title”:”Ex-congressman reveals why he’s no longer a Republican”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/06/05/denver-riggleman-republican-party-liz-cheney-sotu-intv-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/06/05/denver-riggleman-republican-party-liz-cheney-sotu-intv-vpx.cnn”,”videoId”:”politics/2022/06/05/denver-riggleman-republican-party-liz-cheney-sotu-intv-vpx.cnn”,”videoUrl”:”/videos/politics/2022/06/05/denver-riggleman-republican-party-liz-cheney-sotu-intv-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_EBAE2444-E7B4-85E3-768E-35E95517422E”},{“descriptionPlainText”:”Sen. Chris Murphy (D-CT), who is a key negotiator for new gun laws in the wake of the mass shooting in Uvalde, Texas, says the negotiations with Republicans are “serious” and outlines areas of agreement on “State of the Union.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220605091709-chris-murphy-gun-law-negotiations-sotu-large-169.jpeg”,”title”:”Senator reveals what Republicans are discussing in gun law negotiations”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/06/05/chris-murphy-gun-law-negotiations-sotu-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/06/05/chris-murphy-gun-law-negotiations-sotu-vpx.cnn”,”videoId”:”politics/2022/06/05/chris-murphy-gun-law-negotiations-sotu-vpx.cnn”,”videoUrl”:”/videos/politics/2022/06/05/chris-murphy-gun-law-negotiations-sotu-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_0B412E25-16A2-DA26-E1B5-3491B822DDCE”},{“descriptionPlainText”:”Actor Matthew McConaughey spoke at the White House press briefing after meeting with lawmakers on Capitol Hill about gun reform legislation.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220607145741-matthew-mcconaghuey-vpx-large-169.jpg”,”title”:”Matthew McConaughey gets emotional sharing heartbreaking story of 10-year-old Uvalde victim”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/06/07/white-house-press-briefing-matthew-mcconaughey-uvalde-gun-reform-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/06/07/white-house-press-briefing-matthew-mcconaughey-uvalde-gun-reform-vpx.cnn”,”videoId”:”politics/2022/06/07/white-house-press-briefing-matthew-mcconaughey-uvalde-gun-reform-vpx.cnn”,”videoUrl”:”/videos/politics/2022/06/07/white-house-press-briefing-matthew-mcconaughey-uvalde-gun-reform-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_37602E2D-8A47-7604-5A0B-341FAC4C4C70″}],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/2022/06/08/california-political-earthquake-brownstein-sot-vpx-dlt.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-1mps4kw’,videoDescriptionDivId: ‘js-video_description-1mps4kw’,videoDurationDivId: ‘js-video_duration-1mps4kw’,videoTitleDivId: ‘js-leaf-video_headline-1mps4kw’,videoSourceDivId: ‘js-video_sourceName-1mps4kw’});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