Reality check: Counties can swing elections

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘politics/2018/11/09/reality-check-pivot-counties-john-avlon-newday-vpx.cnn’,width: ‘100%’,height: ‘100%’,section: ‘international’,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/181109075725-john-avlon-11-9-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181109075725-john-avlon-11-9-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181109075725-john-avlon-11-9-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181109075725-john-avlon-11-9-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181109075725-john-avlon-11-9-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181109075725-john-avlon-11-9-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181109075725-john-avlon-11-9-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”CNN’s John Avlon looks at pivot counties and how they can swing elections.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181109075725-john-avlon-11-9-large-169.jpg”,”title”:”Reality check: Counties can swing elections”,”videoCMSUrl”:”/videos/politics/2018/11/09/reality-check-pivot-counties-john-avlon-newday-vpx.cnn”,”videoLeafUrl”:”/videos/politics/2018/11/09/reality-check-pivot-counties-john-avlon-newday-vpx.cnn”,”videoId”:”politics/2018/11/09/reality-check-pivot-counties-john-avlon-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2018/11/09/reality-check-pivot-counties-john-avlon-newday-vpx.cnn”},{“descriptionPlainText”:”CNN’s John Avlon compares the 2018 midterm election projections to past midterm results and trends.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181107071723-john-avlon-11-07-large-169.jpg”,”title”:”How 2018 midterms compare to past elections”,”videoCMSUrl”:”/video/data/3.0/video/politics/2018/11/07/reality-check-midterm-elections-2018-2014-benchmarks-avlon-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2018/11/07/reality-check-midterm-elections-2018-2014-benchmarks-avlon-newday-vpx.cnn”,”videoId”:”politics/2018/11/07/reality-check-midterm-elections-2018-2014-benchmarks-avlon-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2018/11/07/reality-check-midterm-elections-2018-2014-benchmarks-avlon-newday-vpx.cnn/video/playlists/reality-check/”},{“descriptionPlainText”:”CNN’s John Avlon looks at the notable state ballot initiatives Americans voted on in the 2018 midterm elections.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181106170010-georgia-voting-polls-getty-large-169.jpg”,”title”:”Notable state ballot measures of the midterms”,”videoCMSUrl”:”/video/data/3.0/video/politics/2018/11/07/reality-check-midterm-elections-state-ballot-measures-john-avlon-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2018/11/07/reality-check-midterm-elections-state-ballot-measures-john-avlon-newday-vpx.cnn”,”videoId”:”politics/2018/11/07/reality-check-midterm-elections-state-ballot-measures-john-avlon-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2018/11/07/reality-check-midterm-elections-state-ballot-measures-john-avlon-newday-vpx.cnn/video/playlists/reality-check/”},{“descriptionPlainText”:”CNN’s John Avlon says the past two midterm elections show that the balance of power could lie in the hands of independent voters.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181105084103-avlon-reality-check-11-5-large-169.jpg”,”title”:”Reality check: Midterms hinge on these voters”,”videoCMSUrl”:”/video/data/3.0/video/politics/2018/11/05/reality-check-midterms-independent-voters-john-avlon-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2018/11/05/reality-check-midterms-independent-voters-john-avlon-newday-vpx.cnn”,”videoId”:”politics/2018/11/05/reality-check-midterms-independent-voters-john-avlon-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2018/11/05/reality-check-midterms-independent-voters-john-avlon-newday-vpx.cnn/video/playlists/reality-check/”},{“descriptionPlainText”:”Presidents in recent history with an approval rating under 50% lost party seats in Congress. CNN’s final midterm poll found President Trump’s approval rating at 39%.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181105083128-avlon-11-5-rc-large-169.jpg”,”title”:”How presidential approval ratings sway midterms “,”videoCMSUrl”:”/video/data/3.0/video/politics/2018/11/05/cnn-midterm-poll-trump-approval-rating-john-avlon-reality-check-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2018/11/05/cnn-midterm-poll-trump-approval-rating-john-avlon-reality-check-newday-vpx.cnn”,”videoId”:”politics/2018/11/05/cnn-midterm-poll-trump-approval-rating-john-avlon-reality-check-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2018/11/05/cnn-midterm-poll-trump-approval-rating-john-avlon-reality-check-newday-vpx.cnn/video/playlists/reality-check/”},{“descriptionPlainText”:”CNN’s John Avlon breaks down the GOP’s claims that they will protect key parts of Obamacare, despite their efforts to repeal it in recent years.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181105071719-john-avlon-reality-check-healthcare-midterms-newday-vpx-00013113-large-169.jpg”,”title”:”Avlon: The GOP is trying to co-opt Obamacare”,”videoCMSUrl”:”/video/data/3.0/video/politics/2018/11/05/john-avlon-reality-check-healthcare-midterms-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2018/11/05/john-avlon-reality-check-healthcare-midterms-newday-vpx.cnn”,”videoId”:”politics/2018/11/05/john-avlon-reality-check-healthcare-midterms-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2018/11/05/john-avlon-reality-check-healthcare-midterms-newday-vpx.cnn/video/playlists/reality-check/”},{“descriptionPlainText”:”CNN’s John Avlon takes a deep dive into the gubernatorial races around the country, examining how close some candidates are in the polls and who could be making history on election night.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181030084726-governor-races-avlon-reality-check-1-large-169.jpg”,”title”:”The high stakes of the 2018 governor races”,”videoCMSUrl”:”/video/data/3.0/video/politics/2018/10/30/governor-races-midterm-elections-avlon-reality-check-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2018/10/30/governor-races-midterm-elections-avlon-reality-check-newday-vpx.cnn”,”videoId”:”politics/2018/10/30/governor-races-midterm-elections-avlon-reality-check-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2018/10/30/governor-races-midterm-elections-avlon-reality-check-newday-vpx.cnn/video/playlists/reality-check/”},{“descriptionPlainText”:”CNN’s John Avlon explains some of the theories surrounding 88-year-old George Soros after an explosive device was sent to his house in New York.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181024090852-avlon-new-day-10-24-large-169.jpg”,”title”:”Debunking the myths surrounding George Soros”,”videoCMSUrl”:”/video/data/3.0/video/politics/2018/10/24/reality-check-avlon-george-soros-new-day-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2018/10/24/reality-check-avlon-george-soros-new-day-vpx.cnn”,”videoId”:”politics/2018/10/24/reality-check-avlon-george-soros-new-day-vpx.cnn”,”videoUrl”:”/videos/politics/2018/10/24/reality-check-avlon-george-soros-new-day-vpx.cnn/video/playlists/reality-check/”},{“descriptionPlainText”:”CNN’s John Avlon reality checks the Supreme Court’s decision to block a deposition of Commerce Secretary Wilbur Ross in a case challenging the decision to reinstate a citizenship question on the 2020 census.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181023081027-avlon-reality-check-10-23-large-169.jpg”,”title”:”Supreme Court blocks deposition of Wilbur Ross”,”videoCMSUrl”:”/video/data/3.0/video/politics/2018/10/23/reality-check-wilbur-ross-trump-voter-fraud-john-avlon-new-day-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2018/10/23/reality-check-wilbur-ross-trump-voter-fraud-john-avlon-new-day-vpx.cnn”,”videoId”:”politics/2018/10/23/reality-check-wilbur-ross-trump-voter-fraud-john-avlon-new-day-vpx.cnn”,”videoUrl”:”/videos/politics/2018/10/23/reality-check-wilbur-ross-trump-voter-fraud-john-avlon-new-day-vpx.cnn/video/playlists/reality-check/”},{“descriptionPlainText”:”CNN’s John Avlon takes a look at President Trump’s shifting stance on transgender rights, following a New York Times report on the Trump administration’s draft proposal to roll back protections for transgender people.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181022095612-reality-check-avlon-trump-transgender-rights-1-large-169.jpg”,”title”:”Avlon on Trump’s views of transgender people”,”videoCMSUrl”:”/video/data/3.0/video/politics/2018/10/22/reality-check-trump-transgender-rights-avlon-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2018/10/22/reality-check-trump-transgender-rights-avlon-newday-vpx.cnn”,”videoId”:”politics/2018/10/22/reality-check-trump-transgender-rights-avlon-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2018/10/22/reality-check-trump-transgender-rights-avlon-newday-vpx.cnn/video/playlists/reality-check/”},{“descriptionPlainText”:”CNN’s John Avlon looks at the booming economy and deficit, and President Trump’s promise that tax cuts would pay for themselves.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181017082022-reality-check-10-17-1-large-169.jpg”,”title”:”Reality check: Will GOP’s tax cuts pay off?”,”videoCMSUrl”:”/video/data/3.0/video/politics/2018/10/17/reality-check-trump-economy-and-deficit-booming-avlon-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2018/10/17/reality-check-trump-economy-and-deficit-booming-avlon-newday-vpx.cnn”,”videoId”:”politics/2018/10/17/reality-check-trump-economy-and-deficit-booming-avlon-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2018/10/17/reality-check-trump-economy-and-deficit-booming-avlon-newday-vpx.cnn/video/playlists/reality-check/”},{“descriptionPlainText”:”CNN’s John Avlon fact checks President Trump’s questionable arms deal with Saudi Arabia after Trump cited it as a reason to not punish the Saudis over the disappearance of journalist Jamal Khashoggi.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180320211633-02-trump-saudi-arabia-lunch-large-169.jpg”,”title”:”Fact check on Trump military deal with Saudis”,”videoCMSUrl”:”/video/data/3.0/video/politics/2018/10/16/john-avlon-reality-check-trump-saudi-crown-prince-journalist-arms-deal-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2018/10/16/john-avlon-reality-check-trump-saudi-crown-prince-journalist-arms-deal-newday-vpx.cnn”,”videoId”:”politics/2018/10/16/john-avlon-reality-check-trump-saudi-crown-prince-journalist-arms-deal-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2018/10/16/john-avlon-reality-check-trump-saudi-crown-prince-journalist-arms-deal-newday-vpx.cnn/video/playlists/reality-check/”},{“descriptionPlainText”:”It is unclear whether Deputy Attorney General Rod Rosenstein will resign or be fired when he sits down with President Trump, but CNN’s John Avlon explains why whatever does happen could determine who takes his place if he leaves.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180925081902-reality-check-rosenstein-trump-1-large-169.jpg”,”title”:”1 law could determine who replaces Rosenstein”,”videoCMSUrl”:”/video/data/3.0/video/politics/2018/09/25/reality-check-rosenstein-trump-firing-resignation-difference-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2018/09/25/reality-check-rosenstein-trump-firing-resignation-difference-newday-vpx.cnn”,”videoId”:”politics/2018/09/25/reality-check-rosenstein-trump-firing-resignation-difference-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2018/09/25/reality-check-rosenstein-trump-firing-resignation-difference-newday-vpx.cnn/video/playlists/reality-check/”},{“descriptionPlainText”:”A prisoner’s passion for golf illustrations caught the attention of Golf Digest Magazine, which eventually led to his release from prison. CNN’s John Avlon reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180921075619-golf-digest-large-169.jpg”,”title”:”How a golf magazine helped free man from prison”,”videoCMSUrl”:”/video/data/3.0/video/us/2018/09/21/reality-check-avlon-golf-digest-clears-conviction-newday.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2018/09/21/reality-check-avlon-golf-digest-clears-conviction-newday.cnn”,”videoId”:”us/2018/09/21/reality-check-avlon-golf-digest-clears-conviction-newday.cnn”,”videoUrl”:”/videos/us/2018/09/21/reality-check-avlon-golf-digest-clears-conviction-newday.cnn/video/playlists/reality-check/”},{“descriptionPlainText”:”CNN’s John Avlon takes a look at the history of the 25th amendment of the Constitution, after an unnamed senior Trump administration official claimed in a New York Times op-ed that there were whispers within President Trump’s Cabinet to invoke the amendment to remove him from office.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180906082020-john-avlon-25th-amendment-2-large-169.jpg”,”title”:”What the 25th amendment could mean for Trump”,”videoCMSUrl”:”/video/data/3.0/video/politics/2018/09/06/john-avlon-25th-amendment-new-york-times-op-ed-reality-check-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2018/09/06/john-avlon-25th-amendment-new-york-times-op-ed-reality-check-newday-vpx.cnn”,”videoId”:”politics/2018/09/06/john-avlon-25th-amendment-new-york-times-op-ed-reality-check-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2018/09/06/john-avlon-25th-amendment-new-york-times-op-ed-reality-check-newday-vpx.cnn/video/playlists/reality-check/”},{“descriptionPlainText”:”CNN’s John Avlon does a reality check on the “swampiness” of present and past presidential administrations. He notes that President Trump’s administration is on course to equal or surpass Nixon’s dozens of convictions.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/160718155403-donald-trump-richard-nixon-large-169.jpg”,”title”:”Trump administration convictions may surpass Nixon”,”videoCMSUrl”:”/video/data/3.0/video/politics/2018/08/23/john-avlon-reality-check-trump-administration-convictions-nixon-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2018/08/23/john-avlon-reality-check-trump-administration-convictions-nixon-newday-vpx.cnn”,”videoId”:”politics/2018/08/23/john-avlon-reality-check-trump-administration-convictions-nixon-newday-vpx.cnn”,”videoUrl”:”/videos/politics/2018/08/23/john-avlon-reality-check-trump-administration-convictions-nixon-newday-vpx.cnn/video/playlists/reality-check/”}],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/2018/11/09/reality-check-pivot-counties-john-avlon-newday-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-id3hhn’,videoDescriptionDivId: ‘js-video_description-id3hhn’,videoDurationDivId: ‘js-video_duration-id3hhn’,videoTitleDivId: ‘js-leaf-video_headline-id3hhn’,videoSourceDivId: ‘js-video_sourceName-id3hhn’});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(‘

Source link

Facebook Comments