Axelrod reveals two big lessons from Biden’s first year

‘);$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/01/19/david-axelrod-biden-presidency-analysis-newday-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/220119134155-david-axelrod-newday-vpx-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220119134155-david-axelrod-newday-vpx-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220119134155-david-axelrod-newday-vpx-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220119134155-david-axelrod-newday-vpx-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220119134155-david-axelrod-newday-vpx-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220119134155-david-axelrod-newday-vpx-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/220119134155-david-axelrod-newday-vpx-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”CNN’s political commentaror David Axelrod weighs in on the mistakes President Biden has made during his first year in office and how the President can learn from them moving forward.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220119134155-david-axelrod-newday-vpx-large-169.jpg”,”title”:”Axelrod reveals two big lessons from Biden’s first year”,”videoCMSUrl”:”/videos/politics/2022/01/19/david-axelrod-biden-presidency-analysis-newday-vpx.cnn”,”videoLeafUrl”:”/videos/politics/2022/01/19/david-axelrod-biden-presidency-analysis-newday-vpx.cnn”,”videoId”:”politics/2022/01/19/david-axelrod-biden-presidency-analysis-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2022/01/19/david-axelrod-biden-presidency-analysis-newday-vpx.cnn”,”surrogateKey”:”video_1E057A32-EE76-B98E-B747-738CE7A2814C”},{“descriptionPlainText”:”Republicans running on ballot security used fake documents in an attempt to subvert democracy during 2020 election. CNN’s Tom Foreman reports on the GOP’s scheme in seven states.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220117203801-gop-fake-electors-ebof-large-169.jpg”,”title”:”Here’s how Republicans running on ballot security tried to rig the 2020 election”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/01/18/gop-fake-electors-pkg-ebof-foreman-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/01/18/gop-fake-electors-pkg-ebof-foreman-vpx.cnn”,”videoId”:”politics/2022/01/18/gop-fake-electors-pkg-ebof-foreman-vpx.cnn”,”videoUrl”:”/videos/politics/2022/01/18/gop-fake-electors-pkg-ebof-foreman-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_8CEE8D2F-0F4C-44C6-B35D-6ACDEDBDD519″},{“descriptionPlainText”:”CNN’s Erin Burnett talks with the New York Times reporter who broke the story about rising tensions between Donald Trump and Ron DeSantis. Jonathan Martin explains how the Florida governor could be a threat to the former president’s campaign.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220114184652-destantis-trump-split-large-169.jpg”,”title”:”Ron DeSantis could be a threat to Trump’s campaign. Here’s why”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/01/18/ron-desantis-threat-to-trump-campaign-martin-intv-ebof-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/01/18/ron-desantis-threat-to-trump-campaign-martin-intv-ebof-vpx.cnn”,”videoId”:”politics/2022/01/18/ron-desantis-threat-to-trump-campaign-martin-intv-ebof-vpx.cnn”,”videoUrl”:”/videos/politics/2022/01/18/ron-desantis-threat-to-trump-campaign-martin-intv-ebof-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_A02126B9-6ABA-B67E-D0C4-6AE22CB92A71″},{“descriptionPlainText”:”Two events — a Trump rally and a voting rights march — in the same state on the same day of Martin Luther King Jr. Day weekend encapsulated a nation at odds with itself about the future of its democracy. CNN’s Donie O’Sullivan reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220117220639-trump-supporters-az-rally-donie-pkg-vpx-large-169.jpg”,”title”:”MLK’s family calls on Sen. Sinema to stand up for voters’ rights “,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/01/18/trump-arizona-rally-voting-rights-sinema-osullivan-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/01/18/trump-arizona-rally-voting-rights-sinema-osullivan-vpx.cnn”,”videoId”:”politics/2022/01/18/trump-arizona-rally-voting-rights-sinema-osullivan-vpx.cnn”,”videoUrl”:”/videos/politics/2022/01/18/trump-arizona-rally-voting-rights-sinema-osullivan-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_122D5B60-8FED-D6DC-DB50-6B0230E04468″},{“descriptionPlainText”:”Rep. Jamie Raskin (D-MD), a member of the House select committee investigating the January 6 Capitol riot, previews what to expect from upcoming Congressional hearings.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220116174740-rep-jamie-raskin-large-169.jpg”,”title”:”‘Expose each and every level’: Lawmaker makes promise for Jan. 6 hearings”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/01/16/rep-jamie-raskin-january-6th-hearings-dotb-acostanr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/01/16/rep-jamie-raskin-january-6th-hearings-dotb-acostanr-vpx.cnn”,”videoId”:”politics/2022/01/16/rep-jamie-raskin-january-6th-hearings-dotb-acostanr-vpx.cnn”,”videoUrl”:”/videos/politics/2022/01/16/rep-jamie-raskin-january-6th-hearings-dotb-acostanr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_4DEE62DE-DDF9-CE37-2E35-650DEE3F18A6″},{“descriptionPlainText”:”Olivia Troye, a former adviser to Vice President Mike Pence, tells CNN’s Jim Acosta about a meeting between ex-Trump staffers focused on preventing his future influence on US politics.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220116171136-olivia-troye-iso-large-169.jpg”,”title”:”Ex-Pence adviser warns of ‘grave concern’ among ex-Trump staffers”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/01/16/olivia-troye-meeting-former-trump-staffers-acosta-sot-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/01/16/olivia-troye-meeting-former-trump-staffers-acosta-sot-nr-vpx.cnn”,”videoId”:”politics/2022/01/16/olivia-troye-meeting-former-trump-staffers-acosta-sot-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2022/01/16/olivia-troye-meeting-former-trump-staffers-acosta-sot-nr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_0040E407-DA70-76DF-68D8-64EEB247CA34″},{“descriptionPlainText”:”CNN’s Jake Tapper speaks with Sen. Bill Cassidy (R-LA) about former President Donald Trump’s attempt to pressure legislators to decertify the 2020 election and to get “vote counters” who are his supporters into public office.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220116095145-trump-gop-video-sotu-large-169.jpg”,”title”:”See Sen. Cassidy’s reaction to Trump’s ‘vote counter’ remark”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/01/16/senator-bill-cassidy-trump-pressure-republicans-voting-elections-sotu-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/01/16/senator-bill-cassidy-trump-pressure-republicans-voting-elections-sotu-vpx.cnn”,”videoId”:”politics/2022/01/16/senator-bill-cassidy-trump-pressure-republicans-voting-elections-sotu-vpx.cnn”,”videoUrl”:”/videos/politics/2022/01/16/senator-bill-cassidy-trump-pressure-republicans-voting-elections-sotu-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_00D88EB6-4EBB-D738-7A39-634F3782554E”},{“descriptionPlainText”:”Rep. Jim Clyburn (D-SC) responds to Sen. Kyrsten Sinema (D-AZ) after she announced that she will not vote to bypass the filibuster to pass the Democrats’ voting bill.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220116093749-kirsten-sinema-jim-clyburn-split-large-169.jpg”,”title”:”‘She’s not right’: Clyburn responds to Sinema’s speech”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/01/16/sinema-filibuster-speech-clyburn-sotu-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/01/16/sinema-filibuster-speech-clyburn-sotu-vpx.cnn”,”videoId”:”politics/2022/01/16/sinema-filibuster-speech-clyburn-sotu-vpx.cnn”,”videoUrl”:”/videos/politics/2022/01/16/sinema-filibuster-speech-clyburn-sotu-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_AEEB7E90-B772-8703-94E4-635624E5E435″},{“descriptionPlainText”:”Conservative lawyer George Conway reacts to House Republican Leader Kevin McCarthy saying he does not remember a radio interview where he said former President Trump shared responsibility for the Jan. 6 attacks.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210211210115-george-conway-on-ac360-2-11-2021-vpx-large-169.jpg”,”title”:”George Conway: House GOP leader is either lying or has amnesia”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/01/14/conway-mccarthy-radio-lead-tapper-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/01/14/conway-mccarthy-radio-lead-tapper-vpx.cnn”,”videoId”:”politics/2022/01/14/conway-mccarthy-radio-lead-tapper-vpx.cnn”,”videoUrl”:”/videos/politics/2022/01/14/conway-mccarthy-radio-lead-tapper-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_45E7981C-B6DB-E5C6-5A64-5AC31D6BB7B1″},{“descriptionPlainText”:”CNN’s Alisyn Camerota speaks with US House candidate for Alaska, Gregg Brelsfod about his decision to leave the Republican Party and run as an independent.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220114164420-gregg-brelsford-vpx-large-169.jpg”,”title”:”Why House candidate left the GOP”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/01/14/house-candidate-leaves-gop-gregg-brelsford-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/01/14/house-candidate-leaves-gop-gregg-brelsford-nr-vpx.cnn”,”videoId”:”politics/2022/01/14/house-candidate-leaves-gop-gregg-brelsford-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2022/01/14/house-candidate-leaves-gop-gregg-brelsford-nr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_A6DA238D-C12B-8D01-4D37-5A82F449D42A”},{“descriptionPlainText”:”CNN’s John King and John Berman discuss why President Joe Biden has such low poll numbers and in dire need for a legislative victory despite accomplishing some big things in his first year in office.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211222111121-01-biden-supply-chain-1222-large-169.jpg”,”title”:”‘Nothing to show for it’: Why Biden is on a losing streak”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/01/14/joe-biden-losing-streak-king-berman-newday-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/01/14/joe-biden-losing-streak-king-berman-newday-sot-vpx.cnn”,”videoId”:”politics/2022/01/14/joe-biden-losing-streak-king-berman-newday-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2022/01/14/joe-biden-losing-streak-king-berman-newday-sot-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_33D4E95C-80E9-CF10-D118-5A2D6EADD2AA”},{“descriptionPlainText”:”The new indictment charges against Oath Keepers leader Stewart Rhodes raise the stakes significantly by making details about their alleged plans for violence public. CNN’s Whitney Wild has the details.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220113133344-stewart-rhodes-oath-keepers-file-large-169.jpg”,”title”:”See the messages Oath Keepers leader sent to followers”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/01/14/oath-keepers-leader-message-indictment-charges-newday-wild-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/01/14/oath-keepers-leader-message-indictment-charges-newday-wild-pkg-vpx.cnn”,”videoId”:”politics/2022/01/14/oath-keepers-leader-message-indictment-charges-newday-wild-pkg-vpx.cnn”,”videoUrl”:”/videos/politics/2022/01/14/oath-keepers-leader-message-indictment-charges-newday-wild-pkg-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_2F8B1786-29D8-5870-6715-58877E245246″},{“descriptionPlainText”:”CNN senior legal analyst Elie Honig explains why the Supreme Court blocked President Joe Biden’s vaccine mandate aimed at large businesses, but it allowed a vaccine mandate for certain health care workers to go into effect nationwide.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220113094815-03-scotus-2022-large-169.jpg”,”title”:”Why the Supreme Court decided against vaccine mandate”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/01/13/honig-supreme-court-vaccine-mandate-decision-sot-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/01/13/honig-supreme-court-vaccine-mandate-decision-sot-nr-vpx.cnn”,”videoId”:”politics/2022/01/13/honig-supreme-court-vaccine-mandate-decision-sot-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2022/01/13/honig-supreme-court-vaccine-mandate-decision-sot-nr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_05D3EDBA-40E7-E5FB-A202-54FD3663C230″},{“descriptionPlainText”:”Key moderate Democrat Sen. Kyrsten Sinema (D-AZ) says she continues to back her party’s election legislation, but that she does not support eliminating the filibuster.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220113135011-kyrsten-sinema-01132022-large-169.jpg”,”title”:”Hear why Sinema is concerned about eliminating filibuster”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/01/13/kyrsten-sinema-voting-rights-filibuster-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/01/13/kyrsten-sinema-voting-rights-filibuster-sot-vpx.cnn”,”videoId”:”politics/2022/01/13/kyrsten-sinema-voting-rights-filibuster-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2022/01/13/kyrsten-sinema-voting-rights-filibuster-sot-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_B2BF6CE5-3715-4475-E614-54C00E92923B”},{“descriptionPlainText”:”A new op-ed in the Wall Street Journal is creating quite the buzz after suggesting that none other than Hillary Clinton run for president a third time. In the latest episode of The Point, CNN’s Chris Cillizza unpacks why it would *not* make sense for Clinton to try to replace Joe Biden on the 2024 Democratic ticket.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220113103757-the-point-hillary-clinton-2024-large-169.jpg”,”title”:”The case against a 2024 Hillary Clinton candidacy “,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/01/13/case-against-2024-clinton-candidacy-cillizza-the-point.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/01/13/case-against-2024-clinton-candidacy-cillizza-the-point.cnn”,”videoId”:”politics/2022/01/13/case-against-2024-clinton-candidacy-cillizza-the-point.cnn”,”videoUrl”:”/videos/politics/2022/01/13/case-against-2024-clinton-candidacy-cillizza-the-point.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_B776C791-4B21-50D7-C2C0-541A2634D574″},{“descriptionPlainText”:”Senate Majority Whip Dick Durbin (D-IL) reacted to Sen. Mitch McConnell’s criticism of Biden’s voting rights speech. Durbin told CNN’s Jake Tapper the ‘stark’ words from Biden reflected his great emotion for voting rights.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/220112170954-durbin-lead-tapper-vpx-large-169.jpg”,”title”:”Senator says he’s ‘glad’ Biden went a ‘little too far’ in voting rights speech”,”videoCMSUrl”:”/video/data/3.0/video/politics/2022/01/12/durbin-mcconnell-voting-rights-lead-tapper-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2022/01/12/durbin-mcconnell-voting-rights-lead-tapper-vpx.cnn”,”videoId”:”politics/2022/01/12/durbin-mcconnell-voting-rights-lead-tapper-vpx.cnn”,”videoUrl”:”/videos/politics/2022/01/12/durbin-mcconnell-voting-rights-lead-tapper-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_62A353F8-46BA-723A-AF7D-50492239F056″}],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/01/19/david-axelrod-biden-presidency-analysis-newday-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-me8o2v’,videoDescriptionDivId: ‘js-video_description-me8o2v’,videoDurationDivId: ‘js-video_duration-me8o2v’,videoTitleDivId: ‘js-leaf-video_headline-me8o2v’,videoSourceDivId: ‘js-video_sourceName-me8o2v’});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