Has President Trump delivered on any of his 2016 campaign promises?

‘);$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/10/28/trump-campaign-promises-tom-foreman-ebof-pkg-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/201027192717-01b-trump-lansing-1027-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201027192717-01b-trump-lansing-1027-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201027192717-01b-trump-lansing-1027-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201027192717-01b-trump-lansing-1027-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201027192717-01b-trump-lansing-1027-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201027192717-01b-trump-lansing-1027-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201027192717-01b-trump-lansing-1027-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”As President Trump’s first term nears its end, CNN’s Tom Foreman takes a closer look at which 2016 campaign promises he has delivered on.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201027192717-01b-trump-lansing-1027-large-169.jpg”,”title”:”Has Trump delivered on any of his 2016 campaign promises?”,”videoCMSUrl”:”/videos/politics/2020/10/28/trump-campaign-promises-tom-foreman-ebof-pkg-vpx.cnn”,”videoLeafUrl”:”/videos/politics/2020/10/28/trump-campaign-promises-tom-foreman-ebof-pkg-vpx.cnn”,”videoId”:”politics/2020/10/28/trump-campaign-promises-tom-foreman-ebof-pkg-vpx.cnn”,”videoUrl”:”/videos/politics/2020/10/28/trump-campaign-promises-tom-foreman-ebof-pkg-vpx.cnn”,”surrogateKey”:”video_62B9093A-4FE3-3C7E-E9A0-6C86CF8E187C”},{“descriptionPlainText”:”CNN’s Daniel Dale fact-checks claims President Trump made during a rally in Michigan about a range of topics from manufacturing job growth to Joe Biden.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201027154256-daniel-dale-large-169.jpg”,”title”:”Daniel Dale: No evidence award Trump touts is real”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/27/trump-michigan-rally-daniel-dale-manufacturing-jobs-biden-sot-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/27/trump-michigan-rally-daniel-dale-manufacturing-jobs-biden-sot-lead-vpx.cnn”,”videoId”:”politics/2020/10/27/trump-michigan-rally-daniel-dale-manufacturing-jobs-biden-sot-lead-vpx.cnn”,”videoUrl”:”/videos/politics/2020/10/27/trump-michigan-rally-daniel-dale-manufacturing-jobs-biden-sot-lead-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_2DE708EB-B6D0-414B-482F-6B87D9BA906C”},{“descriptionPlainText”:”See which candidate has the largest sum of total campaign contributions, including personal contributions, in the 2020 presidential election.​”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200807071226-trump-biden-split-large-16-9.jpg”,”title”:”Who has raised more money, Biden or Trump? “,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/05/campaign-finance-fundraising-trump-biden-orig-me.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/05/campaign-finance-fundraising-trump-biden-orig-me.cnn”,”videoId”:”politics/2020/10/05/campaign-finance-fundraising-trump-biden-orig-me.cnn”,”videoUrl”:”/videos/politics/2020/10/05/campaign-finance-fundraising-trump-biden-orig-me.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_16C47A82-BC2C-5EB5-D3A4-F94A3A82CB25″},{“descriptionPlainText”:”With just days to go until the 2020 presidential election, President Donald Trump is an underdog to win a second term. This raises an interesting question: What will Trump do next? In his latest video, CNN’s Chris Cillizza explains how Trump will likely embrace television even more and create a right-wing media empire.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201027073232-the-point-trump-tv-large-169.jpg”,”title”:”Trump TV? This may be the President’s next act “,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/27/president-trump-right-wing-tv.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/27/president-trump-right-wing-tv.cnn”,”videoId”:”politics/2020/10/27/president-trump-right-wing-tv.cnn”,”videoUrl”:”/videos/politics/2020/10/27/president-trump-right-wing-tv.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_2C880B52-9A6D-B00B-C320-6A7A541F66AD”},{“descriptionPlainText”:”CNN’s John Avlon fact checks President Donald Trump’s claims on the US economy after Trump said that “this is the greatest economy in our history.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201027071301-avlon-large-169.jpg”,”title”:”Is this the strongest US economy in history? CNN fact checks Trump”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/27/us-economy-trump-reality-check-avlon-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/27/us-economy-trump-reality-check-avlon-newday-vpx.cnn”,”videoId”:”politics/2020/10/27/us-economy-trump-reality-check-avlon-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2020/10/27/us-economy-trump-reality-check-avlon-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_B3E95A19-3CF0-5318-EB27-69A76EEE2CB9″},{“descriptionPlainText”:”Amy Coney Barrett is sworn in as a Supreme Court Justice, and addresses a crowd gathered at the White House.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201026213314-09-wh-barrett-sworn-in-1026-large-169.jpg”,”title”:”See Amy Coney Barrett get sworn in as Supreme Court Justice”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/27/amy-coney-barrett-swearing-in-cpt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/27/amy-coney-barrett-swearing-in-cpt-vpx.cnn”,”videoId”:”politics/2020/10/27/amy-coney-barrett-swearing-in-cpt-vpx.cnn”,”videoUrl”:”/videos/politics/2020/10/27/amy-coney-barrett-swearing-in-cpt-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_890C393D-542D-B1D3-0632-679905F91CC7″},{“descriptionPlainText”:”In an interview on Fox News, senior White House adviser Jared Kushner said while speaking about the Black community that President Trump “can’t want them to be successful more than they want to be successful.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200513172305-jared-kushner-large-169.jpg”,”title”:”Hear Kushner’s comment about Black Americans’ desire for success”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/26/kushner-black-community-fox-news-successful-acosta-tsr-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/26/kushner-black-community-fox-news-successful-acosta-tsr-pkg-vpx.cnn”,”videoId”:”politics/2020/10/26/kushner-black-community-fox-news-successful-acosta-tsr-pkg-vpx.cnn”,”videoUrl”:”/videos/politics/2020/10/26/kushner-black-community-fox-news-successful-acosta-tsr-pkg-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_C82C600C-DE26-278F-8B16-66D9F4DAE9A8″},{“descriptionPlainText”:”Amy Coney Barrett avoided giving her opinion on Roe v. Wade during her confirmation hearing. While judges typically try not to weigh in on controversial legal issues, previous nominees have talked about abortion differently.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201022093649-scotus-nominees-grid-2-large-169.jpg”,”title”:”Barrett’s answers on Roe v. Wade were different from other nominees”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/22/amy-coney-barrett-on-abortion-comparison-orig-vf.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/22/amy-coney-barrett-on-abortion-comparison-orig-vf.cnn”,”videoId”:”politics/2020/10/22/amy-coney-barrett-on-abortion-comparison-orig-vf.cnn”,”videoUrl”:”/videos/politics/2020/10/22/amy-coney-barrett-on-abortion-comparison-orig-vf.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_F3746D9F-4395-DCC2-1FE1-50573D5B636D”},{“descriptionPlainText”:”Ivanka Trump and Jared Kushner are threatening to sue The Lincoln Project over billboards the organization erected in New York City’s Times Square. CNN’s Brianna Keilar and Alexandra Field report.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190307124143-polemica-sobre-credenciales-de-seguridad-vida-privada-trump-ivanka-pkg-ione-molinares-00003520-large-169.jpg”,”title”:”Ivanka Trump, Jared Kushner threaten to sue over billboard”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/10/26/ivanka-trump-jared-kushner-the-lincoln-project-lawsuit-threat-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/10/26/ivanka-trump-jared-kushner-the-lincoln-project-lawsuit-threat-vpx.cnn”,”videoId”:”business/2020/10/26/ivanka-trump-jared-kushner-the-lincoln-project-lawsuit-threat-vpx.cnn”,”videoUrl”:”/videos/business/2020/10/26/ivanka-trump-jared-kushner-the-lincoln-project-lawsuit-threat-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_AD1FEC39-3EDF-96CB-9CD0-66239FB44F43″},{“descriptionPlainText”:”CNN’s John King examines the state of the race eight days out from Election Day with Vice Presidential nominee Joe Biden leading in key battleground states.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201026171550-biden-leads-jk-magic-wall-vpx-large-169.jpg”,”title”:”Road to 270: Biden leading in these battleground states”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/26/john-king-joe-biden-lead-magic-wall-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/26/john-king-joe-biden-lead-magic-wall-vpx.cnn”,”videoId”:”politics/2020/10/26/john-king-joe-biden-lead-magic-wall-vpx.cnn”,”videoUrl”:”/videos/politics/2020/10/26/john-king-joe-biden-lead-magic-wall-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_3ED18090-957B-C4BB-5B44-66AD78F3D346″},{“descriptionPlainText”:”The New Hampshire Union Leader, a conservative-leaning newspaper, has endorsed Democratic nominee Joe Biden for president, despite its century-long history of backing Republicans. In backing Biden, the newspaper endorsed its first Democratic candidate in over 100 years.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201025140131-02-biden-pa-rally-1024-large-169.jpg”,”title”:”Conservative paper endorses Democrat for first time in 100 years”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/26/new-hampshire-union-leader-backs-joe-biden-mcquaid-sot-vpx-intv-nr.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/26/new-hampshire-union-leader-backs-joe-biden-mcquaid-sot-vpx-intv-nr.cnn”,”videoId”:”politics/2020/10/26/new-hampshire-union-leader-backs-joe-biden-mcquaid-sot-vpx-intv-nr.cnn”,”videoUrl”:”/videos/politics/2020/10/26/new-hampshire-union-leader-backs-joe-biden-mcquaid-sot-vpx-intv-nr.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_1CF372F9-7056-1A09-6463-6666C8CF3230″},{“descriptionPlainText”:”Republicans are warning that Democrats would try to expand the Supreme Court if they win big in the 2020 elections. CNN’s John Avlon digs into the recent history of court expansion and how it has become a partisan talking point.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201026083614-avlon1026-large-169.jpg”,”title”:”Avlon: Republicans have been trying to ‘pack courts’ for years”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/26/court-expansion-republicans-amy-coney-barrett-avlon-reality-check-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/26/court-expansion-republicans-amy-coney-barrett-avlon-reality-check-newday-vpx.cnn”,”videoId”:”politics/2020/10/26/court-expansion-republicans-amy-coney-barrett-avlon-reality-check-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2020/10/26/court-expansion-republicans-amy-coney-barrett-avlon-reality-check-newday-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_53EC6B33-C236-03B9-50B8-650CEE636495″},{“descriptionPlainText”:”White House Chief of Staff Mark Meadows defends Vice President Mike Pence continuing on the 2020 campaign trail despite several of his aides testing positive for coronavirus.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201025092344-mark-meadows-sotu-intv-10-25-2020-large-169.jpg”,”title”:”Mark Meadows: We’re not going to control the pandemic”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/25/mark-meadows-coronavirus-pandemic-pence-campaigning-tapper-sotu-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/25/mark-meadows-coronavirus-pandemic-pence-campaigning-tapper-sotu-vpx.cnn”,”videoId”:”politics/2020/10/25/mark-meadows-coronavirus-pandemic-pence-campaigning-tapper-sotu-vpx.cnn”,”videoUrl”:”/videos/politics/2020/10/25/mark-meadows-coronavirus-pandemic-pence-campaigning-tapper-sotu-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_29CE5B6F-250A-0185-AB7D-5F5531DB62D0″},{“descriptionPlainText”:”Democratic vice presidential nominee Sen. Kamala Harris responds to White House Chief of Staff Mark Meadows saying in an interview with CNN that the US is “not going to control” the coronavirus pandemic, as cases surge across the country.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201025105843-kamala-harris-reacts-to-mark-meadows-intv-not-going-to-control-coronavirus-pandemic-sot-vpx-00003714-large-169.jpg”,”title”:”Harris responds to Meadows: White House is admitting defeat”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/25/kamala-harris-reacts-to-mark-meadows-intv-not-going-to-control-coronavirus-pandemic-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/25/kamala-harris-reacts-to-mark-meadows-intv-not-going-to-control-coronavirus-pandemic-sot-vpx.cnn”,”videoId”:”politics/2020/10/25/kamala-harris-reacts-to-mark-meadows-intv-not-going-to-control-coronavirus-pandemic-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2020/10/25/kamala-harris-reacts-to-mark-meadows-intv-not-going-to-control-coronavirus-pandemic-sot-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_2985F555-BD06-4933-081B-6032648F72E8″},{“descriptionPlainText”:”CNN’s John King breaks down the spending and traveling of President Trump and former Vice President Joe Biden in the run-up to Election Day.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201025090203-magic-wall-1025-large-169.jpg”,”title”:”Road to 270: This state could be a ‘game over’ win for Biden”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/25/trump-biden-electoral-map-magic-wall-john-king-ip-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/25/trump-biden-electoral-map-magic-wall-john-king-ip-vpx.cnn”,”videoId”:”politics/2020/10/25/trump-biden-electoral-map-magic-wall-john-king-ip-vpx.cnn”,”videoUrl”:”/videos/politics/2020/10/25/trump-biden-electoral-map-magic-wall-john-king-ip-vpx.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_AC911711-90B5-1BCD-6D83-5FC662328761″},{“descriptionPlainText”:”Americans are voting early at a pace never seen before, with many waiting in hours-long lines to cast their ballot before Election Day.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201014135113-early-voting-virginia-large-169.jpg”,”title”:”Early voters wait hours in line as states see record turnout”,”videoCMSUrl”:”/video/data/3.0/video/politics/2020/10/14/early-voting-lines-orig-jk.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2020/10/14/early-voting-lines-orig-jk.cnn”,”videoId”:”politics/2020/10/14/early-voting-lines-orig-jk.cnn”,”videoUrl”:”/videos/politics/2020/10/14/early-voting-lines-orig-jk.cnn/video/playlists/this-week-in-politics/”,”surrogateKey”:”video_F694CC3D-1892-DB97-AE85-28EA2B9F911F”}],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/10/28/trump-campaign-promises-tom-foreman-ebof-pkg-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-1tguif8’,videoDescriptionDivId: ‘js-video_description-1tguif8’,videoDurationDivId: ‘js-video_duration-1tguif8’,videoTitleDivId: ‘js-leaf-video_headline-1tguif8’,videoSourceDivId: ‘js-video_sourceName-1tguif8’});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