See mayor sprint away from journalists

0
10

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘world/2019/11/08/chile-mayor-runs-journalist-interview-lon-orig-bks.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/191108165842-chile-mayor-runs-away-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191108165842-chile-mayor-runs-away-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191108165842-chile-mayor-runs-away-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191108165842-chile-mayor-runs-away-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191108165842-chile-mayor-runs-away-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191108165842-chile-mayor-runs-away-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191108165842-chile-mayor-runs-away-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”A Chilean mayor found an original way of avoiding journalists’ questions – by literally running away from reporters.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191108165842-chile-mayor-runs-away-large-169.jpg”,”title”:”See mayor sprint away from journalists”,”videoCMSUrl”:”/videos/world/2019/11/08/chile-mayor-runs-journalist-interview-lon-orig-bks.cnn”,”videoLeafUrl”:”/videos/world/2019/11/08/chile-mayor-runs-journalist-interview-lon-orig-bks.cnn”,”videoId”:”world/2019/11/08/chile-mayor-runs-journalist-interview-lon-orig-bks.cnn”,”videoUrl”:”/videos/world/2019/11/08/chile-mayor-runs-journalist-interview-lon-orig-bks.cnn”,”surrogateKey”:”video_2F8796D9-4840-F0A4-28BB-4BB95FAB1C30″},{“descriptionPlainText”:”Juul Labs will immediately stop online sales of mint Juulpods and will stop accepting orders for them from retailers, Juul Labs’ CEO K.C. Crosthwaite said.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191108072741-juul-mint-flavor-large-169.jpg”,”title”:”Juul stops sales of popular mint flavor”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/11/08/juul-stop-selling-mint-flavor-mxp-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/business/2019/11/08/juul-stop-selling-mint-flavor-mxp-vpx.hln”,”videoId”:”business/2019/11/08/juul-stop-selling-mint-flavor-mxp-vpx.hln”,”videoUrl”:”/videos/business/2019/11/08/juul-stop-selling-mint-flavor-mxp-vpx.hln/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_82A9F525-D7D9-C4BA-FB6A-4AF60627B34C”},{“descriptionPlainText”:”Frank Lloyd Wright’s final residential design, the Norman Lykes House, has sold at auction for $1.67 million.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191107135511-01-frank-lloyd-wright-norman-lykes-house-auction-large-169.jpg”,”title”:”See inside of last home designed by Frank Lloyd Wright”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/11/07/frank-lloyd-wright-auction-trnd-orig-llr.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/11/07/frank-lloyd-wright-auction-trnd-orig-llr.cnn”,”videoId”:”business/2019/11/07/frank-lloyd-wright-auction-trnd-orig-llr.cnn”,”videoUrl”:”/videos/business/2019/11/07/frank-lloyd-wright-auction-trnd-orig-llr.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_DF7B714A-7CD5-0289-E7C8-484DCB57D627″},{“descriptionPlainText”:”Disney+ has arrived to try and reshape the streaming landscape. CNN Business’ Frank Pallotta explains how and what it all could mean for Disney’s other businesses.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191024113312-01-disney-plus–stock-large-169.jpg”,”title”:”Disney is investing big in streaming. Here’s why”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/11/07/disney-streaming-analysis-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2019/11/07/disney-streaming-analysis-orig.cnn-business”,”videoId”:”business/2019/11/07/disney-streaming-analysis-orig.cnn-business”,”videoUrl”:”/videos/business/2019/11/07/disney-streaming-analysis-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_B2738D35-7E85-61AE-9B41-47CBAB5C511D”},{“descriptionPlainText”:”A former host of “The View” sang as Penguin on Fox’s “The Masked Singer.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191107123200-masked-singer-penguin-thumb-1-large-169.jpg”,”title”:”‘The Masked Singer’ reveals celeb behind the penguin mask”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/11/07/masked-singer-penguin-revealed-orig-ll.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/11/07/masked-singer-penguin-revealed-orig-ll.cnn”,”videoId”:”business/2019/11/07/masked-singer-penguin-revealed-orig-ll.cnn”,”videoUrl”:”/videos/business/2019/11/07/masked-singer-penguin-revealed-orig-ll.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_FF03E970-2AC4-1416-16B2-46E75E666D51″},{“descriptionPlainText”:”CNN Business’ Samuel Burke tests out the Microsoft HoloLens 2, an augmented reality headset device. See how it can help certain workers do their jobs.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190224185930-microsoft-hololens-2-large-169.jpg”,”title”:”Hands on with Microsoft’s new augmented reality headset”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/02/27/microsoft-hololens-2-augmented-reality-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2019/02/27/microsoft-hololens-2-augmented-reality-orig.cnn-business”,”videoId”:”business/2019/02/27/microsoft-hololens-2-augmented-reality-orig.cnn-business”,”videoUrl”:”/videos/business/2019/02/27/microsoft-hololens-2-augmented-reality-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_F9EFAC23-C7BD-1EC8-466D-2F53E23CBAC1″},{“descriptionPlainText”:”Stephen Colbert takes shots at Sen. Lindsey Graham’s refusal to read the newly released White House transcripts, while Trevor Noah jokes about Democrats’ victory in Virginia.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191107073159-colbert-mocks-lindsey-graham-large-169.jpg”,”title”:”Colbert mocks Lindsey Graham for refusal to read transcripts”,”videoCMSUrl”:”/video/data/3.0/video/media/2019/11/07/late-night-laughs-election-trump-lindsey-graham-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2019/11/07/late-night-laughs-election-trump-lindsey-graham-newday-vpx.cnn”,”videoId”:”media/2019/11/07/late-night-laughs-election-trump-lindsey-graham-newday-vpx.cnn”,”videoUrl”:”/videos/media/2019/11/07/late-night-laughs-election-trump-lindsey-graham-newday-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_71C76CCA-3486-AE73-C715-45C04F702C90″},{“descriptionPlainText”:”Lisa Jackson, Apple’s vice president of environment, policy and social initiatives, discusses the company’s investment in clean energy.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191107093730-apple-hq-large-169.jpg”,”title”:”Apple exec: Clean energy is part of our innovation “,”videoCMSUrl”:”/video/data/3.0/video/business/2019/11/07/apple-clean-energy-lisa-jackson.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2019/11/07/apple-clean-energy-lisa-jackson.cnn-business”,”videoId”:”business/2019/11/07/apple-clean-energy-lisa-jackson.cnn-business”,”videoUrl”:”/videos/business/2019/11/07/apple-clean-energy-lisa-jackson.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_412A15AD-8B1E-F7BA-B667-4633AEC0E412″},{“descriptionPlainText”:”CVS teamed up with UPS to deliver two prescriptions via drone — the first deliveries of their kind. The companies hope to expand the service in future.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191106133828-ups-cvs-drone-delivery-prescription-large-169.jpg”,”title”:”CVS just delivered its first prescriptions via drone”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/11/06/ups-cvs-drone-delivery-prescription-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2019/11/06/ups-cvs-drone-delivery-prescription-orig.cnn-business”,”videoId”:”business/2019/11/06/ups-cvs-drone-delivery-prescription-orig.cnn-business”,”videoUrl”:”/videos/business/2019/11/06/ups-cvs-drone-delivery-prescription-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_605C1130-0589-753D-8242-4203840342FD”},{“descriptionPlainText”:”Billionaire hedge fund manager Leon Cooperman and JPMorgan Chase CEO Jamie Dimon have criticized presidential hopeful Elizabeth Warren for “vilifying” the rich.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191106132718-leon-cooperman-wealth-tax-cnbc-large-169.jpg”,”title”:”Watch this billionaire get choked up talking about Warren’s wealth tax”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/11/06/warren-wealth-tax-dimon-cooperman-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2019/11/06/warren-wealth-tax-dimon-cooperman-orig.cnn-business”,”videoId”:”business/2019/11/06/warren-wealth-tax-dimon-cooperman-orig.cnn-business”,”videoUrl”:”/videos/business/2019/11/06/warren-wealth-tax-dimon-cooperman-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_8578D728-F7FD-E9BF-5C9E-41E666D1AF3D”},{“descriptionPlainText”:”FaZe Jarvis has been permanently banned from “Fortnite” after the game’s creator, Epic Games, discovered that he had been using a hacking method to cheat in the game.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191105153434-faze-jarvis-banned-from-fortnite-large-169.jpg”,”title”:”This ‘Fortnite’ superstar is banned for life. Here’s why”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/11/05/fortnite-player-faze-jarvis-banned-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2019/11/05/fortnite-player-faze-jarvis-banned-orig.cnn-business”,”videoId”:”business/2019/11/05/fortnite-player-faze-jarvis-banned-orig.cnn-business”,”videoUrl”:”/videos/business/2019/11/05/fortnite-player-faze-jarvis-banned-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_F2485861-0522-6D15-7F5B-3D40604B3E53″},{“descriptionPlainText”:”Minnesota college student Jayson Gonzalez drove hundreds of miles every weekend, bringing home Krispy Kreme donuts to resell. After being briefly shut down, he’s now working directly with the company.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191105165649-donut-run-thumb-1b-large-169.jpg”,”title”:”Meet the student driving 200+ miles for Krispy Kreme”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/11/05/krispy-kreme-minnesota-student-resell-deal-orig-ll.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/11/05/krispy-kreme-minnesota-student-resell-deal-orig-ll.cnn”,”videoId”:”business/2019/11/05/krispy-kreme-minnesota-student-resell-deal-orig-ll.cnn”,”videoUrl”:”/videos/business/2019/11/05/krispy-kreme-minnesota-student-resell-deal-orig-ll.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_627C747E-810F-D141-4D22-3D56F38F2F4E”},{“descriptionPlainText”:”Late-night hosts took aim at US Ambassador to the EU Gordon Sondland’s revised testimony to Congress.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191017092302-02-gordon-sondland-arrival-1017-large-169.jpg”,”title”:”Late-night hosts roast Gordon Sondland’s revised history”,”videoCMSUrl”:”/video/data/3.0/video/media/2019/11/06/late-night-laughs-gordon-sondland-trump-impeachment-orig-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2019/11/06/late-night-laughs-gordon-sondland-trump-impeachment-orig-vpx.cnn”,”videoId”:”media/2019/11/06/late-night-laughs-gordon-sondland-trump-impeachment-orig-vpx.cnn”,”videoUrl”:”/videos/media/2019/11/06/late-night-laughs-gordon-sondland-trump-impeachment-orig-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_3CEC1678-5AEF-04A4-D225-3FBD1D1EE5E5″},{“descriptionPlainText”:”Late-night host Jimmy Kimmel continued his annual “Hey Jimmy Kimmel, I Told My Kids I Ate All Their Halloween Candy” challenge for its ninth installment.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191105104631-jimmy-kimmel-2019-candy-prank-1-large-169.jpg”,”title”:”Jimmy Kimmel ruins Halloween for kids, again”,”videoCMSUrl”:”/video/data/3.0/video/media/2019/11/05/jimmy-kimmel-kids-candy-prank-orig-vstan-bdk.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2019/11/05/jimmy-kimmel-kids-candy-prank-orig-vstan-bdk.cnn”,”videoId”:”media/2019/11/05/jimmy-kimmel-kids-candy-prank-orig-vstan-bdk.cnn”,”videoUrl”:”/videos/media/2019/11/05/jimmy-kimmel-kids-candy-prank-orig-vstan-bdk.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_5BCF2ABE-88CE-AE8D-7DA5-3C93D880F984″},{“descriptionPlainText”:”The Lamborghini Countach was the first modern supercar. CNN Business explains why it was a revolution in design, and how it transformed the company into the ego-centric, elite-only brand we know today.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191104171845-lamborghini-countach-yellow-large-169.jpg”,”title”:”How this Lamborghini became the ultimate 80s dream car”,”videoCMSUrl”:”/video/data/3.0/video/cars/2019/11/04/lamborghini-countach-bertone-gandini-supercar-wedge-design-1980s-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/cars/2019/11/04/lamborghini-countach-bertone-gandini-supercar-wedge-design-1980s-orig.cnn-business”,”videoId”:”cars/2019/11/04/lamborghini-countach-bertone-gandini-supercar-wedge-design-1980s-orig.cnn-business”,”videoUrl”:”/videos/cars/2019/11/04/lamborghini-countach-bertone-gandini-supercar-wedge-design-1980s-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_A72E0E79-1D37-B418-4189-37A98355687C”},{“descriptionPlainText”:”Boeing tested the emergency abort system on its Starliner spacecraft. It’s a critical step before the Starliner goes on an unmanned test into orbit.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191104133153-starliner-boeing-abort-test-nasa-large-169.jpg”,”title”:”Watch Boeing’s Starliner spacecraft complete a critical test”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/11/04/starliner-boeing-nasa-abort-test-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2019/11/04/starliner-boeing-nasa-abort-test-orig.cnn-business”,”videoId”:”business/2019/11/04/starliner-boeing-nasa-abort-test-orig.cnn-business”,”videoUrl”:”/videos/business/2019/11/04/starliner-boeing-nasa-abort-test-orig.cnn-business/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_2DB3DFEB-B960-C36A-04B0-37A8D8186BCA”}],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:”world/2019/11/08/chile-mayor-runs-journalist-interview-lon-orig-bks.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-21syjrf’,videoDescriptionDivId: ‘js-video_description-21syjrf’,videoDurationDivId: ‘js-video_duration-21syjrf’,videoTitleDivId: ‘js-leaf-video_headline-21syjrf’,videoSourceDivId: ‘js-video_sourceName-21syjrf’});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

LEAVE A REPLY