Officer appears to draw weapon after protesters beat him

0
7

‘);$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/08/13/hong-kong-riot-police-draws-gun-on-protesters-hancocks-nr-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/190813151414-hong-kong-police-officer-attacked-protesters-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190813151414-hong-kong-police-officer-attacked-protesters-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190813151414-hong-kong-police-officer-attacked-protesters-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190813151414-hong-kong-police-officer-attacked-protesters-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190813151414-hong-kong-police-officer-attacked-protesters-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190813151414-hong-kong-police-officer-attacked-protesters-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190813151414-hong-kong-police-officer-attacked-protesters-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Video taken by the Wall Street Journal’s Mike Bird appears to show an officer pull a weapon on protesters who were assaulting him during demonstrations at Hong Kong’s international airport.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190813151414-hong-kong-police-officer-attacked-protesters-large-169.jpg”,”title”:”Officer appears to draw weapon after protesters beat him”,”videoCMSUrl”:”/videos/world/2019/08/13/hong-kong-riot-police-draws-gun-on-protesters-hancocks-nr-vpx.cnn”,”videoLeafUrl”:”/videos/world/2019/08/13/hong-kong-riot-police-draws-gun-on-protesters-hancocks-nr-vpx.cnn”,”videoId”:”world/2019/08/13/hong-kong-riot-police-draws-gun-on-protesters-hancocks-nr-vpx.cnn”,”videoUrl”:”/videos/world/2019/08/13/hong-kong-riot-police-draws-gun-on-protesters-hancocks-nr-vpx.cnn”},{“descriptionPlainText”:”CNN’s Cristina Alesci explains why the Dow took a massive drop amid warning signs of a looming recession.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190814093251-stock-market-nyse-0813-large-169.jpg”,”title”:”CNN reporter on Wall Street: It was a bloodbath”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/08/14/wall-street-dow-tumbles-recession-indicator-alesci-sot-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/08/14/wall-street-dow-tumbles-recession-indicator-alesci-sot-lead-vpx.cnn”,”videoId”:”business/2019/08/14/wall-street-dow-tumbles-recession-indicator-alesci-sot-lead-vpx.cnn”,”videoUrl”:”/videos/business/2019/08/14/wall-street-dow-tumbles-recession-indicator-alesci-sot-lead-vpx.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Stephen Colbert took aim at comments made by Trump immigration official Ken Cuccinelli about the Statue of Liberty’s famous poem.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190814074453-colbert-08132019-large-169.jpg”,”title”:”Colbert mocks Cuccinelli’s Statue of Liberty comments”,”videoCMSUrl”:”/video/data/3.0/video/media/2019/08/14/late-night-laughs-colbert-immigration-cuccinelli-trump-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2019/08/14/late-night-laughs-colbert-immigration-cuccinelli-trump-newday-vpx.cnn”,”videoId”:”media/2019/08/14/late-night-laughs-colbert-immigration-cuccinelli-trump-newday-vpx.cnn”,”videoUrl”:”/videos/media/2019/08/14/late-night-laughs-colbert-immigration-cuccinelli-trump-newday-vpx.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”A team of engineers in Germany have collapsed the 80-meter concrete cooling tower of a nuclear power plant without using a single explosive. They used robots instead”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190812102402-mulheim-karlich-split-large-169.jpg”,”title”:”This is how you demolish a nuclear power plant in Germany”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/08/14/germany-nuclear-power-plant-demolition-lon-orig-ejk-ge.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/08/14/germany-nuclear-power-plant-demolition-lon-orig-ejk-ge.cnn”,”videoId”:”business/2019/08/14/germany-nuclear-power-plant-demolition-lon-orig-ejk-ge.cnn”,”videoUrl”:”/videos/business/2019/08/14/germany-nuclear-power-plant-demolition-lon-orig-ejk-ge.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Sam’s Club is opening a store in Texas with no cashiers. HLN’s Jennifter Westhoven has more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181029072851-02-sams-club-store-large-169.jpg”,”title”:”Sam’s Club opening cashierless and cashless store”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/08/14/sams-club-cashierless-cashless-store-mxp-vpx-meade-westhoven.hln/index.xml”,”videoLeafUrl”:”/videos/business/2019/08/14/sams-club-cashierless-cashless-store-mxp-vpx-meade-westhoven.hln”,”videoId”:”business/2019/08/14/sams-club-cashierless-cashless-store-mxp-vpx-meade-westhoven.hln”,”videoUrl”:”/videos/business/2019/08/14/sams-club-cashierless-cashless-store-mxp-vpx-meade-westhoven.hln/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Some investors fear a currency war between the U.S. and China is coming, after Beijing allowed the Yuan to fall below a key symbolic level. Julia Chatterley explains why the Yuan is weakening, and how the Trump administration is responding.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190806095213-01-us-china-currency-0806-large-169.jpg”,”title”:”Is a currency war coming?”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/08/06/tariff-yuan-currancy-war-us-dollar-devalue-manipulation-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2019/08/06/tariff-yuan-currancy-war-us-dollar-devalue-manipulation-orig.cnn-business”,”videoId”:”business/2019/08/06/tariff-yuan-currancy-war-us-dollar-devalue-manipulation-orig.cnn-business”,”videoUrl”:”/videos/business/2019/08/06/tariff-yuan-currancy-war-us-dollar-devalue-manipulation-orig.cnn-business/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”The first text was sent in 1992. Now three decades later, text messages can move money around the globe.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190814090929-mobile-payments-1-large-169.jpg”,”title”:”How mobile payments are changing the world”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/08/13/mobile-payments-text-messages.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2019/08/13/mobile-payments-text-messages.cnn-business”,”videoId”:”business/2019/08/13/mobile-payments-text-messages.cnn-business”,”videoUrl”:”/videos/business/2019/08/13/mobile-payments-text-messages.cnn-business/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Late-night hosts took a moment to make light of the various foods 2020 Democratic candidates snacked on at the Iowa State Fair.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190809190644-01-iowa-state-fair-large-169.jpg”,”title”:”Comics roast 2020 candidates’ snacks at Iowa State Fair”,”videoCMSUrl”:”/video/data/3.0/video/media/2019/08/13/late-night-iowa-state-fair-2020-democratic-candidates-emg-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2019/08/13/late-night-iowa-state-fair-2020-democratic-candidates-emg-orig.cnn”,”videoId”:”media/2019/08/13/late-night-iowa-state-fair-2020-democratic-candidates-emg-orig.cnn”,”videoUrl”:”/videos/media/2019/08/13/late-night-iowa-state-fair-2020-democratic-candidates-emg-orig.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Washington Post executive editor Marty Baron responded to 2020 Presidential candidate Sen. Bernie Sanders’ criticism that the newspaper is biased against him because it is owned by Jeff Bezos. Baron called the criticism a “conspiracy theory.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190811074209-01-finland-health-care-intl-bernie-sanders-large-169.jpg”,”title”:”Washington Post editor responds to Sanders’ criticism”,”videoCMSUrl”:”/video/data/3.0/video/media/2019/08/13/bernie-sanders-bezos-washington-post-response-nr.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2019/08/13/bernie-sanders-bezos-washington-post-response-nr.cnn”,”videoId”:”media/2019/08/13/bernie-sanders-bezos-washington-post-response-nr.cnn”,”videoUrl”:”/videos/media/2019/08/13/bernie-sanders-bezos-washington-post-response-nr.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”All flights departing Hong Kong were canceled due to massive protests at the Hong Kong International Airport. CNN’s Ben Wedeman reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190812201402-hong-kong-airport-protest-0812-07-large-169.jpg”,”title”:”Hong Kong airport cancels all flights as protests continue”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/08/12/hong-kong-protest-airport-wedeman-lkl-first-move.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/08/12/hong-kong-protest-airport-wedeman-lkl-first-move.cnn”,”videoId”:”business/2019/08/12/hong-kong-protest-airport-wedeman-lkl-first-move.cnn”,”videoUrl”:”/videos/business/2019/08/12/hong-kong-protest-airport-wedeman-lkl-first-move.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Air-conditioning powered by huge amounts of energy significantly heats up the planet. CNN’s John Defterios meets Malaysian architects tasked with fighting climate crisis with better design.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190812072249-01-global-energy-challege-malaysia-large-169.jpg”,”title”:”Fighting climate crisis with better design”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/08/12/gec-malaysia-green-architecture-qmb-defterios-pkg.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/08/12/gec-malaysia-green-architecture-qmb-defterios-pkg.cnn”,”videoId”:”business/2019/08/12/gec-malaysia-green-architecture-qmb-defterios-pkg.cnn”,”videoUrl”:”/videos/business/2019/08/12/gec-malaysia-green-architecture-qmb-defterios-pkg.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”The Democratic National Committee wanted to demonstrate the potential threat to the 2020 election posed by deepfake videos, so the committee came up with a novel solution: It had experts make one, with its chair Tom Perez as the victim. CNN’s Donie O’Sullivan reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190809133556-dnc-chairman-tom-perez-large-169.jpg”,”title”:”Dem Party deepfaked own chairman to highlight concerns”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/08/10/defcon-election-security-tom-perez-deepfake-osullivan-sot-ndwknd-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/08/10/defcon-election-security-tom-perez-deepfake-osullivan-sot-ndwknd-vpx.cnn”,”videoId”:”business/2019/08/10/defcon-election-security-tom-perez-deepfake-osullivan-sot-ndwknd-vpx.cnn”,”videoUrl”:”/videos/business/2019/08/10/defcon-election-security-tom-perez-deepfake-osullivan-sot-ndwknd-vpx.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Miami Herald reporter Julie K. Brown’s investigative series sparked the latest round of litigation surrounding Jeffrey Epstein. She reacts to his suicide, saying she was “stunned,” and insists, “we’ve got to keep our focus on the victims and on this particular case, which really has so many avenues that have yet to be investigated.” Brown also reacts to the president’s tweet about Epstein’s suicide that promoted a conspiracy theory saying, “social media is not the place to get your news.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190810090556-jeffrey-epstein-handout-130525-large-169.jpg”,”title”:”Reporter who reopened Epstein investigation demands answers”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/08/11/reporter-who-reopened-epstein-investigation-demands-answers.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/08/11/reporter-who-reopened-epstein-investigation-demands-answers.cnn”,”videoId”:”business/2019/08/11/reporter-who-reopened-epstein-investigation-demands-answers.cnn”,”videoUrl”:”/videos/business/2019/08/11/reporter-who-reopened-epstein-investigation-demands-answers.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Late-night host John Oliver called out President Donald Trump for bragging about crowd size during his visit to an El Paso, Texas, hospital after a deadly mass shooting.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190812142130-john-oliver-trump-el-paso-visit-large-169.jpg”,”title”:”John Oliver blasts Trump over his El Paso visit”,”videoCMSUrl”:”/video/data/3.0/video/media/2019/08/12/john-oliver-trump-el-paso-visit-orig-vstop-bdk.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2019/08/12/john-oliver-trump-el-paso-visit-orig-vstop-bdk.cnn”,”videoId”:”media/2019/08/12/john-oliver-trump-el-paso-visit-orig-vstop-bdk.cnn”,”videoUrl”:”/videos/media/2019/08/12/john-oliver-trump-el-paso-visit-orig-vstop-bdk.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”At the largest convention of hackers in the world, voting machines were turned inside out as hackers demonstrated how easy it could be to disrupt democracy.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190810063707-voting-machine-hack-def-con-2019-large-169.jpg”,”title”:”Watch this hacker break into a voting machine”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/08/10/voting-booth-hack-def-con-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2019/08/10/voting-booth-hack-def-con-orig.cnn-business”,”videoId”:”business/2019/08/10/voting-booth-hack-def-con-orig.cnn-business”,”videoUrl”:”/videos/business/2019/08/10/voting-booth-hack-def-con-orig.cnn-business/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”President Trump is threatening more tariffs on Chinese imports. CNNI’s Julia Chatterley explains why American consumers could bear the brunt of the newest trade war escalation.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190807170323-shoes-china-tariffs-large-169.jpg”,”title”:”Why you’ll feel the latest round of tariffs”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/08/07/trump-tariffs-trade-war-china-iphone-shoes-julia-chatterely-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2019/08/07/trump-tariffs-trade-war-china-iphone-shoes-julia-chatterely-orig.cnn-business”,”videoId”:”business/2019/08/07/trump-tariffs-trade-war-china-iphone-shoes-julia-chatterely-orig.cnn-business”,”videoUrl”:”/videos/business/2019/08/07/trump-tariffs-trade-war-china-iphone-shoes-julia-chatterely-orig.cnn-business/video/playlists/stories-worth-watching/”}],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/08/13/hong-kong-riot-police-draws-gun-on-protesters-hancocks-nr-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-nwis76’,videoDescriptionDivId: ‘js-video_description-nwis76’,videoDurationDivId: ‘js-video_duration-nwis76’,videoTitleDivId: ‘js-leaf-video_headline-nwis76’,videoSourceDivId: ‘js-video_sourceName-nwis76’});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