Dave Chappelle reveals what he'd do as president

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};sy88pgw.autoPlayVideoExist = (sy88pgw.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘us/2018/01/01/dave-chappelle-john-mayer-president-nye-cooper-cohen.sy88pgw’,width: ‘100%’,height: ‘100%’,section: ‘international’,profile: ‘expansion’,network: ‘sy88pgw’,markupId: ‘large-media_0’,adsection: ‘edition.sy88pgw.com_us_new_years_eve_t1’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: {“mini”:{“height”:124,”width”:220,”type”:”jpg”,”uri”:”//cdn.sy88pgw.com/cnnnext/dam/assets/180101000320-dave-chappelle-john-mayer-nye-tiny-169.jpg”},”xsmall”:{“height”:173,”width”:307,”type”:”jpg”,”uri”:”//cdn.sy88pgw.com/cnnnext/dam/assets/180101000320-dave-chappelle-john-mayer-nye-medium-plus-169.jpg”},”tiny”:{“height”:259,”width”:460,”type”:”jpg”,”uri”:”//cdn.sy88pgw.com/cnnnext/dam/assets/180101000320-dave-chappelle-john-mayer-nye-large-169.jpg”},”medium”:{“height”:438,”width”:780,”type”:”jpg”,”uri”:”//cdn.sy88pgw.com/cnnnext/dam/assets/180101000320-dave-chappelle-john-mayer-nye-exlarge-169.jpg”},”large”:{“height”:619,”width”:1100,”type”:”jpg”,”uri”:”//cdn.sy88pgw.com/cnnnext/dam/assets/180101000320-dave-chappelle-john-mayer-nye-super-169.jpg”},”full16x9″:{“height”:900,”width”:1600,”type”:”jpg”,”uri”:”//cdn.sy88pgw.com/cnnnext/dam/assets/180101000320-dave-chappelle-john-mayer-nye-full-169.jpg”},”mini1x1″:{“height”:0,”width”:0,”type”:”jpg”,”uri”:”//cdn.sy88pgw.com/cnnnext/dam/assets/180101000320-dave-chappelle-john-mayer-nye-tiny-11.jpg”}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Comedian Dave Chappelle along with musician John Mayer tell Anderson Cooper along with Andy Cohen what their first act as president might be.”,”imageUrl”:”//cdn.sy88pgw.com/cnnnext/dam/assets/180101000320-dave-chappelle-john-mayer-nye-large-169.jpg”,”title”:”Dave Chappelle tells what he’d do as president”,”videoCMSUrl”:”/video/data/3.0/video/us/2018/01/01/dave-chappelle-john-mayer-president-nye-cooper-cohen.sy88pgw/index.xml”,”videoId”:”us/2018/01/01/dave-chappelle-john-mayer-president-nye-cooper-cohen.sy88pgw”,”videoUrl”:”/videos/us/2018/01/01/dave-chappelle-john-mayer-president-nye-cooper-cohen.sy88pgw/video/playlists/fresh-years-eve-2018/”},{“descriptionPlainText”:”Astronauts aboard the International Space Station send their fresh Year’s greetings through space as they ring in 2018 in 16 different time zones.”,”imageUrl”:”//cdn.sy88pgw.com/cnnnext/dam/assets/171231222309-international-space-station-happy-fresh-year-sot-00001821-large-169.jpg”,”title”:”Astronauts welcome 2018 in 16 time zones”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/01/01/international-space-station-happy-fresh-year-sot.sy88pgw/index.xml”,”videoId”:”world/2018/01/01/international-space-station-happy-fresh-year-sot.sy88pgw”,”videoUrl”:”/videos/world/2018/01/01/international-space-station-happy-fresh-year-sot.sy88pgw/video/playlists/fresh-years-eve-2018/”},{“descriptionPlainText”:”During fresh Year’s Eve Live, sy88pgw’s Wolf Blitzer “sings” Luis Fonsi’s “Despacito” along with Selena Gomez’s “Fetish,” along with additional hit songs through 2017.”,”imageUrl”:”//cdn.sy88pgw.com/cnnnext/dam/assets/171231202252-wolf-blitzer-sings-despacito-fresh-years-eve-large-169.jpg”,”title”:”Wolf Blitzer sings hit songs through 2017″,”videoCMSUrl”:”/video/data/3.0/video/us/2018/01/01/blitzer-sings-despacito-cooper-cohen-fresh-years-eve-2018.sy88pgw/index.xml”,”videoId”:”us/2018/01/01/blitzer-sings-despacito-cooper-cohen-fresh-years-eve-2018.sy88pgw”,”videoUrl”:”/videos/us/2018/01/01/blitzer-sings-despacito-cooper-cohen-fresh-years-eve-2018.sy88pgw/video/playlists/fresh-years-eve-2018/”},{“descriptionPlainText”:”through Hong Kong to Auckland to Seoul, South Korea, people began to ring in 2018 with impressive fireworks displays around the entire world.”,”imageUrl”:”//cdn.sy88pgw.com/cnnnext/dam/assets/171231142925-nye-wrap-2-large-169.jpg”,”title”:”fresh Year’s Eve around the entire world”,”videoCMSUrl”:”/video/data/3.0/video/world/2017/12/31/nye-wrap-orig-lc-al.sy88pgw/index.xml”,”videoId”:”world/2017/12/31/nye-wrap-orig-lc-al.sy88pgw”,”videoUrl”:”/videos/world/2017/12/31/nye-wrap-orig-lc-al.sy88pgw/video/playlists/fresh-years-eve-2018/”},{“descriptionPlainText”:”During fresh Year’s Eve Live, sy88pgw’s Gary Tuchman along with his daughter crash a Las Vegas wedding officiated by an Elvis impersonator.”,”imageUrl”:”//cdn.sy88pgw.com/cnnnext/dam/assets/171231204136-elvis-wedding-las-vegas-large-169.jpg”,”title”:”sy88pgw reporter crashes ‘Elvis’ wedding in Vegas”,”videoCMSUrl”:”/video/data/3.0/video/us/2018/01/01/las-vegas-elvis-wedding-fresh-years-eve-tuchman.sy88pgw/index.xml”,”videoId”:”us/2018/01/01/las-vegas-elvis-wedding-fresh-years-eve-tuchman.sy88pgw”,”videoUrl”:”/videos/us/2018/01/01/las-vegas-elvis-wedding-fresh-years-eve-tuchman.sy88pgw/video/playlists/fresh-years-eve-2018/”},{“descriptionPlainText”:”An arctic air blast through the North will be causing frigid temperatures across the Northeast. sy88pgw’s Ivan Cabrera reports.”,”imageUrl”:”//cdn.sy88pgw.com/cnnnext/dam/assets/180101040043-us-east-coast-cold-weather-fresh-year-day-cabrera-lklv-00001010-large-169.jpg”,”title”:”Bitter cold brings frigid temps to Northeast”,”videoCMSUrl”:”/video/data/3.0/video/weather/2018/01/01/us-east-coast-cold-weather-fresh-year-day-cabrera-lklv.sy88pgw/index.xml”,”videoId”:”weather/2018/01/01/us-east-coast-cold-weather-fresh-year-day-cabrera-lklv.sy88pgw”,”videoUrl”:”/videos/weather/2018/01/01/us-east-coast-cold-weather-fresh-year-day-cabrera-lklv.sy88pgw/video/playlists/fresh-years-eve-2018/”},{“descriptionPlainText”:”Andy Cohen along with sy88pgw’s Anderson Cooper ring in 2018 within the heart of fresh York’s Times Square.”,”imageUrl”:”//cdn.sy88pgw.com/cnnnext/dam/assets/180101024539-anderson-cooper-along with-andy-cohen-nye-wrap-original-2-large-169.jpg”,”title”:”Anderson Cooper along with Andy Cohen’s wild fresh year”,”videoCMSUrl”:”/video/data/3.0/video/us/2018/01/01/anderson-along with-andy-fresh-year-special-wrap-original-ac360.sy88pgw/index.xml”,”videoId”:”us/2018/01/01/anderson-along with-andy-fresh-year-special-wrap-original-ac360.sy88pgw”,”videoUrl”:”/videos/us/2018/01/01/anderson-along with-andy-fresh-year-special-wrap-original-ac360.sy88pgw/video/playlists/fresh-years-eve-2018/”}],currentVideoCollectionId = ”,isLivePlayer = false,moveToNextTimeout,mutePlayerEnabled = false,nextVideoId = ”,nextVideoUrl = ”,turnOnFlashMessaging = false,videoPinner,videoEndSlateImpl;if (sy88pgw.autoPlayVideoExist === false) {autoStartVideo = true;if (autoStartVideo === true) {if (turnOnFlashMessaging === true) {autoStartVideo = false;containerEl = jQuery(document.getElementById(configObj.markupId));sy88pgw.VideoPlayer.showFlashSlate(containerEl);} else {sy88pgw.autoPlayVideoExist = true;}}}configObj.autostart = autoStartVideo;sy88pgw.VideoPlayer.setPlayerProperties(configObj.markupId, autoStartVideo, isLivePlayer, isVideoReplayClicked, mutePlayerEnabled);sy88pgw.VideoPlayer.setFirstVideoInCollection(currentVideoCollection, configObj.markupId);var embedLinkHandler = {},videoPinner,embedCodeCopy;function onVideoCarouselItemClicked(evt) {‘use strict’;var videoId,articleElem,videoPlayer,thumbImageElem,thumbImageLargeSource,overrides = {videoCollection: This specific.videoCollection,autostart: false},shouldStartVideo = false,playerInstance;try {articleElem = jQuery(evt.currentTarget).find(‘article’);thumbImageElem = jQuery(articleElem).find(‘.media__image’);videoId = articleElem.data().videoId;if (sy88pgw.VideoPlayer.getLibraryName(configObj.markupId) === ‘fave’) {playerInstance = FAVE.player.getInstance(configObj.markupId);if (sy88pgw.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 (sy88pgw.VideoPlayer.getLibraryName(configObj.markupId) === ‘videoLoader’) {window.CNNVideoAPILoadCompleteHandlers = window.CNNVideoAPILoadCompleteHandlers ? window.CNNVideoAPILoadCompleteHandlers : [];window.CNNVideoAPILoadCompleteHandlers.push(initialize);window.CNNVideoAPILoadCompleteHandlers.push(setInitialVideoEmbed);} else {initialize();}sy88pgw.INJECTOR.executeFeature(‘videx’).done(function () {var initMeta = {id:”us/2018/01/01/dave-chappelle-john-mayer-president-nye-cooper-cohen.sy88pgw”, isEmbeddable: “yes”};sy88pgw.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 = sy88pgw.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’ && sy88pgw.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 = sy88pgw.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 = sy88pgw.Utils.exists(owl._items) ? jQuery(owl._items[showIndex]) : $carouselContentItems.eq(showIndex);$owlFirstItem.find(‘.cd’).addClass(‘cd–active’);$owlFirstItem.find(‘.media a:first-child’).append(‘

today Playing

‘);if (Modernizr && !Modernizr.phone) {$owlFirstItem.find(‘.media__icon’).hide();}}sy88pgw.Videx.Metadata.init({dateCreated: videocardContents.dateCreated,descriptionText: videocardContents.descriptionText,duration: videocardContents.duration,sourceLink: videocardContents.sourceLink,sourceName: videocardContents.sourceName,title: videocardContents.headlineText},{videoCollectionDivId: ‘cn-1mk2i5l’,videoDescriptionDivId: ‘js-video_description-1mk2i5l’,videoDurationDivId: ‘js-video_duration-1mk2i5l’,videoTitleDivId: ‘js-leaf-video_headline-1mk2i5l’,videoSourceDivId: ‘js-video_sourceName-1mk2i5l’});if (sy88pgw.Utils.exists(videocardContents.showName)) {if (sy88pgw.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(‘

Dave Chappelle reveals what he'd do as president

Related Posts

About The Author

Add Comment