Elderly man dies after being hit by brick in Hong Kong

0
30

‘);$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/15/hong-kong-polytechnic-university-china-protests-riot-police-weapons-intl-ldn-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/191115044715-hong-kong-paula-hancocks-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191115044715-hong-kong-paula-hancocks-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191115044715-hong-kong-paula-hancocks-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191115044715-hong-kong-paula-hancocks-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191115044715-hong-kong-paula-hancocks-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191115044715-hong-kong-paula-hancocks-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/191115044715-hong-kong-paula-hancocks-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”As Hong Kong is gripped by a renewed spate of violent unrest, a 70-year-old man has died from injuries after being struck by a brick while on his lunch break during clashes between protesters and their opponents.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191115044715-hong-kong-paula-hancocks-large-169.jpg”,”title”:”Elderly man dies after being hit by brick in Hong Kong”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/11/15/hong-kong-polytechnic-university-china-protests-riot-police-weapons-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/11/15/hong-kong-polytechnic-university-china-protests-riot-police-weapons-intl-ldn-vpx.cnn”,”videoId”:”world/2019/11/15/hong-kong-polytechnic-university-china-protests-riot-police-weapons-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2019/11/15/hong-kong-polytechnic-university-china-protests-riot-police-weapons-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_1A527349-54C2-86A6-C228-6E55D9355293″},{“descriptionPlainText”:”Just as open impeachment hearings have started in Washington, Russian media is reporting their own thoughts on the story. CNN’s Frederik Pleitgen reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191114174904-russians-impeachment-pleitgen-pkg-large-169.jpg”,”title”:”Russian media is mocking the impeachment inquiry”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/11/14/russians-react-impeachment-inquiry-pleitgen-pkg-lead-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/11/14/russians-react-impeachment-inquiry-pleitgen-pkg-lead-vpx.cnn”,”videoId”:”politics/2019/11/14/russians-react-impeachment-inquiry-pleitgen-pkg-lead-vpx.cnn”,”videoUrl”:”/videos/politics/2019/11/14/russians-react-impeachment-inquiry-pleitgen-pkg-lead-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_B53DBAB4-1463-97E6-EEA0-6DEB72B59B13″},{“descriptionPlainText”:”University students and protesters continue to clash with police at the Chinese University campus in Hong Kong amid rising tensions. Classes have been cancelled and some foreign students, including those from mainland China, are leaving campus. CNN’s Paula Hancock reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191114100009-hong-kong-protests-chinese-university-large-169.jpg”,”title”:”Universities are new battleground in Hong Kong protests”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/11/14/hong-kong-protests-chinese-university-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/11/14/hong-kong-protests-chinese-university-intl-ldn-vpx.cnn”,”videoId”:”world/2019/11/14/hong-kong-protests-chinese-university-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2019/11/14/hong-kong-protests-chinese-university-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_1A527349-54C2-86A6-C228-6E55D9355293″},{“descriptionPlainText”:”Turkish President Recep Tayyip Erdogan was asked by a reporter, during a joint press conference with President Trump, about the letter Trump sent Erdogan urging him not to “be a fool” by invading parts of Syria.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191113174831-trump-erdogan-presser-large-169.jpg”,”title”:”Turkish president defends actions in Syria despite warnings “,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/11/13/erdogan-trump-letter-turkey-invasion-presser-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/11/13/erdogan-trump-letter-turkey-invasion-presser-sot-vpx.cnn”,”videoId”:”politics/2019/11/13/erdogan-trump-letter-turkey-invasion-presser-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2019/11/13/erdogan-trump-letter-turkey-invasion-presser-sot-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_2DBB9736-30A9-2411-60EB-6BF11AC2EC87″},{“descriptionPlainText”:”Top US diplomat to Ukraine Bill Taylor testifies in the first public hearing of the House impeachment investigation into President Donald Trump and Ukraine.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191113135113-31-bill-taylor-house-impeachment-large-169.jpg”,”title”:”Bill Taylor’s full opening remarks at impeachment hearing”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/11/13/bill-taylor-full-opening-remarks-impeachment-hearing-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/11/13/bill-taylor-full-opening-remarks-impeachment-hearing-vpx.cnn”,”videoId”:”politics/2019/11/13/bill-taylor-full-opening-remarks-impeachment-hearing-vpx.cnn”,”videoUrl”:”/videos/politics/2019/11/13/bill-taylor-full-opening-remarks-impeachment-hearing-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_7DAF4CE5-C698-D3EB-53EE-6954CB5E5562″},{“descriptionPlainText”:”Deputy Assistant Secretary of State George Kent testifies in the first public hearing of the House impeachment investigation into President Donald Trump and Ukraine.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191113113635-27-house-impeachment-1113-george-kent-large-169.jpg”,”title”:”George Kent’s full opening remarks at impeachment hearing”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/11/13/george-kent-full-opening-remarks-impeachment-hearing-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/11/13/george-kent-full-opening-remarks-impeachment-hearing-vpx.cnn”,”videoId”:”politics/2019/11/13/george-kent-full-opening-remarks-impeachment-hearing-vpx.cnn”,”videoUrl”:”/videos/politics/2019/11/13/george-kent-full-opening-remarks-impeachment-hearing-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_F5180C71-6875-5DF2-A631-66EEDA3573B3″},{“descriptionPlainText”:”An elderly man has died as local authorities in the Italian lagoon city called for a state of emergency to be imposed.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191113110515-05-venice-flooding-1112-large-169.jpg”,”title”:”Venice hit by worst floods in 50 years”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/11/13/venice-floods-record-fifty-years-lon-orig-mrg.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/11/13/venice-floods-record-fifty-years-lon-orig-mrg.cnn”,”videoId”:”world/2019/11/13/venice-floods-record-fifty-years-lon-orig-mrg.cnn”,”videoUrl”:”/videos/world/2019/11/13/venice-floods-record-fifty-years-lon-orig-mrg.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_6DA9C4B8-35E0-D60D-25C3-665DDBFD97E2″},{“descriptionPlainText”:”Baha Abu Al-Ata, a senior commander of Gaza Strip militant group Islamic Jihad, was among several people killed in Israeli air strikes, according to Palestinian Health Ministry officials.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191112095354-04-israel-gaza-strikes-1112-large-169.jpg”,”title”:”Israel-Gaza tensions rise after IDF kills Islamic Jihad leader”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/11/13/israel-gaza-islamic-jihad-strike-rockets-hamas-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/11/13/israel-gaza-islamic-jihad-strike-rockets-hamas-intl-ldn-vpx.cnn”,”videoId”:”world/2019/11/13/israel-gaza-islamic-jihad-strike-rockets-hamas-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2019/11/13/israel-gaza-islamic-jihad-strike-rockets-hamas-intl-ldn-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_9CA513D7-A756-7AF1-9248-65B1AFBB7724″},{“descriptionPlainText”:”Bolivian senator Jeanine Áñez has declared herself acting president after former President Evo Morales fled to Mexico City. CNN en Español’s Gustavo Valdés reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191112210154-pba-jeanine-hecho-del-dia-large-169.jpg”,”title”:”Senator declares herself acting president of Bolivia”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/11/13/bolivia-jeanine-anez-acting-president-cnni-valdes-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/11/13/bolivia-jeanine-anez-acting-president-cnni-valdes-sot-vpx.cnn”,”videoId”:”world/2019/11/13/bolivia-jeanine-anez-acting-president-cnni-valdes-sot-vpx.cnn”,”videoUrl”:”/videos/world/2019/11/13/bolivia-jeanine-anez-acting-president-cnni-valdes-sot-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_6BDD316E-369B-EEDB-2707-651175165F1D”},{“descriptionPlainText”:”The family of Harry Dunn, the British teenager who was killed in a motorcycle accident involving a US diplomat’s wife, are pursuing legal claims against the Trump administration.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191111122744-tim-dunn-harry-dunn-father-lawyer-large-169.jpg”,”title”:”Harry Dunn’s father: No immunity to be had in this case”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/11/11/harry-dunn-family-legal-claim-trump-tim-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/11/11/harry-dunn-family-legal-claim-trump-tim-sot-vpx.cnn”,”videoId”:”world/2019/11/11/harry-dunn-family-legal-claim-trump-tim-sot-vpx.cnn”,”videoUrl”:”/videos/world/2019/11/11/harry-dunn-family-legal-claim-trump-tim-sot-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_06D5758F-1A85-B018-15C5-6454BC250F24″},{“descriptionPlainText”:”Bolivian President Evo Morales has resigned amid growing opposition after an international audit found the results of October’s election could not be validated due to “serious irregularities.” CNN’s Rafael Romo has more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191110160913-bolivia-evo-morales-02-large-169.jpg”,”title”:”Bolivian President Evo Morales resigns”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/11/10/bolivia-president-evo-morales-resigns-romo-nr-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/11/10/bolivia-president-evo-morales-resigns-romo-nr-sot-vpx.cnn”,”videoId”:”world/2019/11/10/bolivia-president-evo-morales-resigns-romo-nr-sot-vpx.cnn”,”videoUrl”:”/videos/world/2019/11/10/bolivia-president-evo-morales-resigns-romo-nr-sot-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_85424C05-F8C4-3331-94A2-6303168EECC1″},{“descriptionPlainText”:”A prominent Russian historian and professor is suspected in the death of one of his former students. CNN’s Matthew Chance reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191111152541-01-oleg-sokolov-1111-large-169.jpg”,”title”:”Professor suspected in grisly death of former student”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/11/11/russia-professor-student-death-suspect-chance-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/11/11/russia-professor-student-death-suspect-chance-pkg-vpx.cnn”,”videoId”:”world/2019/11/11/russia-professor-student-death-suspect-chance-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2019/11/11/russia-professor-student-death-suspect-chance-pkg-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_23FBE3D7-8B33-0417-0183-5BD9EDB05E43″},{“descriptionPlainText”:”Militants fired rockets into Israel after the Israeli Defense Force killed a senior Islamic jihad leader in Gaza. CNN’s Oren Liebermann reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191112042921-gaza-rocket-israel-highway-november-12-2019-large-169.jpg”,”title”:”Rockets fired at Israel narrowly miss cars on highway”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/11/12/israel-gaza-rockets-islamic-jihad-leader-killed-liebermann-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/11/12/israel-gaza-rockets-islamic-jihad-leader-killed-liebermann-vpx.cnn”,”videoId”:”world/2019/11/12/israel-gaza-rockets-islamic-jihad-leader-killed-liebermann-vpx.cnn”,”videoUrl”:”/videos/world/2019/11/12/israel-gaza-rockets-islamic-jihad-leader-killed-liebermann-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_34FCF7B2-335A-CF18-DADD-572951340622″},{“descriptionPlainText”:”Members of a Mormon family, who lost nine relatives in a deadly ambush in Mexico, have left the country and say they’ll never go back. David Langford, who lost his wife and two sons, tells ABC leaving the community was one of the hardest decisions.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191111093917-mexico-mormon-massacre-father-speaks-sot-mxp-vpx-00004019-large-169.jpg”,”title”:”Father speaks out after deadly ambush in Mexico”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/11/11/mexico-mormon-massacre-father-speaks-sot-mxp-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/world/2019/11/11/mexico-mormon-massacre-father-speaks-sot-mxp-vpx.hln”,”videoId”:”world/2019/11/11/mexico-mormon-massacre-father-speaks-sot-mxp-vpx.hln”,”videoUrl”:”/videos/world/2019/11/11/mexico-mormon-massacre-father-speaks-sot-mxp-vpx.hln/video/playlists/around-the-world/”,”surrogateKey”:”video_BB7E0EFA-8011-43A6-597F-5C64EB3EAD40″},{“descriptionPlainText”:”Interim Bolivian President Jeanine Anez says former President Evo Morales will not be allowed to seek reelection. Morales resigned and fled to Mexico following protests over disputed election results.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191114161649-18-week-in-photos-1115-large-169.jpg”,”title”:”Former Bolivia president to be barred from election”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/11/15/jeanine-anez-evo-morales-cant-run-in-bolivia-election-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/11/15/jeanine-anez-evo-morales-cant-run-in-bolivia-election-vpx.cnn”,”videoId”:”world/2019/11/15/jeanine-anez-evo-morales-cant-run-in-bolivia-election-vpx.cnn”,”videoUrl”:”/videos/world/2019/11/15/jeanine-anez-evo-morales-cant-run-in-bolivia-election-vpx.cnn/video/playlists/around-the-world/”,”surrogateKey”:”video_4B862763-05D9-1F77-3A11-5EEA0F9F047D”}],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/15/hong-kong-polytechnic-university-china-protests-riot-police-weapons-intl-ldn-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-23bd0au’,videoDescriptionDivId: ‘js-video_description-23bd0au’,videoDurationDivId: ‘js-video_duration-23bd0au’,videoTitleDivId: ‘js-leaf-video_headline-23bd0au’,videoSourceDivId: ‘js-video_sourceName-23bd0au’});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