‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘politics/2015/12/08/lindsey-graham-donald-trump-xenophobic-bigot-interview-newday.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”:{“height”:124,”width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/151208081610-lindsey-graham-donald-trump-xenophobic-bigot-interview-newday-00005811-small-169.jpg”},”xsmall”:{“height”:173,”width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/151208081610-lindsey-graham-donald-trump-xenophobic-bigot-interview-newday-00005811-medium-plus-169.jpg”},”small”:{“height”:259,”width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/151208081610-lindsey-graham-donald-trump-xenophobic-bigot-interview-newday-00005811-large-169.jpg”},”medium”:{“height”:438,”width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/151208081610-lindsey-graham-donald-trump-xenophobic-bigot-interview-newday-00005811-exlarge-169.jpg”},”large”:{“height”:619,”width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/151208081610-lindsey-graham-donald-trump-xenophobic-bigot-interview-newday-00005811-super-169.jpg”},”full16x9″:{“height”:900,”width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/151208081610-lindsey-graham-donald-trump-xenophobic-bigot-interview-newday-00005811-full-169.jpg”},”mini1x1″:{“height”:120,”width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/151208081610-lindsey-graham-donald-trump-xenophobic-bigot-interview-newday-00005811-small-11.jpg”}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Sen. Lindsey Graham had harsh words for fellow Republican presidential candidate Donald Trump on CNN’s New Day.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/151208081610-lindsey-graham-donald-trump-xenophobic-bigot-interview-newday-00005811-large-169.jpg”,”title”:”Graham: Trump is a ‘race-baiting, xenophobic’ bigot”,”videoCMSUrl”:”/video/data/3.0/video/politics/2015/12/08/lindsey-graham-donald-trump-xenophobic-bigot-interview-newday.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2015/12/08/lindsey-graham-donald-trump-xenophobic-bigot-interview-newday.cnn”,”videoId”:”politics/2015/12/08/lindsey-graham-donald-trump-xenophobic-bigot-interview-newday.cnn”,”videoUrl”:”/videos/politics/2015/12/08/lindsey-graham-donald-trump-xenophobic-bigot-interview-newday.cnn/video/playlists/lindsey-graham-2016/”},{“descriptionPlainText”:”Chairman of the Senate Armed Services Committee Sen. John McCain and Republican presidential candidate Sen. Lindsey Graham discuss the U.S. strategy in the fight against ISIS.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/151116072303-john-mccain-lindsey-graham-paris-isis-intv-newday-00021005-large-169.jpg”,”title”:”John McCain: ‘ISIS is not invincible'”,”videoCMSUrl”:”/video/data/3.0/video/world/2015/11/16/john-mccain-lindsey-graham-paris-isis-intv-newday.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2015/11/16/john-mccain-lindsey-graham-paris-isis-intv-newday.cnn”,”videoId”:”world/2015/11/16/john-mccain-lindsey-graham-paris-isis-intv-newday.cnn”,”videoUrl”:”/videos/world/2015/11/16/john-mccain-lindsey-graham-paris-isis-intv-newday.cnn/video/playlists/lindsey-graham-2016/”},{“descriptionPlainText”:”Sen. Lindsey Graham discusses the terror attacks in Paris and how he believes the U.S. should respond with CNN’s Jake Tapper.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/151115095442-senator-lindsey-graham-paris-terror-attacks-tapper-intv-sotu-00005009-large-169.jpg”,”title”:”Sen. Graham: The worst is yet to come with ISIS”,”videoCMSUrl”:”/video/data/3.0/video/politics/2015/11/15/senator-lindsey-graham-paris-terror-attacks-tapper-intv-sotu.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2015/11/15/senator-lindsey-graham-paris-terror-attacks-tapper-intv-sotu.cnn”,”videoId”:”politics/2015/11/15/senator-lindsey-graham-paris-terror-attacks-tapper-intv-sotu.cnn”,”videoUrl”:”/videos/politics/2015/11/15/senator-lindsey-graham-paris-terror-attacks-tapper-intv-sotu.cnn/video/playlists/lindsey-graham-2016/”},{“descriptionPlainText”:”Sen. Lindsey Graham tells CNN’s Dana Bash who he would date, marry or make disappear at CNN’s Politics on Tap event in Boulder, Colorado Tuesday.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/151028080807-lindsey-graham-date-marry-disappear-election-2016-ar-origwx-00000000-large-169.jpg”,”title”:”Who would Lindsey Graham date, marry or make disappear?”,”videoCMSUrl”:”/video/data/3.0/video/politics/2015/10/28/lindsey-graham-date-marry-disappear-election-2016-ar-origwx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2015/10/28/lindsey-graham-date-marry-disappear-election-2016-ar-origwx.cnn”,”videoId”:”politics/2015/10/28/lindsey-graham-date-marry-disappear-election-2016-ar-origwx.cnn”,”videoUrl”:”/videos/politics/2015/10/28/lindsey-graham-date-marry-disappear-election-2016-ar-origwx.cnn/video/playlists/lindsey-graham-2016/”},{“descriptionPlainText”:”The Lindsey Graham show turned up in Simi Valley, California, during tonight’s CNN Republican presidential debate.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/150916214911-senator-lindsey-graham-zingers-gop-debate-mss-orig-00004217-large-169.jpg”,”title”:”Lindsey Graham: Master of the zinger?”,”videoCMSUrl”:”/video/data/3.0/video/politics/2015/09/17/senator-lindsey-graham-zingers-gop-debate-mss-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2015/09/17/senator-lindsey-graham-zingers-gop-debate-mss-orig.cnn”,”videoId”:”politics/2015/09/17/senator-lindsey-graham-zingers-gop-debate-mss-orig.cnn”,”videoUrl”:”/videos/politics/2015/09/17/senator-lindsey-graham-zingers-gop-debate-mss-orig.cnn/video/playlists/lindsey-graham-2016/”},{“descriptionPlainText”:”In years past, candidate stunt videos seemed few and far between. But when you run against Donald Trump, you have to step up your stunt game.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/150722174435-donald-trump-car-wreck-lindsey-graham-intv-tsr-00012018-large-169.jpg”,”title”:”The stunt video arms race”,”videoCMSUrl”:”/video/data/3.0/video/politics/2015/07/22/the-trump-stunt-effect-origwx-al.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2015/07/22/the-trump-stunt-effect-origwx-al.cnn”,”videoId”:”politics/2015/07/22/the-trump-stunt-effect-origwx-al.cnn”,”videoUrl”:”/videos/politics/2015/07/22/the-trump-stunt-effect-origwx-al.cnn/video/playlists/lindsey-graham-2016/”},{“descriptionPlainText”:”He’s an Air Force veteran who was raised above his family’s pool hall and liquor store. Now Republican Senator Lindsey Graham is running for president.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/150601141342-lindsey-graham-2016-large-169.jpg”,”title”:”Who is Lindsey Graham?”,”videoCMSUrl”:”/video/data/3.0/video/politics/2015/06/01/who-is-lindsey-graham-2016-election-presidential-campaign-origwx-bw.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2015/06/01/who-is-lindsey-graham-2016-election-presidential-campaign-origwx-bw.cnn”,”videoId”:”politics/2015/06/01/who-is-lindsey-graham-2016-election-presidential-campaign-origwx-bw.cnn”,”videoUrl”:”/videos/politics/2015/06/01/who-is-lindsey-graham-2016-election-presidential-campaign-origwx-bw.cnn/video/playlists/lindsey-graham-2016/”},{“descriptionPlainText”:”Republican Sen. Lindsey Graham explains to CNN’s Dana Bash why he will not be voting for his party’s presumptive presidential nominee Donald Trump.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/160506154100-01-lindsey-graham-dana-bash-interview-050616-large-169.jpg”,”title”:”Lindsey Graham: Donald Trump has ‘conned’ Republicans”,”videoCMSUrl”:”/video/data/3.0/video/politics/2016/05/06/lindsey-graham-wont-vote-donald-trump-hillary-clinton.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2016/05/06/lindsey-graham-wont-vote-donald-trump-hillary-clinton.cnn”,”videoId”:”politics/2016/05/06/lindsey-graham-wont-vote-donald-trump-hillary-clinton.cnn”,”videoUrl”:”/videos/politics/2016/05/06/lindsey-graham-wont-vote-donald-trump-hillary-clinton.cnn/video/playlists/lindsey-graham-2016/”},{“descriptionPlainText”:”Republican Sen. Lindsey Graham says the 2016 presidential race is a “race to the bottom,” but concedes that there might be a positive to come out of a Donald Trump nomination.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/160506154335-02-lindsey-graham-dana-bash-interview-050616-large-169.jpg”,”title”:”Lindsey Graham: 2016 election ‘a race to the bottom'”,”videoCMSUrl”:”/video/data/3.0/video/politics/2016/05/06/lindsey-graham-race-to-the-bottom-sot-bash.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2016/05/06/lindsey-graham-race-to-the-bottom-sot-bash.cnn”,”videoId”:”politics/2016/05/06/lindsey-graham-race-to-the-bottom-sot-bash.cnn”,”videoUrl”:”/videos/politics/2016/05/06/lindsey-graham-race-to-the-bottom-sot-bash.cnn/video/playlists/lindsey-graham-2016/”},{“descriptionPlainText”:”It’s that strange time again in American politics when, every four years, politicians support candidates they have repeatedly said they can’t stand.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/150317153912-ted-cruz-gallery-10-large-169.jpg”,”title”:”Watch Lindsey Graham go from hating to supporting Ted Cruz”,”videoCMSUrl”:”/video/data/3.0/video/politics/2016/03/17/lindsey-graham-ted-cruz-support-election-2016-ar-origwx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2016/03/17/lindsey-graham-ted-cruz-support-election-2016-ar-origwx.cnn”,”videoId”:”politics/2016/03/17/lindsey-graham-ted-cruz-support-election-2016-ar-origwx.cnn”,”videoUrl”:”/videos/politics/2016/03/17/lindsey-graham-ted-cruz-support-election-2016-ar-origwx.cnn/video/playlists/lindsey-graham-2016/”},{“descriptionPlainText”:”Sen. Lindsey Graham talks to CNN’s Manu Raju about his endorsement of Republican presidential candidate Jeb Bush.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/160131165357-lindsey-graham-oct-31-large-169.jpg”,”title”:”Lindsey Graham: ‘Pro-life’ platform will be a hard sell”,”videoCMSUrl”:”/video/data/3.0/video/politics/2016/02/06/lindsey-graham-jeb-bush-endorsement-sot-nr.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2016/02/06/lindsey-graham-jeb-bush-endorsement-sot-nr.cnn”,”videoId”:”politics/2016/02/06/lindsey-graham-jeb-bush-endorsement-sot-nr.cnn”,”videoUrl”:”/videos/politics/2016/02/06/lindsey-graham-jeb-bush-endorsement-sot-nr.cnn/video/playlists/lindsey-graham-2016/”},{“descriptionPlainText”:”Sen. Lindsey Graham says choosing between Sen. Ted Cruz and Donald Trump as commander-in-chief is like choosing between getting “poisoned or shot.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/160204193222-lindsay-graham-on-the-situation-room-2-04-2016-large-169.jpg”,”title”:”Ted Cruz ‘s foreign policy ‘as wrong as Obama’s’ “,”videoCMSUrl”:”/video/data/3.0/video/politics/2016/02/04/lindsey-graham-ted-cruz-donald-trump-poison-or-getting-shot-sot-tsr.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2016/02/04/lindsey-graham-ted-cruz-donald-trump-poison-or-getting-shot-sot-tsr.cnn”,”videoId”:”politics/2016/02/04/lindsey-graham-ted-cruz-donald-trump-poison-or-getting-shot-sot-tsr.cnn”,”videoUrl”:”/videos/politics/2016/02/04/lindsey-graham-ted-cruz-donald-trump-poison-or-getting-shot-sot-tsr.cnn/video/playlists/lindsey-graham-2016/”},{“descriptionPlainText”:”Former Republican presidential candidate and South Carolina Sen. Lindsey Graham endorsed former Florida Gov. Jeb Bush for president.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/160115103210-lindsey-graham-jeb-bush-endorsement-nr-00000707-large-169.jpg”,”title”:”Lindsey Graham endorses Jeb Bush”,”videoCMSUrl”:”/video/data/3.0/video/politics/2016/01/15/lindsey-graham-jeb-bush-endorsement-nr.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2016/01/15/lindsey-graham-jeb-bush-endorsement-nr.cnn”,”videoId”:”politics/2016/01/15/lindsey-graham-jeb-bush-endorsement-nr.cnn”,”videoUrl”:”/videos/politics/2016/01/15/lindsey-graham-jeb-bush-endorsement-nr.cnn/video/playlists/lindsey-graham-2016/”},{“descriptionPlainText”:”Candidate tells CNN in an exclusive interview that, “I’ve hit a wall.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/151221085139-lindsey-graham-suspends-presidential-campaign-00002120-large-169.jpg”,”title”:”U.S. Sen. Lindsey Graham suspends presidential campaign”,”videoCMSUrl”:”/video/data/3.0/video/politics/2015/12/21/lindsey-graham-suspends-presidential-campaign.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2015/12/21/lindsey-graham-suspends-presidential-campaign.cnn”,”videoId”:”politics/2015/12/21/lindsey-graham-suspends-presidential-campaign.cnn”,”videoUrl”:”/videos/politics/2015/12/21/lindsey-graham-suspends-presidential-campaign.cnn/video/playlists/lindsey-graham-2016/”},{“descriptionPlainText”:”Sen. Lindsey Graham says the U.S. needs to do more to fight ISIS overseas, before they wage deadlier attacks here at home.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/151221112831-lindsey-graham-large-169.jpg”,”title”:”Sen. Graham: West not showing resolve in ISIS fight”,”videoCMSUrl”:”/video/data/3.0/video/tv/2016/01/08/lindsey-graham-on-terrorism-lead-live.cnn/index.xml”,”videoLeafUrl”:”/videos/tv/2016/01/08/lindsey-graham-on-terrorism-lead-live.cnn”,”videoId”:”tv/2016/01/08/lindsey-graham-on-terrorism-lead-live.cnn”,”videoUrl”:”/videos/tv/2016/01/08/lindsey-graham-on-terrorism-lead-live.cnn/video/playlists/lindsey-graham-2016/”},{“descriptionPlainText”:”Republican presidential candidate Sen. Lindsey Graham discusses his party’s “unhealthy” dislike for President Obama.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/151216100726-graham-unhealthy-obama-hatred-newday-00001316-large-169.jpg”,”title”:”Graham calls out GOP’s ‘unhealthy’ dislike of Obama”,”videoCMSUrl”:”/video/data/3.0/video/politics/2015/12/16/graham-unhealthy-obama-hatred-newday.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2015/12/16/graham-unhealthy-obama-hatred-newday.cnn”,”videoId”:”politics/2015/12/16/graham-unhealthy-obama-hatred-newday.cnn”,”videoUrl”:”/videos/politics/2015/12/16/graham-unhealthy-obama-hatred-newday.cnn/video/playlists/lindsey-graham-2016/”},{“descriptionPlainText”:”Senator Lindsey Graham opens up to Kate Bolduan on PostTape about everything from bad jobs to bad dates and who his favorite Bond characters are.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/151214120553-the-posttape-with-lindsey-graham-and-kate-bolduan-00020809-large-169.jpg”,”title”:”Kate Bolduan puts Lindsey Graham in the hot seat”,”videoCMSUrl”:”/video/data/3.0/video/politics/2015/12/14/the-posttape-with-lindsey-graham-and-kate-bolduan.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2015/12/14/the-posttape-with-lindsey-graham-and-kate-bolduan.cnn”,”videoId”:”politics/2015/12/14/the-posttape-with-lindsey-graham-and-kate-bolduan.cnn”,”videoUrl”:”/videos/politics/2015/12/14/the-posttape-with-lindsey-graham-and-kate-bolduan.cnn/video/playlists/lindsey-graham-2016/”},{“descriptionPlainText”:”Speaking at the CNN GOP debate, Senator Lindsey Graham addresses tensions with Russia, the fight against ISIS and former President George W. Bush.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/151215194032-lindsey-graham-cnn-gop-debate-i-miss-george-w-bush-sot-00004616-large-169.jpg”,”title”:”Sen. Lindsey Graham: ‘I miss George W. Bush'”,”videoCMSUrl”:”/video/data/3.0/video/politics/2015/12/15/lindsey-graham-cnn-gop-debate-i-miss-george-w-bush-sot.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2015/12/15/lindsey-graham-cnn-gop-debate-i-miss-george-w-bush-sot.cnn”,”videoId”:”politics/2015/12/15/lindsey-graham-cnn-gop-debate-i-miss-george-w-bush-sot.cnn”,”videoUrl”:”/videos/politics/2015/12/15/lindsey-graham-cnn-gop-debate-i-miss-george-w-bush-sot.cnn/video/playlists/lindsey-graham-2016/”}],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/2015/12/08/lindsey-graham-donald-trump-xenophobic-bigot-interview-newday.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-1ivnclq’,videoDescriptionDivId: ‘js-video_description-1ivnclq’,videoDurationDivId: ‘js-video_duration-1ivnclq’,videoTitleDivId: ‘js-leaf-video_headline-1ivnclq’,videoSourceDivId: ‘js-video_sourceName-1ivnclq’});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(‘

You Might Like
Learn more about RevenueStripe...