Bus hijacking standoff ends after police shoot suspect

0
13

‘);$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/20/bus-hijacked-brazil-rio-de-janeiro-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/190820073949-bus-hijacked-rio-de-janeiro-bridge-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190820073949-bus-hijacked-rio-de-janeiro-bridge-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190820073949-bus-hijacked-rio-de-janeiro-bridge-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190820073949-bus-hijacked-rio-de-janeiro-bridge-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190820073949-bus-hijacked-rio-de-janeiro-bridge-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190820073949-bus-hijacked-rio-de-janeiro-bridge-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190820073949-bus-hijacked-rio-de-janeiro-bridge-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Police have shot an armed man who was holding an undetermined number of passengers hostage on a bus hijacked on a bridge in Rio de Janeiro ending the standoff.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190820073949-bus-hijacked-rio-de-janeiro-bridge-large-169.jpg”,”title”:”Bus hijacking standoff ends after police shoot suspect”,”videoCMSUrl”:”/videos/world/2019/08/20/bus-hijacked-brazil-rio-de-janeiro-vpx.cnn”,”videoLeafUrl”:”/videos/world/2019/08/20/bus-hijacked-brazil-rio-de-janeiro-vpx.cnn”,”videoId”:”world/2019/08/20/bus-hijacked-brazil-rio-de-janeiro-vpx.cnn”,”videoUrl”:”/videos/world/2019/08/20/bus-hijacked-brazil-rio-de-janeiro-vpx.cnn”},{“descriptionPlainText”:”Four Russia-based nuclear monitoring stations that monitor radioactive particles in the atmosphere have mysteriously gone quiet after an August 8 explosion at a Russian missile testing facility, an explosion that has sparked confusion and concerns about possible increases in radiation levels, according to the Comprehensive Nuclear-Test-Ban Treaty Organization. CNN’s Barbara Starr reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190819161239-russia-nuclear-monitoring-stations-map-large-169.jpg”,”title”:”Russia nuclear monitoring stations go quiet after blast”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/08/19/russia-nuclear-monitoring-stations-quiet-missile-facility-explosion-starr-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/08/19/russia-nuclear-monitoring-stations-quiet-missile-facility-explosion-starr-nr-vpx.cnn”,”videoId”:”world/2019/08/19/russia-nuclear-monitoring-stations-quiet-missile-facility-explosion-starr-nr-vpx.cnn”,”videoUrl”:”/videos/world/2019/08/19/russia-nuclear-monitoring-stations-quiet-missile-facility-explosion-starr-nr-vpx.cnn/video/playlists/around-the-world/”},{“descriptionPlainText”:”After Member of Parliament Ken Okoth died from cancer at the age of 41 last month, Nairobi Governor Mike Sonko publicly detailed an alleged affair between the late MP, who was a friend of his, and a woman who was nominated for Nairobi’s County Assembly. CNN’s Farai Sevenzo reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190813113131-mike-sonko-nairobi-2018-large-169.jpg”,”title”:”Governor reveals lawmaker’s affair at his funeral”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/08/19/nairobi-governor-lawmaker-affair-funeral-sevenzo-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/08/19/nairobi-governor-lawmaker-affair-funeral-sevenzo-vpx.cnn”,”videoId”:”world/2019/08/19/nairobi-governor-lawmaker-affair-funeral-sevenzo-vpx.cnn”,”videoUrl”:”/videos/world/2019/08/19/nairobi-governor-lawmaker-affair-funeral-sevenzo-vpx.cnn/video/playlists/around-the-world/”},{“descriptionPlainText”:”Witnesses said a waiter at a Paris area restaurant was shot and killed by a man who was angry about the length of time he had to wait for his sandwich.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190819091420-paris-waiter-shot-1-large-169.jpg”,”title”:”Waiter killed by customer after sandwich delay”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/08/19/paris-waiter-shot-over-sandwich-orig-vstop-bdk.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/08/19/paris-waiter-shot-over-sandwich-orig-vstop-bdk.cnn”,”videoId”:”world/2019/08/19/paris-waiter-shot-over-sandwich-orig-vstop-bdk.cnn”,”videoUrl”:”/videos/world/2019/08/19/paris-waiter-shot-over-sandwich-orig-vstop-bdk.cnn/video/playlists/around-the-world/”},{“descriptionPlainText”:”A British man has broken a cycling speed record, hurtling down a runway at over 174 miles per hour (280 km/h) on a custom-made bike in what he called the “biggest rush you’ll ever experience.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190819102007-01-neil-campbell-cycle-speed-record-large-169.jpg”,”title”:”See this man ride a bicycle at a record 174 mph”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/08/19/uk-england-neil-campbell-cycling-slipstream-record-ge-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/08/19/uk-england-neil-campbell-cycling-slipstream-record-ge-lon-orig.cnn”,”videoId”:”world/2019/08/19/uk-england-neil-campbell-cycling-slipstream-record-ge-lon-orig.cnn”,”videoUrl”:”/videos/world/2019/08/19/uk-england-neil-campbell-cycling-slipstream-record-ge-lon-orig.cnn/video/playlists/around-the-world/”},{“descriptionPlainText”:”A planned demolition of a power plant’s unused cooling towers at the Didcot power station in the UK briefly disrupted power at 40,000 homes.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190819103759-power-plant-implosion-england-newsource-orig-large-169.jpg”,”title”:”Watch massive implosion of power station towers”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/08/19/power-station-cooling-towers-implosion-oxfordshire-england-newsource-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/08/19/power-station-cooling-towers-implosion-oxfordshire-england-newsource-orig.cnn”,”videoId”:”us/2019/08/19/power-station-cooling-towers-implosion-oxfordshire-england-newsource-orig.cnn”,”videoUrl”:”/videos/us/2019/08/19/power-station-cooling-towers-implosion-oxfordshire-england-newsource-orig.cnn/video/playlists/around-the-world/”},{“descriptionPlainText”:”This year is set to break a record for ice melting in Greenland and NASA has sent one of its largest missions to find out how hotter ocean temperatures are contributing to the attrition of glaciers in the arctic.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190419152043-01-greenland-climate-change-large-169.jpg”,”title”:”NASA joins climate change battle in Greenland”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/08/19/nasa-greenland-climate-battle-pleitgen-pkg.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/08/19/nasa-greenland-climate-battle-pleitgen-pkg.cnn”,”videoId”:”world/2019/08/19/nasa-greenland-climate-battle-pleitgen-pkg.cnn”,”videoUrl”:”/videos/world/2019/08/19/nasa-greenland-climate-battle-pleitgen-pkg.cnn/video/playlists/around-the-world/”},{“descriptionPlainText”:”CNN’s Arwa Damon travels to the Sargasso sea to investigate how plastic pollution is affecting this Atlantic golden rainforest”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190819145004-sargasso-sea-thumb-2-large-169.jpg”,”title”:”‘Extreme’ amount of microplastics discovered in the North Atlantic”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/08/19/sargasso-plastics-arwa-damon-pkg.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/08/19/sargasso-plastics-arwa-damon-pkg.cnn”,”videoId”:”world/2019/08/19/sargasso-plastics-arwa-damon-pkg.cnn”,”videoUrl”:”/videos/world/2019/08/19/sargasso-plastics-arwa-damon-pkg.cnn/video/playlists/around-the-world/”},{“descriptionPlainText”:”An Iranian oil supertanker that was seized by the UK, a move that came amid escalating tension between Tehran and the West, was released Sunday and was moving away from Gibraltar, according to local media and maritime tracking site.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190815144530-01-gibraltar-grace-1-0815-large-169.jpg”,”title”:”Iranian oil tanker at center of a standoff leaves Gibraltar”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/08/19/iranian-tanker-leaves-gibraltar-update-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/08/19/iranian-tanker-leaves-gibraltar-update-vpx.cnn”,”videoId”:”world/2019/08/19/iranian-tanker-leaves-gibraltar-update-vpx.cnn”,”videoUrl”:”/videos/world/2019/08/19/iranian-tanker-leaves-gibraltar-update-vpx.cnn/video/playlists/around-the-world/”},{“descriptionPlainText”:”Despite pouring rain, organizers estimate 1.7 million people attended an anti-government march in Hong Kong. CNN’s Ivan Watson reports”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190818140107-08-hong-kong-protests-0818-large-169.jpeg”,”title”:”Hong Kong’s weekend of peaceful protests”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/08/19/hong-kong-peaceful-weekend-protests-watson-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/08/19/hong-kong-peaceful-weekend-protests-watson-pkg-vpx.cnn”,”videoId”:”world/2019/08/19/hong-kong-peaceful-weekend-protests-watson-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2019/08/19/hong-kong-peaceful-weekend-protests-watson-pkg-vpx.cnn/video/playlists/around-the-world/”},{“descriptionPlainText”:”A devastating slum fire in Dhaka, Bangladesh, destroyed homes of more than 10,000 people. The majority of the slum’s residents are low-paid workers from nearby garment factories.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190818113232-dhaka-slum-fire-1-large-169.jpg”,”title”:”Thousands left homeless after fire ravages slum”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/08/19/dhaka-bangladesh-slum-fire-homeless-newton-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/08/19/dhaka-bangladesh-slum-fire-homeless-newton-pkg-vpx.cnn”,”videoId”:”world/2019/08/19/dhaka-bangladesh-slum-fire-homeless-newton-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2019/08/19/dhaka-bangladesh-slum-fire-homeless-newton-pkg-vpx.cnn/video/playlists/around-the-world/”},{“descriptionPlainText”:”Three people were killed and several injured in clashes between fans of rival soccer clubs in the Honduran capital of Tegucigalpa.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190818180712-soccer-riot-honduras-large-169.jpg”,”title”:”Soccer riot leaves 3 dead, many injured”,”videoCMSUrl”:”/video/data/3.0/video/sports/2019/08/19/honduras-football-fans-deadly-clash-olimpia-motagua-clubs-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2019/08/19/honduras-football-fans-deadly-clash-olimpia-motagua-clubs-vpx.cnn”,”videoId”:”sports/2019/08/19/honduras-football-fans-deadly-clash-olimpia-motagua-clubs-vpx.cnn”,”videoUrl”:”/videos/sports/2019/08/19/honduras-football-fans-deadly-clash-olimpia-motagua-clubs-vpx.cnn/video/playlists/around-the-world/”},{“descriptionPlainText”:”A suicide bomb attack at a wedding in Kabul killed at least 63 people and wounded 182, the Afghan Interior Ministry spokesman said.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190818080129-03-kabul-wedding-blast-0818-large-169.jpg”,”title”:”How a wedding turned to tragedy”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/08/18/kabul-wedding-explosion-anderson-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/08/18/kabul-wedding-explosion-anderson-pkg-vpx.cnn”,”videoId”:”world/2019/08/18/kabul-wedding-explosion-anderson-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2019/08/18/kabul-wedding-explosion-anderson-pkg-vpx.cnn/video/playlists/around-the-world/”},{“descriptionPlainText”:”Migrants aboard a Spanish humanitarian ship attempted to swim to Italy. Crew members swam after them and brought them back to the boat.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190818221629-migrants-attempt-swim-island-italy-lampedusa-pkg-vpx-00011004-large-169.jpg”,”title”:”Migrants jump off rescue boat and try to swim to Italy “,”videoCMSUrl”:”/video/data/3.0/video/world/2019/08/19/migrants-attempt-swim-island-italy-lampedusa-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/08/19/migrants-attempt-swim-island-italy-lampedusa-pkg-vpx.cnn”,”videoId”:”world/2019/08/19/migrants-attempt-swim-island-italy-lampedusa-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2019/08/19/migrants-attempt-swim-island-italy-lampedusa-pkg-vpx.cnn/video/playlists/around-the-world/”},{“descriptionPlainText”:”A suicide bomb attack at a wedding in Kabul killed at least 63 people and wounded 182, the Afghan Interior Ministry spokesman said.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190817192415-04-kabul-wedding-attack-0817-large-169.jpg”,”title”:”Suicide bombing kills dozens at wedding ceremony”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/08/18/afghanistan-kabul-wedding-bombing-hotel-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/08/18/afghanistan-kabul-wedding-bombing-hotel-vpx.cnn”,”videoId”:”world/2019/08/18/afghanistan-kabul-wedding-bombing-hotel-vpx.cnn”,”videoUrl”:”/videos/world/2019/08/18/afghanistan-kabul-wedding-bombing-hotel-vpx.cnn/video/playlists/around-the-world/”},{“descriptionPlainText”:”American Bethany Vierra lives in Saudi Arabia where she was denied custody of her Saudi Arabian daughter Zaina by a judge for fear of exposing the child to Western culture.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190816182300-bethany-vierra-custody-saudi-arabia-lead-large-169.jpg”,”title”:”Saudi judge denies mom custody for being too Western”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/08/16/saudi-arabia-custody-bethany-vierra-nick-watt-pkg-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/08/16/saudi-arabia-custody-bethany-vierra-nick-watt-pkg-lead-vpx.cnn”,”videoId”:”world/2019/08/16/saudi-arabia-custody-bethany-vierra-nick-watt-pkg-lead-vpx.cnn”,”videoUrl”:”/videos/world/2019/08/16/saudi-arabia-custody-bethany-vierra-nick-watt-pkg-lead-vpx.cnn/video/playlists/around-the-world/”}],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/20/bus-hijacked-brazil-rio-de-janeiro-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-11v7r5j’,videoDescriptionDivId: ‘js-video_description-11v7r5j’,videoDurationDivId: ‘js-video_duration-11v7r5j’,videoTitleDivId: ‘js-leaf-video_headline-11v7r5j’,videoSourceDivId: ‘js-video_sourceName-11v7r5j’});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