Biden nominates former rival to be in his cabinet

‘);$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/17/joe-biden-cabinet-attorney-general-zeleny-tsr-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/201216124351-05-pete-buttigieg-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201216124351-05-pete-buttigieg-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201216124351-05-pete-buttigieg-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201216124351-05-pete-buttigieg-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201216124351-05-pete-buttigieg-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201216124351-05-pete-buttigieg-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201216124351-05-pete-buttigieg-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”President-elect Joe Biden nominated Pete Buttigieg to be his transportation secretary, but his critical attorney general nomination hasn’t been announced. CNN’s Jeff Zeleny reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201216124351-05-pete-buttigieg-large-169.jpg”,”title”:”Biden nominates former rival to be in his cabinet”,”videoCMSUrl”:”/videos/politics/2020/12/17/joe-biden-cabinet-attorney-general-zeleny-tsr-vpx.cnn”,”videoLeafUrl”:”/videos/politics/2020/12/17/joe-biden-cabinet-attorney-general-zeleny-tsr-vpx.cnn”,”videoId”:”politics/2020/12/17/joe-biden-cabinet-attorney-general-zeleny-tsr-vpx.cnn”,”videoUrl”:”/videos/politics/2020/12/17/joe-biden-cabinet-attorney-general-zeleny-tsr-vpx.cnn”,”surrogateKey”:”video_74502F1A-7061-FB0C-7412-6E6CCE1DD968″},{“descriptionPlainText”:”President Donald Trump bashed Senate Majority Leader Mitch McConnell for acknowledging Joe Biden’s victory and referring to him as President-elect, six weeks after Election Day.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201216121358-01-mcconnell-trump-split-large-169.jpg”,”title”:”Trump bashes McConnell for recognizing Biden victory”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/12/16/donald-trump-fox-news-coverage-biden-2020-election-collins-pkg-vpx-lead.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/12/16/donald-trump-fox-news-coverage-biden-2020-election-collins-pkg-vpx-lead.cnn”,”videoId”:”politics/2020/12/16/donald-trump-fox-news-coverage-biden-2020-election-collins-pkg-vpx-lead.cnn”,”videoUrl”:”/videos/politics/2020/12/16/donald-trump-fox-news-coverage-biden-2020-election-collins-pkg-vpx-lead.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_A9AC8AA5-DA35-D17A-4F0A-6D93D83D049A”},{“descriptionPlainText”:”Sen. Bernie Sanders tells CNN’s Wolf Blitzer what he believes is missing from the current coronavirus relief proposal, as congressional leaders are finally indicating they’re nearing a deal on a new rescue package that could pass both chambers within days.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201216174437-bernie-sanders-tsr-12162020-large-169.jpg”,”title”:”Sanders on what’s missing in current stimulus proposal”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/12/16/sen-bernie-sanders-coronavirus-relief-proposal-whats-missing-tsr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/12/16/sen-bernie-sanders-coronavirus-relief-proposal-whats-missing-tsr-vpx.cnn”,”videoId”:”politics/2020/12/16/sen-bernie-sanders-coronavirus-relief-proposal-whats-missing-tsr-vpx.cnn”,”videoUrl”:”/videos/politics/2020/12/16/sen-bernie-sanders-coronavirus-relief-proposal-whats-missing-tsr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_D0393AD8-AB73-3478-16DC-6DB4A0521DF9″},{“descriptionPlainText”:”A hearing on the 2020 election, which included President Trump’s former election security expert Chris Krebs, got heated when lawmakers quarreled over President Trump not accepting the results of the election.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201216171839-ron-johnson-gary-peters-split-large-169.jpg”,”title”:”Watch election hearing get heated”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/12/16/ron-johnson-gary-peters-election-hearing-chris-krebs-tsr-acosta-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/12/16/ron-johnson-gary-peters-election-hearing-chris-krebs-tsr-acosta-vpx.cnn”,”videoId”:”politics/2020/12/16/ron-johnson-gary-peters-election-hearing-chris-krebs-tsr-acosta-vpx.cnn”,”videoUrl”:”/videos/politics/2020/12/16/ron-johnson-gary-peters-election-hearing-chris-krebs-tsr-acosta-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_858BC348-4EAC-6169-4CF8-6D9B85744C8A”},{“descriptionPlainText”:”CNN’s Kate Bennett reports on the letter President Trump’s future Palm Beach neighbors’ attorneys sent saying he cannot be a permanent resident of Mar-a-Lago post-presidency.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201216111257-trump-1212-large-169.jpg”,”title”:”Trump’s future Palm Beach neighbors seek legal action to keep him out”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/12/16/trump-mar-a-lago-post-presidency-neighbors-bennett-lklv-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/12/16/trump-mar-a-lago-post-presidency-neighbors-bennett-lklv-nr-vpx.cnn”,”videoId”:”politics/2020/12/16/trump-mar-a-lago-post-presidency-neighbors-bennett-lklv-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2020/12/16/trump-mar-a-lago-post-presidency-neighbors-bennett-lklv-nr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_CF990B00-3A34-4392-CF20-6D73FD122F7B”},{“descriptionPlainText”:”In an interview with “Good Morning America,” Vice President-elect Kamala Harris reacts to Sen. Mitch McConnell acknowledging President-elect Joe Biden’s victory, as well as the incoming administration’s plans to combat the coronavirus pandemic.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201211100849-kamala-harris-file-large-169.jpg”,”title”:”Kamala Harris: I applaud Mitch McConnell”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/12/16/kamala-harris-good-morning-america-mitch-mcconnell-coronavirus-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/12/16/kamala-harris-good-morning-america-mitch-mcconnell-coronavirus-nr-vpx.cnn”,”videoId”:”politics/2020/12/16/kamala-harris-good-morning-america-mitch-mcconnell-coronavirus-nr-vpx.cnn”,”videoUrl”:”/videos/politics/2020/12/16/kamala-harris-good-morning-america-mitch-mcconnell-coronavirus-nr-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_958D2C88-0757-BC2E-0337-6BEF1633BA30″},{“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”:”/video/data/3.0/video/politics/2020/12/16/trump-derangement-syndrome-reality-check-avlon-newday-vpx.cnn/index.xml”,”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/video/playlists/this-week-in-politics/”,”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”}],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/17/joe-biden-cabinet-attorney-general-zeleny-tsr-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-1fzo0nz’,videoDescriptionDivId: ‘js-video_description-1fzo0nz’,videoDurationDivId: ‘js-video_duration-1fzo0nz’,videoTitleDivId: ‘js-leaf-video_headline-1fzo0nz’,videoSourceDivId: ‘js-video_sourceName-1fzo0nz’});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