Trump’s historic unpopularity may not be a deal breaker

‘);$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/09/10/trump-approval-rating-2020-election-harry-enten-orig-vf.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/200911141253-trump-approval-rating-video-thumb-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200911141253-trump-approval-rating-video-thumb-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200911141253-trump-approval-rating-video-thumb-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200911141253-trump-approval-rating-video-thumb-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200911141253-trump-approval-rating-video-thumb-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200911141253-trump-approval-rating-video-thumb-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200911141253-trump-approval-rating-video-thumb-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Donald Trump won the 2016 election despite being the least liked candidate of all time and as President, he’s never gained popularity with a majority of Americans. So what does that mean for 2020? CNN’s Harry Enten explains”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200911141253-trump-approval-rating-video-thumb-large-169.jpg”,”title”:”Trump’s historic unpopularity may not be a deal breaker in 2020″,”videoCMSUrl”:”/videos/politics/2020/09/10/trump-approval-rating-2020-election-harry-enten-orig-vf.cnn”,”videoLeafUrl”:”/videos/politics/2020/09/10/trump-approval-rating-2020-election-harry-enten-orig-vf.cnn”,”videoId”:”politics/2020/09/10/trump-approval-rating-2020-election-harry-enten-orig-vf.cnn”,”videoUrl”:”/videos/politics/2020/09/10/trump-approval-rating-2020-election-harry-enten-orig-vf.cnn”,”surrogateKey”:”video_510557B1-F23B-D043-3476-7899C0EBD2C2″},{“descriptionPlainText”:”SpaceX launched its Falcon 9 rocket into polar orbit from the East Coast for the first time. Soaring at speeds of over 3,700 mph, the camera strapped to the side of the rocket gives an impressive perspective.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200911130625-spacex-polar-orbit-rocket-perspective-08302020-large-169.jpg”,”title”:”SpaceX strapped a camera to a Falcon 9 rocket. Watch what happened”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/09/11/spacex-falcon-9-polar-orbit-launch-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2020/09/11/spacex-falcon-9-polar-orbit-launch-orig.cnn-business”,”videoId”:”business/2020/09/11/spacex-falcon-9-polar-orbit-launch-orig.cnn-business”,”videoUrl”:”/videos/business/2020/09/11/spacex-falcon-9-polar-orbit-launch-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_84CB0D67-CCA2-562C-92AD-7E18D8434D57″},{“descriptionPlainText”:”The MC20 is Maserati’s first supercar in 15 years. It’s also the first with the Italian automaker’s new “Neptune” engine, which can launch the MC20 from 0 to 60 in under 3 seconds.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200908134553-01-maserati-mc20-large-169.jpg”,”title”:”See Maserati’s first supercar in over a decade”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/09/08/maserati-mc20-sportscar-auto-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2020/09/08/maserati-mc20-sportscar-auto-orig.cnn-business”,”videoId”:”business/2020/09/08/maserati-mc20-sportscar-auto-orig.cnn-business”,”videoUrl”:”/videos/business/2020/09/08/maserati-mc20-sportscar-auto-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_129EB024-34BF-56D7-992D-6ED69FEE20F7″},{“descriptionPlainText”:”Director Denis Villeneuve’s new film is based on Frank Herbert’s 1965 science fiction novel “Dune” and features a star-studded cast.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200909200839-dune-large-169.jpeg”,”title”:”The highly anticipated movie trailer for ‘Dune’ is out”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/09/10/watch-dune-trailer-gr-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/09/10/watch-dune-trailer-gr-orig.cnn”,”videoId”:”business/2020/09/10/watch-dune-trailer-gr-orig.cnn”,”videoUrl”:”/videos/business/2020/09/10/watch-dune-trailer-gr-orig.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_E7E86942-1002-E23E-2558-75FAA8802D68″},{“descriptionPlainText”:”Lucid Motors, led by ex-Tesla engineer Peter Rawlinson, has revealed its first lineup. The Lucid Air models are luxury sedans ranging in price from $80,000 to more than $169,000.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200909160141-lucid-air-dream-edition-large-169.jpg”,”title”:”This new electric car has over 1,000 horsepower”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/09/09/lucid-air-reveal-electric-vehicle-tesla-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2020/09/09/lucid-air-reveal-electric-vehicle-tesla-orig.cnn-business”,”videoId”:”business/2020/09/09/lucid-air-reveal-electric-vehicle-tesla-orig.cnn-business”,”videoUrl”:”/videos/business/2020/09/09/lucid-air-reveal-electric-vehicle-tesla-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_D168797C-1656-AC75-2CBE-747804CBA4EB”},{“descriptionPlainText”:”Robot dogs, or Vision 60 UGVs as their manufacturer Ghost Robotics calls them, joined the US Air Force in a recent military exercise.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200909113144-us-air-force-robot-dog-03-large-169.jpg”,”title”:”Robot dogs join US Air Force exercise”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/09/09/robot-dogs-join-us-military-exercise-lon-orig-na.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2020/09/09/robot-dogs-join-us-military-exercise-lon-orig-na.cnn-business”,”videoId”:”business/2020/09/09/robot-dogs-join-us-military-exercise-lon-orig-na.cnn-business”,”videoUrl”:”/videos/business/2020/09/09/robot-dogs-join-us-military-exercise-lon-orig-na.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_5FDE3EE1-2377-6D68-4228-737C0AE495C4″},{“descriptionPlainText”:”CNN’s Cristina Alesci reports on a Wall Street analyst’s research note sent to clients citing a series of tweets by an ophthalmologist whose claim is not supported by credible scientific research.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200901152501-wall-street-0831-large-169.jpg”,”title”:”Coronavirus misinformation is winding up in Wall Street research”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/09/09/coronavirus-misinformation-wall-street-research.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2020/09/09/coronavirus-misinformation-wall-street-research.cnnbusiness”,”videoId”:”business/2020/09/09/coronavirus-misinformation-wall-street-research.cnnbusiness”,”videoUrl”:”/videos/business/2020/09/09/coronavirus-misinformation-wall-street-research.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_B476B57A-3FC6-642D-5CBC-72B86725E9D3″},{“descriptionPlainText”:”Disney has publicly thanked a Chinese government agency accused of human rights abuses in Xinjiang for its help in making “Mulan” — a revelation that has provoked a storm of criticism online. CNN’s Selina Wang reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200831160432-mulan-disney-large-169.jpg”,”title”:”Disney hit by backlash after thanking Xinjiang authorities in ‘Mulan’ credits”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/09/08/disney-mulan-credits-xinjiang.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2020/09/08/disney-mulan-credits-xinjiang.cnnbusiness”,”videoId”:”business/2020/09/08/disney-mulan-credits-xinjiang.cnnbusiness”,”videoUrl”:”/videos/business/2020/09/08/disney-mulan-credits-xinjiang.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_CE3242C7-869C-F7A0-A174-6E02F08CCC07″},{“descriptionPlainText”:”From the O.J. Simpson trial to brand ambassadors, here’s how the Kardashian-Jenner family have maintained their stardom and turned it into a business.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191202154257-kardashian-jenner-family-large-169.jpg”,”title”:”How the Kardashian-Jenner family built their business empire”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/12/02/kardashian-jenner-business-empire-fame-fortune-orig-cz-mc.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/12/02/kardashian-jenner-business-empire-fame-fortune-orig-cz-mc.cnn”,”videoId”:”business/2019/12/02/kardashian-jenner-business-empire-fame-fortune-orig-cz-mc.cnn”,”videoUrl”:”/videos/business/2019/12/02/kardashian-jenner-business-empire-fame-fortune-orig-cz-mc.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_6461DCF7-3026-1AFB-FC0C-C85185E8FD7C”},{“descriptionPlainText”:”In 2016, digital campaigning helped Donald Trump win the presidency. Four years later Joe Biden is trying to catch up. Learn how both presidential campaigns are targeting voters online.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200817192446-20200817-trump-biden-twitter-gfx-large-169.jpg”,”title”:”How Biden’s and Trump’s digital campaigns get in your head”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/09/03/election-2020-joe-biden-donald-trump-digital-ads-jm-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/09/03/election-2020-joe-biden-donald-trump-digital-ads-jm-orig.cnn”,”videoId”:”business/2020/09/03/election-2020-joe-biden-donald-trump-digital-ads-jm-orig.cnn”,”videoUrl”:”/videos/business/2020/09/03/election-2020-joe-biden-donald-trump-digital-ads-jm-orig.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_84D2EB1E-ABEA-56E8-42DC-542C4965D917″},{“descriptionPlainText”:”Armed with satellite imagery, Descartes Labs’ AI-driven platform can detect budding wildfires before they spiral out of control.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191115185435-ai-spots-fires-faster-large-169.jpg”,”title”:”Spotting wildfires is hard. AI could change that”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/12/03/ai-wildfire-detection-descartes-labs-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2019/12/03/ai-wildfire-detection-descartes-labs-orig.cnn-business”,”videoId”:”business/2019/12/03/ai-wildfire-detection-descartes-labs-orig.cnn-business”,”videoUrl”:”/videos/business/2019/12/03/ai-wildfire-detection-descartes-labs-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_30B4CC03-CC10-E5A4-9659-CD3B05F32ECE”},{“descriptionPlainText”:”In another sign of recovery from the Covid-19 pandemic, cinemas in China are reopening to screen delayed summer Hollywood blockbusters. CNN’s David Culver joins eager fans in a Beijing cinema for the highly anticipated film”Tenet.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200724152735-tenet-movie-still-large-169.jpg”,”title”:”Fans flock to blockbuster ‘Tenet’ as Beijing cinemas reopen”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/09/04/china-cinema-reopen-coronavirus-covid-19-tenet-christopher-nolan-culver-dnt-intl-hnk-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/09/04/china-cinema-reopen-coronavirus-covid-19-tenet-christopher-nolan-culver-dnt-intl-hnk-vpx.cnn”,”videoId”:”business/2020/09/04/china-cinema-reopen-coronavirus-covid-19-tenet-christopher-nolan-culver-dnt-intl-hnk-vpx.cnn”,”videoUrl”:”/videos/business/2020/09/04/china-cinema-reopen-coronavirus-covid-19-tenet-christopher-nolan-culver-dnt-intl-hnk-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_8A741900-7891-2317-A49B-56E16B2F6C40″},{“descriptionPlainText”:”The economy is still down 11.5 million jobs since Covid-19 hit. The unemployment rate fell to 8.4%. CNN’s Christine Romans reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200903150345-restricted-02-august-jobs-report-large-169.jpg”,”title”:”US economy added 1.4 million jobs in August”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/09/04/august-jobs-report.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2020/09/04/august-jobs-report.cnnbusiness”,”videoId”:”business/2020/09/04/august-jobs-report.cnnbusiness”,”videoUrl”:”/videos/business/2020/09/04/august-jobs-report.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_EC70AE71-EA34-B4EF-F03D-5917745611A7″},{“descriptionPlainText”:”Jack Delaney, a 26-year-old aspiring writer, thought he was writing for an online magazine. It turns out he was duped into helping the Russians with a disinformation campaign.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200903213813-jack-delaney-donie-russia-large-169.jpg”,”title”:”This American was tricked into working with a Russian disinformation campaign”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/09/04/american-writer-russian-disinformation-campaign.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2020/09/04/american-writer-russian-disinformation-campaign.cnnbusiness”,”videoId”:”business/2020/09/04/american-writer-russian-disinformation-campaign.cnnbusiness”,”videoUrl”:”/videos/business/2020/09/04/american-writer-russian-disinformation-campaign.cnnbusiness/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_681EC244-DF46-2658-85AD-58A62411703F”},{“descriptionPlainText”:”Super Mario is celebrating its 35th anniversary. Nintendo has released new games but also revived old ones for a nostalgia-filled anniversary celebration.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200903102826-01-super-mario-3d-all-stars-large-169.jpg”,”title”:”Nintendo celebrates Mario’s birthday with new games”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/09/03/nintendo-super-mario-35-anniversary-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2020/09/03/nintendo-super-mario-35-anniversary-orig.cnn-business”,”videoId”:”business/2020/09/03/nintendo-super-mario-35-anniversary-orig.cnn-business”,”videoUrl”:”/videos/business/2020/09/03/nintendo-super-mario-35-anniversary-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_EE13BADC-DE48-C550-2483-54FD39AE6970″},{“descriptionPlainText”:”Apple has released its latest iPhone ad that emphasizes the company’s dedication to privacy through the humorous premise of a world in which people share their private info publicly.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200902221932-apple-iphone-privacy-ad-large-169.jpg”,”title”:”Watch Apple’s commercial where people blurt out their private info”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/09/03/apple-iphone-privacy-ad-eg-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/09/03/apple-iphone-privacy-ad-eg-orig.cnn”,”videoId”:”business/2020/09/03/apple-iphone-privacy-ad-eg-orig.cnn”,”videoUrl”:”/videos/business/2020/09/03/apple-iphone-privacy-ad-eg-orig.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_6FFF7928-B9C0-194E-F128-51B02B5CCB21″}],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/09/10/trump-approval-rating-2020-election-harry-enten-orig-vf.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-32asxy’,videoDescriptionDivId: ‘js-video_description-32asxy’,videoDurationDivId: ‘js-video_duration-32asxy’,videoTitleDivId: ‘js-leaf-video_headline-32asxy’,videoSourceDivId: ‘js-video_sourceName-32asxy’});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