Avlon: ‘Trump derangement syndrome’ taking on a new twist

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘politics/2020/12/16/trump-derangement-syndrome-reality-check-avlon-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/201216081643-john-avlon-1216-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201216081643-john-avlon-1216-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201216081643-john-avlon-1216-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201216081643-john-avlon-1216-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201216081643-john-avlon-1216-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201216081643-john-avlon-1216-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201216081643-john-avlon-1216-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”CNN’s John Avlon looks back at presidential ‘derangement syndromes’ and how the current one is afflicting President Trump and his supporters.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201216081643-john-avlon-1216-large-169.jpg”,”title”:”Avlon: ‘Trump derangement syndrome’ has taken on a new twist”,”videoCMSUrl”:”/videos/politics/2020/12/16/trump-derangement-syndrome-reality-check-avlon-newday-vpx.cnn”,”videoLeafUrl”:”/videos/politics/2020/12/16/trump-derangement-syndrome-reality-check-avlon-newday-vpx.cnn”,”videoId”:”politics/2020/12/16/trump-derangement-syndrome-reality-check-avlon-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2020/12/16/trump-derangement-syndrome-reality-check-avlon-newday-vpx.cnn”,”surrogateKey”:”video_973A0B51-D8FE-3320-53A7-6B45E268B756″},{“descriptionPlainText”:”President-elect Joe Biden will nominate Pete Buttigieg to be his transportation secretary, sources familiar with the matter tell CNN, elevating the former South Bend, Indiana, mayor and 2020 Democratic presidential candidate to a top post in the federal government. CNN Jeff Zeleny reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201215140702-buttigieg-biden-file-march-2020-large-169.jpg”,”title”:”Joe Biden will nominate Pete Buttigieg as transportation secretary”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/12/15/pete-buttigieg-biden-transportation-secretary-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/12/15/pete-buttigieg-biden-transportation-secretary-nr-vpx.cnn”,”videoId”:”politics/2020/12/15/pete-buttigieg-biden-transportation-secretary-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2020/12/15/pete-buttigieg-biden-transportation-secretary-nr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_390E9B0B-EDFB-C1EE-B75D-67EE7B046868″},{“descriptionPlainText”:”Senate Majority Leader Mitch McConnell for the first time since the election, publicly acknowledged and congratulated President-elect Joe Biden and Vice President-elect Kamala Harris for their victory in the 2020 US election. CNN’s Manu Raju reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201023115840-35c-mitch-mcconnell-centered-large-169.jpg”,”title”:”Mitch McConnell publicly acknowledges Biden-Harris win”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/12/15/mitch-mcconnell-biden-harris-victory-sot-manu-raju-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/12/15/mitch-mcconnell-biden-harris-victory-sot-manu-raju-nr-vpx.cnn”,”videoId”:”politics/2020/12/15/mitch-mcconnell-biden-harris-victory-sot-manu-raju-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2020/12/15/mitch-mcconnell-biden-harris-victory-sot-manu-raju-nr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_6E53656E-E05E-65FC-BE85-66FD3E555454″},{“descriptionPlainText”:”Former Governor of Ohio John Kasich (R) discusses how the Republican Party is feeling after the Electoral College formally affirms Joe Biden’s presidential win.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201214225446-kasich-121420-large-169.jpg”,”title”:”Kasich praises Biden for these two speech moments”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/12/15/john-kasich-biden-electoral-college-trump-republicans-sot-ctn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/12/15/john-kasich-biden-electoral-college-trump-republicans-sot-ctn-vpx.cnn”,”videoId”:”politics/2020/12/15/john-kasich-biden-electoral-college-trump-republicans-sot-ctn-vpx.cnn”,”videoUrl”:”/videos/politics/2020/12/15/john-kasich-biden-electoral-college-trump-republicans-sot-ctn-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_B68C81AD-E129-56E5-D0A7-647999FAE516″},{“descriptionPlainText”:”CNN’s John Avlon breaks down the recent data breach of multiple federal agencies by what US officials suspect are Russian-linked hackers and how President Trump has responded to Russian breaches in the past.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201215091957-john-avlon-1215-large-169.jpg”,”title”:”Avlon: Massive suspected Russian hack is 21st century warfare”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/12/15/reality-check-russian-hacking-avlon-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/12/15/reality-check-russian-hacking-avlon-newday-vpx.cnn”,”videoId”:”politics/2020/12/15/reality-check-russian-hacking-avlon-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2020/12/15/reality-check-russian-hacking-avlon-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_9E311CF0-D37A-8714-7EA5-66A7B61E5E95″},{“descriptionPlainText”:”Sen. Chris Coons (D-DE) discusses President-elect Joe Biden’s speech following the Electoral College’s affirmation of his victory and the fact that Russian President Vladimir Putin has congratulated Biden before Senate Majority Leader Mitch McConnell has.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201215031414-putin-biden-split-large-169.jpg”,”title”:”Coons: ‘Gravely concerning’ Putin congratulated Biden before McConnell”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/12/15/coons-intv-putin-congratulates-biden-before-mcconnell-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/12/15/coons-intv-putin-congratulates-biden-before-mcconnell-newday-vpx.cnn”,”videoId”:”politics/2020/12/15/coons-intv-putin-congratulates-biden-before-mcconnell-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2020/12/15/coons-intv-putin-congratulates-biden-before-mcconnell-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_B29E7A4A-C24C-C178-D110-66A56C9F4765″},{“descriptionPlainText”:”After the Electoral College affirmed his win, President-elect Joe Biden addressed the American people and slammed attempts by President Trump and Republicans to overturn the 2020 presidential election results.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201214194011-joe-biden-large-169.jpg”,”title”:”‘Stunning’: Biden slams lawsuit attempting to overturn election results”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/12/15/biden-electoral-college-win-trump-lawsuits-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/12/15/biden-electoral-college-win-trump-lawsuits-sot-vpx.cnn”,”videoId”:”politics/2020/12/15/biden-electoral-college-win-trump-lawsuits-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2020/12/15/biden-electoral-college-win-trump-lawsuits-sot-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_4055C3A6-8BF6-6914-5125-63E9335F29BE”},{“descriptionPlainText”:”William Barr will be leaving his role as attorney general, President Donald Trump tweeted.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201201225050-trump-barr-split-1201-large-169.jpg”,”title”:”Trump tweets about Bill Barr’s departure from White House”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/12/14/barr-trump-leaving-white-house-christmas-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/12/14/barr-trump-leaving-white-house-christmas-vpx.cnn”,”videoId”:”politics/2020/12/14/barr-trump-leaving-white-house-christmas-vpx.cnn”,”videoUrl”:”/videos/politics/2020/12/14/barr-trump-leaving-white-house-christmas-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_0852FF9B-0D63-1101-EC49-636B60747454″},{“descriptionPlainText”:”President-elect Joe Biden has received enough electoral votes to officially clinch the presidency, a major milestone that he reached when California’s electors awarded him the state’s 55 electoral votes.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201206234438-joe-biden-1204-large-169.jpg”,”title”:”Electoral College formally affirms Biden’s presidential win “,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/12/14/joe-biden-passes-270-electoral-college-votes-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/12/14/joe-biden-passes-270-electoral-college-votes-vpx.cnn”,”videoId”:”politics/2020/12/14/joe-biden-passes-270-electoral-college-votes-vpx.cnn”,”videoUrl”:”/videos/politics/2020/12/14/joe-biden-passes-270-electoral-college-votes-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_29720F18-942F-EE89-1A8B-633A6AF9C212″},{“descriptionPlainText”:”George Conway, conservative lawyer and former White House counselor Kellyanne Conway’s husband, discusses President Trump’s refusal to concede after the Electoral College made Joe Biden’s win official.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201214205023-george-conway-electoral-college-ac360-large-169.jpg”,”title”:”See what George Conway thinks about Trump’s refusal to concede”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/12/15/george-conway-trump-electoral-college-ac360-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/12/15/george-conway-trump-electoral-college-ac360-vpx.cnn”,”videoId”:”politics/2020/12/15/george-conway-trump-electoral-college-ac360-vpx.cnn”,”videoUrl”:”/videos/politics/2020/12/15/george-conway-trump-electoral-college-ac360-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_482F894F-F040-9217-3204-64136598A73B”},{“descriptionPlainText”:”Laurence Tribe, a constitutional law professor at Harvard, debunks Stephen Miller’s false claim that “alternate” electors could be sent to Congress to overturn Biden’s win.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191213123111-stephen-miller-briefing-file-large-169.jpg”,”title”:”Constitutional scholar responds to Stephen Miller’s false election claim”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/12/15/stephen-miller-election-fox-news-laurence-tribe-ebof-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/12/15/stephen-miller-election-fox-news-laurence-tribe-ebof-vpx.cnn”,”videoId”:”politics/2020/12/15/stephen-miller-election-fox-news-laurence-tribe-ebof-vpx.cnn”,”videoUrl”:”/videos/politics/2020/12/15/stephen-miller-election-fox-news-laurence-tribe-ebof-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_2FF08EA9-FF9B-BA04-506D-63C8B514F747″},{“descriptionPlainText”:”Rep. Paul Mitchell tells CNN’s Jake Tapper that he no longer wants to be affiliated with the Republican Party and calls out President Trump’s racist attacks.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201214165531-tapper-mitchell-large-169.jpg”,”title”:”‘Simply unacceptable:’ Congressman exiting GOP calls out Trump’s racist attacks”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/12/14/mitchell-son-russia-republican-party-exit-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/12/14/mitchell-son-russia-republican-party-exit-vpx.cnn”,”videoId”:”politics/2020/12/14/mitchell-son-russia-republican-party-exit-vpx.cnn”,”videoUrl”:”/videos/politics/2020/12/14/mitchell-son-russia-republican-party-exit-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_3DF28299-E745-14E6-9F01-633F5A6D0235″},{“descriptionPlainText”:””Credible threats of violence” have prompted Michigan authorities to close the state capitol to the public and shutter House and Senate offices, a spokeswoman said, on the day the Electoral College will formally declare Joe Biden the President-elect.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201214085030-01-michigan-state-capitol-building-1008-file-large-169.jpg”,”title”:”GOP lawmaker stripped of committee assignments over protest remarks”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/12/14/michigan-state-house-senate-closed-threats-republicans-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/12/14/michigan-state-house-senate-closed-threats-republicans-vpx.cnn”,”videoId”:”politics/2020/12/14/michigan-state-house-senate-closed-threats-republicans-vpx.cnn”,”videoUrl”:”/videos/politics/2020/12/14/michigan-state-house-senate-closed-threats-republicans-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_C5BE8A53-1E4F-DDC6-86F7-621DD5288321″},{“descriptionPlainText”:”President Donald Trump’s attacks on the 2020 presidential election will continue even after the Electoral College affirms President-elect Joe Biden won, according to a White House adviser. CNN’s Jim Acosta reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201213211352-donald-trump-1212-large-169.jpg”,”title”:”WH adviser: Trump looking at ‘long shot’ challenge in Congress”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/12/14/donald-trump-electoral-college-votes-2020-election-acosta-sot-vpx-lead.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/12/14/donald-trump-electoral-college-votes-2020-election-acosta-sot-vpx-lead.cnn”,”videoId”:”politics/2020/12/14/donald-trump-electoral-college-votes-2020-election-acosta-sot-vpx-lead.cnn”,”videoUrl”:”/videos/politics/2020/12/14/donald-trump-electoral-college-votes-2020-election-acosta-sot-vpx-lead.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_80559C36-7A5A-F80F-BBAE-631A6C5A2AE3″},{“descriptionPlainText”:”CNN’s John Avlon looks at the history of the US Electoral College, as members of the Electoral College plan to ratify their respective states’ votes and determine the winner of the 2020 election.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201214080233-avlon-dec-14-large-169.jpg”,”title”:”What today’s Electoral College vote really means”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/12/14/electoral-college-vote-trump-biden-reality-check-avlon-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/12/14/electoral-college-vote-trump-biden-reality-check-avlon-newday-vpx.cnn”,”videoId”:”politics/2020/12/14/electoral-college-vote-trump-biden-reality-check-avlon-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2020/12/14/electoral-college-vote-trump-biden-reality-check-avlon-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_09B01A31-D478-7DB1-3E97-614D9D9FF00D”},{“descriptionPlainText”:”Are you wondering how the US election actually works? CNN explains how the Electoral College picks American presidents.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/161101154244-electoral-college-explainer-animation-orig-00002708-large-169.jpg”,”title”:”The Electoral College explained”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/12/10/electoral-college-explained-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/12/10/electoral-college-explained-orig.cnn”,”videoId”:”politics/2020/12/10/electoral-college-explained-orig.cnn”,”videoUrl”:”/videos/politics/2020/12/10/electoral-college-explained-orig.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_3159B343-0B0C-ED47-BAEB-4DC8506B086F”}],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/2020/12/16/trump-derangement-syndrome-reality-check-avlon-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-14luhs’,videoDescriptionDivId: ‘js-video_description-14luhs’,videoDurationDivId: ‘js-video_duration-14luhs’,videoTitleDivId: ‘js-leaf-video_headline-14luhs’,videoSourceDivId: ‘js-video_sourceName-14luhs’});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