Road to 270: Polls show Trump leading in only 2 battleground states

‘);$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/11/01/trump-biden-election-battleground-states-polls-king-magic-wall-vpx-ip.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/201101083425-king-mw-11-1-202-battleground-states-polls-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201101083425-king-mw-11-1-202-battleground-states-polls-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201101083425-king-mw-11-1-202-battleground-states-polls-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201101083425-king-mw-11-1-202-battleground-states-polls-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201101083425-king-mw-11-1-202-battleground-states-polls-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201101083425-king-mw-11-1-202-battleground-states-polls-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/201101083425-king-mw-11-1-202-battleground-states-polls-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”CNN’s John King explains the recent polls from battleground states in the 2020 election which show that former Vice President Biden has a lead over President Trump.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201101083425-king-mw-11-1-202-battleground-states-polls-large-169.jpg”,”title”:”Road to 270: Polls show Trump leading in only 2 battleground states”,”videoCMSUrl”:”/videos/politics/2020/11/01/trump-biden-election-battleground-states-polls-king-magic-wall-vpx-ip.cnn”,”videoLeafUrl”:”/videos/politics/2020/11/01/trump-biden-election-battleground-states-polls-king-magic-wall-vpx-ip.cnn”,”videoId”:”politics/2020/11/01/trump-biden-election-battleground-states-polls-king-magic-wall-vpx-ip.cnn”,”videoUrl”:”/videos/politics/2020/11/01/trump-biden-election-battleground-states-polls-king-magic-wall-vpx-ip.cnn”,”surrogateKey”:”video_8D1F53B2-02F5-8409-1A79-83E58C4B22F3″},{“descriptionPlainText”:”Newlight Technologies has developed an innovative, biodegradable plastic alternative that can capture greenhouse gases and won’t pollute our oceans. It’s called AirCarbon.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201016221034-newlight-mission-ahead-03-large-169.jpg”,”title”:”Could this be the cure to our plastic problem?”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/10/17/plastic-pollution-climate-change-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/10/17/plastic-pollution-climate-change-orig.cnn”,”videoId”:”business/2020/10/17/plastic-pollution-climate-change-orig.cnn”,”videoUrl”:”/videos/business/2020/10/17/plastic-pollution-climate-change-orig.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_8B399BBD-7CC7-2907-A895-34478C833457″},{“descriptionPlainText”:”Dr. Ruth Westheimer answers viewer questions about sex in the age of coronavirus. Watch “Full Circle” every Monday, Tuesday and Friday at 6pm E.T.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201030185239-dr-ruth-acfc-mobapp-large-169.jpg”,”title”:”Dr. Ruth gives sex advice in the age of Covid-19″,”videoCMSUrl”:”/video/data/3.0/video/us/2020/10/30/ruth-westheimer-sex-advice-sot-acfc-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/10/30/ruth-westheimer-sex-advice-sot-acfc-vpx.cnn”,”videoId”:”us/2020/10/30/ruth-westheimer-sex-advice-sot-acfc-vpx.cnn”,”videoUrl”:”/videos/us/2020/10/30/ruth-westheimer-sex-advice-sot-acfc-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_A97344ED-0976-E29F-3FD4-7B9F9DBF7610″},{“descriptionPlainText”:”Jim Carrey’s Joe Biden read a scary story about something that is spooking a lot of Americans: next week’s election.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201101015707-snl-10-31-biden-clinton-large-169.jpg”,”title”:”‘SNL’ features a scary tale for Biden”,”videoCMSUrl”:”/video/data/3.0/video/media/2020/11/01/snl-halloween-biden-carrey-scary-story-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2020/11/01/snl-halloween-biden-carrey-scary-story-orig.cnn”,”videoId”:”media/2020/11/01/snl-halloween-biden-carrey-scary-story-orig.cnn”,”videoUrl”:”/videos/media/2020/11/01/snl-halloween-biden-carrey-scary-story-orig.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_AE9013F9-73F6-D23C-16A5-82910306B2B7″},{“descriptionPlainText”:”CNN’s Anderson Cooper talks to journalist and author Maria Shriver about the joys of being a grandmother and shares how his son changed his life for the better. Watch “Full Circle” every Monday, Tuesday and Friday at 6pm E.T.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201027190119-maria-sot-acfc-for-dt-large-169.jpg”,”title”:”Maria Shriver on being a grandma: A joy to be alive to see that”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/10/27/maria-shriver-on-being-grandma-sot-acfc-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/10/27/maria-shriver-on-being-grandma-sot-acfc-vpx.cnn”,”videoId”:”us/2020/10/27/maria-shriver-on-being-grandma-sot-acfc-vpx.cnn”,”videoUrl”:”/videos/us/2020/10/27/maria-shriver-on-being-grandma-sot-acfc-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_F61ED8A7-B32B-D66E-1862-6C3781BFEFEF”},{“descriptionPlainText”:”Francis Uy is an experienced diver with a very unusual job. He cares for over 30,000 animals in the aquarium of one of the world’s largest malls.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201029084525-dubai-aquarium-global-gateway-spc-intl-00000000-large-169.jpg”,”title”:”Swimming inside the Dubai Aquarium”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/10/26/dubai-aquarium-global-gateway-spc-intl.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/10/26/dubai-aquarium-global-gateway-spc-intl.cnn”,”videoId”:”world/2020/10/26/dubai-aquarium-global-gateway-spc-intl.cnn”,”videoUrl”:”/videos/world/2020/10/26/dubai-aquarium-global-gateway-spc-intl.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_1888641B-46F1-3158-BD80-64334901E3D4″},{“descriptionPlainText”:”Actor Matthew McConaughey shares advice on being a father with new dad Anderson Cooper. Watch “Full Circle” every Monday, Tuesday and Friday at 6pm E.T.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201023162235-matthew-mcconaughey-family-desktop-large-169.jpg”,”title”:”Matthew McConaughey gives Anderson advice on being a dad”,”videoCMSUrl”:”/video/data/3.0/video/media/2020/10/23/matthew-mcconaughey-dad-advice-sot-acfc-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2020/10/23/matthew-mcconaughey-dad-advice-sot-acfc-vpx.cnn”,”videoId”:”media/2020/10/23/matthew-mcconaughey-dad-advice-sot-acfc-vpx.cnn”,”videoUrl”:”/videos/media/2020/10/23/matthew-mcconaughey-dad-advice-sot-acfc-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_4F93F140-8A20-32B9-1057-5714CE75A9CC”},{“descriptionPlainText”:”Hackers are targeting hospitals, health care providers and voter databases in what cybersecurity experts believe to be a massive attack. CNN’s Brianna Keilar speaks with CNN law enforcement analyst Anthony Ferrante about the implications of this happening not only in the middle of a pandemic, but also days before the election.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201029151522-ransomware-attacks-target-hospitals-election-voter-databases-ferrante-nr-vpx-00000102-large-169.jpg”,”title”:”Analyst explains why hospitals are vulnerable to hackers”,”videoCMSUrl”:”/video/data/3.0/video/tech/2020/10/29/ransomware-attacks-target-hospitals-election-voter-databases-ferrante-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/tech/2020/10/29/ransomware-attacks-target-hospitals-election-voter-databases-ferrante-nr-vpx.cnn”,”videoId”:”tech/2020/10/29/ransomware-attacks-target-hospitals-election-voter-databases-ferrante-nr-vpx.cnn”,”videoUrl”:”/videos/tech/2020/10/29/ransomware-attacks-target-hospitals-election-voter-databases-ferrante-nr-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_29A5D0FB-E700-8F53-D3CC-75B8AFD83B3F”},{“descriptionPlainText”:”CNN’s Richard Quest talks to Airbus CEO Guillaume Faury about the company’s plans in this new era of travel.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201028184602-travel-talk-business-traveller-airbus-00023325-large-169.jpg”,”title”:”Airbus CEO on the future of the aviation industry”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/10/28/travel-talk-business-traveller-airbus.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/10/28/travel-talk-business-traveller-airbus.cnn”,”videoId”:”travel/2020/10/28/travel-talk-business-traveller-airbus.cnn”,”videoUrl”:”/videos/travel/2020/10/28/travel-talk-business-traveller-airbus.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_B1FBD368-729D-B8B1-C6A2-6EFD2CEBC0A5″},{“descriptionPlainText”:”Cutting through the noise of social media and figuring out what’s true and false can be tough. These steps can make it easier.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201026093619-how-to-spot-misinformation-screengrab-01-large-169.jpg”,”title”:”Here’s how to spot misinformation online”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/10/26/how-to-spot-misinformation-explainer-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2020/10/26/how-to-spot-misinformation-explainer-orig.cnn-business”,”videoId”:”business/2020/10/26/how-to-spot-misinformation-explainer-orig.cnn-business”,”videoUrl”:”/videos/business/2020/10/26/how-to-spot-misinformation-explainer-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_D98D584D-0DF1-EF03-5E6B-651A1A587FB8″},{“descriptionPlainText”:”Meet the Thermite RS3, the first firefighting robotic vehicle of its kind in the country. It can reach places where humans can’t and made its debut at a fire in Los Angeles”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201021222755-firefighting-robot-still-1-large-169.jpg”,”title”:”Watch the country’s first firefighting robot in action”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/10/22/first-firefighting-robot-in-america-lafd-trnd-no-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2020/10/22/first-firefighting-robot-in-america-lafd-trnd-no-orig.cnn”,”videoId”:”business/2020/10/22/first-firefighting-robot-in-america-lafd-trnd-no-orig.cnn”,”videoUrl”:”/videos/business/2020/10/22/first-firefighting-robot-in-america-lafd-trnd-no-orig.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_00DB987A-D42F-FD63-6275-4DFB5EFE286C”},{“descriptionPlainText”:”Startup Bottomless uses a connected scale to measure customers’ coffee consumption and send automatic refills. Its co-founder explains how the pandemic has affected business.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201022125236-bottomless-06-large-169.jpg”,”title”:”This company makes sure you never run out of coffee”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/10/22/bottomless-coffee-liana-herrera-orig-jg.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2020/10/22/bottomless-coffee-liana-herrera-orig-jg.cnn-business”,”videoId”:”business/2020/10/22/bottomless-coffee-liana-herrera-orig-jg.cnn-business”,”videoUrl”:”/videos/business/2020/10/22/bottomless-coffee-liana-herrera-orig-jg.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_409B637B-3747-4876-4BFB-5100B3D3D348″},{“descriptionPlainText”:”Elton John is getting his very own Barbie doll, and while the doll won’t look like the Rocket Man, it will be styled in his likeness.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201023141059-barbie-elton-john-muneca-mattel-cantante-aniversario-concierto-show-encuentro-cnn-00000000-large-169.jpg”,”title”:”Elton John inspires new look for iconic toy”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/10/23/elton-john-barbie-doll-mxp-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/business/2020/10/23/elton-john-barbie-doll-mxp-vpx.hln”,”videoId”:”business/2020/10/23/elton-john-barbie-doll-mxp-vpx.hln”,”videoUrl”:”/videos/business/2020/10/23/elton-john-barbie-doll-mxp-vpx.hln/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_1196B33C-CD07-A5AF-0D8A-56A7945A12F8″},{“descriptionPlainText”:”A fourth-grader without internet access at home was caught sitting outside his shuttered school doing homework. CNN speaks to him and his mother.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201022155654-01-new-mexico-coronavirus-school-internet-large-169.jpg”,”title”:”This fourth-grader doesn’t have WiFi at home. So he walks to school”,”videoCMSUrl”:”/video/data/3.0/video/business/2020/10/22/fourth-grader-walk-school-wifi-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2020/10/22/fourth-grader-walk-school-wifi-orig.cnn-business”,”videoId”:”business/2020/10/22/fourth-grader-walk-school-wifi-orig.cnn-business”,”videoUrl”:”/videos/business/2020/10/22/fourth-grader-walk-school-wifi-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_D21FE742-114D-3659-A3E3-51DBAFD49CBB”},{“descriptionPlainText”:”SSC North America announced that its Tuatara model has reached an average speed at 316.11 miles per hour during two record-breaking dashes outside Las Vegas.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201020181238-ssc-tuatara-doors-large-169.jpg”,”title”:”Watch this production car break world speed record”,”videoCMSUrl”:”/video/data/3.0/video/cars/2020/10/20/world-record-fastest-car-ssc-tuatara-lon-orig-mrg.cnn/index.xml”,”videoLeafUrl”:”/videos/cars/2020/10/20/world-record-fastest-car-ssc-tuatara-lon-orig-mrg.cnn”,”videoId”:”cars/2020/10/20/world-record-fastest-car-ssc-tuatara-lon-orig-mrg.cnn”,”videoUrl”:”/videos/cars/2020/10/20/world-record-fastest-car-ssc-tuatara-lon-orig-mrg.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_B3D6ABB6-79ED-70FC-5307-46CCF03D5BEB”},{“descriptionPlainText”:”Facebook has hired a network of fact-checkers across America. CNN talks to two who have received threats for simply doing their jobs during the 2020 election cycle.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/201029101517-alan-duke-facebook-fact-checker-large-169.jpg”,”title”:”Fact-checker calls the person who sent him a death threat”,”videoCMSUrl”:”/video/data/3.0/video/tech/2020/10/29/facebook-fact-checkers-threats-gr-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/tech/2020/10/29/facebook-fact-checkers-threats-gr-orig.cnn”,”videoId”:”tech/2020/10/29/facebook-fact-checkers-threats-gr-orig.cnn”,”videoUrl”:”/videos/tech/2020/10/29/facebook-fact-checkers-threats-gr-orig.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_BBF12FA5-55D5-2482-6468-74B1847DBEE8″}],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/11/01/trump-biden-election-battleground-states-polls-king-magic-wall-vpx-ip.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-1mn95nj’,videoDescriptionDivId: ‘js-video_description-1mn95nj’,videoDurationDivId: ‘js-video_duration-1mn95nj’,videoTitleDivId: ‘js-leaf-video_headline-1mn95nj’,videoSourceDivId: ‘js-video_sourceName-1mn95nj’});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