Japanese temple becomes home to a robot priest

0

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘travel/2019/08/28/japan-robot-priest-kodaiji-temple-kyoto-android-mindar-kk-lon-orig.cnn’,width: ‘100%’,height: ‘100%’,section: ‘domestic’,profile: ‘expansion’,network: ‘cnn’,markupId: ‘large-media_0’,adsection: ‘cnn.com_specialreports_destinationjapan_videopage’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: {“mini”:{“width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190828163104-japan-robot-priest-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190828163104-japan-robot-priest-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190828163104-japan-robot-priest-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190828163104-japan-robot-priest-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190828163104-japan-robot-priest-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190828163104-japan-robot-priest-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190828163104-japan-robot-priest-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”The Kodaiji Temple in Kyoto unveiled an android Buddha of Compassion who can explain Buddha teaching in plain terms.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190828163104-japan-robot-priest-large-169.jpg”,”title”:”Japanese temple becomes home to a robot priest”,”videoCMSUrl”:”/videos/travel/2019/08/28/japan-robot-priest-kodaiji-temple-kyoto-android-mindar-kk-lon-orig.cnn”,”videoLeafUrl”:”/videos/travel/2019/08/28/japan-robot-priest-kodaiji-temple-kyoto-android-mindar-kk-lon-orig.cnn”,”videoId”:”travel/2019/08/28/japan-robot-priest-kodaiji-temple-kyoto-android-mindar-kk-lon-orig.cnn”,”videoUrl”:”/videos/travel/2019/08/28/japan-robot-priest-kodaiji-temple-kyoto-android-mindar-kk-lon-orig.cnn”,”surrogateKey”:”video_C2F1574F-3CE0-D39A-DBD4-D8D2BE4F422A”},{“descriptionPlainText”:”Saturday’s Rugby World Cup Final has people fervently debating who will win – England or South Africa. Well, have no fear, the animals are here to tell you who will win!”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191101132305-rugby-world-cup-predictions-animals-large-169.jpg”,”title”:”Animals predict the Rugby World Cup final”,”videoCMSUrl”:”/video/data/3.0/video/sports/2019/11/01/animal-rugby-world-cup-predictions-england-south-africa-japan-spt-intl-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2019/11/01/animal-rugby-world-cup-predictions-england-south-africa-japan-spt-intl-lon-orig.cnn”,”videoId”:”sports/2019/11/01/animal-rugby-world-cup-predictions-england-south-africa-japan-spt-intl-lon-orig.cnn”,”videoUrl”:”/videos/sports/2019/11/01/animal-rugby-world-cup-predictions-england-south-africa-japan-spt-intl-lon-orig.cnn/video/playlists/intl-stories-worth-watching/”,”surrogateKey”:”video_7E53F98A-92C0-9BDF-5649-271C3EA5AA9C”},{“descriptionPlainText”:”CNN’s Elizabeth Cohen shares findings from a six-month investigation into bullying and harassment faced by parents, doctors and others who advocate for vaccination on Facebook.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191029122851-aisha-odom-portrait-large-169.jpg”,”title”:”How Facebook responded to reported online bullying”,”videoCMSUrl”:”/video/data/3.0/video/health/2019/11/01/cnn-investigates-facebook-harassment-aisha-odom-cohen-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2019/11/01/cnn-investigates-facebook-harassment-aisha-odom-cohen-newday-vpx.cnn”,”videoId”:”health/2019/11/01/cnn-investigates-facebook-harassment-aisha-odom-cohen-newday-vpx.cnn”,”videoUrl”:”/videos/health/2019/11/01/cnn-investigates-facebook-harassment-aisha-odom-cohen-newday-vpx.cnn/video/playlists/intl-stories-worth-watching/”,”surrogateKey”:”video_767E3BC5-889B-11E6-A610-26CCC542B144″},{“descriptionPlainText”:”President Donald Trump calls for British Prime Minister Boris Johnson and Brexit party leader Nigel Farage to team up ahead of UK’s election.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191101044129-trump-johnson-farage-split-large-169.jpg”,”title”:”Trump calls for UK PM and Brexit party leader to team up”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/11/01/trump-boris-johnson-nigel-farage-uk-election-anna-stewart-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/11/01/trump-boris-johnson-nigel-farage-uk-election-anna-stewart-vpx.cnn”,”videoId”:”world/2019/11/01/trump-boris-johnson-nigel-farage-uk-election-anna-stewart-vpx.cnn”,”videoUrl”:”/videos/world/2019/11/01/trump-boris-johnson-nigel-farage-uk-election-anna-stewart-vpx.cnn/video/playlists/intl-stories-worth-watching/”,”surrogateKey”:”video_2224CC85-1B30-F918-A25C-260510356C33″},{“descriptionPlainText”:”British Prime Minister Boris Johnson honored the outgoing Speaker of the House John Bercow in Parliament. “You have sat up there in your high chair, not just as an umpire, ruthlessly adjudicating on the finer points of Parliamentary procedure with your trademark Tony Montana scowl,” Johnson said.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191030124850-boris-johnson-parliament-october-30-large-169.jpg”,”title”:”UK PM honors outgoing Speaker of the House John Bercow”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/10/30/boris-johnson-pmq-john-bercow-uk-parliament-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/10/30/boris-johnson-pmq-john-bercow-uk-parliament-intl-ldn-vpx.cnn”,”videoId”:”world/2019/10/30/boris-johnson-pmq-john-bercow-uk-parliament-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2019/10/30/boris-johnson-pmq-john-bercow-uk-parliament-intl-ldn-vpx.cnn/video/playlists/intl-stories-worth-watching/”,”surrogateKey”:”video_294B6CFC-973B-1683-7D46-1C9FDE9A80C7″},{“descriptionPlainText”:”On the day that the House of Representatives voted to formalize the impeachment inquiry, House Speaker Nancy Pelosi appeared on “The Late Show with Stephen Colbert.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191101022719-stephen-colbert-nancy-pelosi-impeachment-mh-orig-00003711-large-169.jpg”,”title”:”Nancy Pelosi and Hillary Clinton talk impeachment on late night”,”videoCMSUrl”:”/video/data/3.0/video/media/2019/11/01/stephen-colbert-nancy-pelosi-impeachment-mh-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2019/11/01/stephen-colbert-nancy-pelosi-impeachment-mh-orig.cnn”,”videoId”:”media/2019/11/01/stephen-colbert-nancy-pelosi-impeachment-mh-orig.cnn”,”videoUrl”:”/videos/media/2019/11/01/stephen-colbert-nancy-pelosi-impeachment-mh-orig.cnn/video/playlists/intl-stories-worth-watching/”,”surrogateKey”:”video_86AB3E43-1196-A99B-C77F-2579D58A9C93″},{“descriptionPlainText”:”CNN’s Jake Tapper, in partnership with FactCheck.org, looks at claims made by President Trump after the raid that killed ISIS leader Abu Bakr al-Baghdadi.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191027092840-03-trump-baghdadi-1027-large-169.jpg”,”title”:”Fact-checking Trump’s 9/11 and Iraq claims”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/11/01/trump-9-11-bin-laden-iraq-fact-check-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/11/01/trump-9-11-bin-laden-iraq-fact-check-orig.cnn”,”videoId”:”politics/2019/11/01/trump-9-11-bin-laden-iraq-fact-check-orig.cnn”,”videoUrl”:”/videos/politics/2019/11/01/trump-9-11-bin-laden-iraq-fact-check-orig.cnn/video/playlists/intl-stories-worth-watching/”,”surrogateKey”:”video_17B6AB3B-9B84-43CD-3157-24C8ABC85882″},{“descriptionPlainText”:”After five months of anti-government protests, Hong Kong has fallen into recession for the first time in a decade. CNN’s Kristie Lu Stout reports on the deepening economic pain in the city and meets a business owner forced to shut down her store after sales plunged 90%.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190816150817-hong-kong-sham-shui-po-01-large-169.jpg”,”title”:”Hong Kong falls into recession after a decade”,”videoCMSUrl”:”/video/data/3.0/video/media/2019/10/30/hong-kong-recession-10-years-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/media/2019/10/30/hong-kong-recession-10-years-pkg-vpx.cnn”,”videoId”:”media/2019/10/30/hong-kong-recession-10-years-pkg-vpx.cnn”,”videoUrl”:”/videos/media/2019/10/30/hong-kong-recession-10-years-pkg-vpx.cnn/video/playlists/intl-stories-worth-watching/”,”surrogateKey”:”video_EDD3DAE4-5ED7-BC4D-CD08-1F0E31F68886″},{“descriptionPlainText”:”The UK will hold an early election on December 12, assuming the House of Lords passes the bill backed by lawmakers in the House of Commons on October 29, 2019. CNN’s Max Foster reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191029111857-boris-johnson-jeremony-corbyn-split-1028-large-169.jpg”,”title”:”Why calling a general election is a big gamble for Johnson”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/10/30/brexit-general-election-december-12-boris-johnson-jeremy-corbyn-nd-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/10/30/brexit-general-election-december-12-boris-johnson-jeremy-corbyn-nd-intl-ldn-vpx.cnn”,”videoId”:”world/2019/10/30/brexit-general-election-december-12-boris-johnson-jeremy-corbyn-nd-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2019/10/30/brexit-general-election-december-12-boris-johnson-jeremy-corbyn-nd-intl-ldn-vpx.cnn/video/playlists/intl-stories-worth-watching/”,”surrogateKey”:”video_686B6CDB-10A7-5ECE-C787-1C5C49332FB7″},{“descriptionPlainText”:”President Donald Trump confirmed that ISIS leader Abu Bakr al-Baghdadi was killed in a US military raid in northwest Syria over the weekend.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191027092840-03-trump-baghdadi-1027-large-169.jpg”,”title”:”Trump announces ISIS leader al-Baghdadi is dead”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/10/27/trump-announces-isis-leader-al-baghdadi-killed-syria-sot-sotu-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/10/27/trump-announces-isis-leader-al-baghdadi-killed-syria-sot-sotu-vpx.cnn”,”videoId”:”politics/2019/10/27/trump-announces-isis-leader-al-baghdadi-killed-syria-sot-sotu-vpx.cnn”,”videoUrl”:”/videos/politics/2019/10/27/trump-announces-isis-leader-al-baghdadi-killed-syria-sot-sotu-vpx.cnn/video/playlists/intl-stories-worth-watching/”,”surrogateKey”:”video_C86F0B60-081C-CBA2-DBFE-0D71467424CA”},{“descriptionPlainText”:”Lebanon’s Prime Minister Saad Hariri announced he was resigning, succumbing to the demands of protesters who have staged nationwide demonstrations for nearly two weeks.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191029143819-01-saad-hariri-1029-large-169.jpg”,”title”:”Lebanese Prime Minister Saad Hariri announces resignation”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/10/29/lebanon-saad-hariri-prime-minister-resignation-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/10/29/lebanon-saad-hariri-prime-minister-resignation-intl-ldn-vpx.cnn”,”videoId”:”world/2019/10/29/lebanon-saad-hariri-prime-minister-resignation-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2019/10/29/lebanon-saad-hariri-prime-minister-resignation-intl-ldn-vpx.cnn/video/playlists/intl-stories-worth-watching/”,”surrogateKey”:”video_24AB584B-1129-8E27-6F59-17D5F41F9DD8″},{“descriptionPlainText”:”Former Director of National Intelligence James Clapper gives his take on President Donald Trump’s comparison of the US military raid that took down ISIS leader Abu Bakr al-Baghdadi and the raid on al Qaeda leader Osama bin Laden during former President Barack Obama’s administration.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191027100245-01-trump-baghdadi-situation-room-large-169.jpg”,”title”:”Former intel chief compares al-Baghdadi and bin Laden raids”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/10/29/trump-obama-situation-room-photos-clapper-ctn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/10/29/trump-obama-situation-room-photos-clapper-ctn-vpx.cnn”,”videoId”:”politics/2019/10/29/trump-obama-situation-room-photos-clapper-ctn-vpx.cnn”,”videoUrl”:”/videos/politics/2019/10/29/trump-obama-situation-room-photos-clapper-ctn-vpx.cnn/video/playlists/intl-stories-worth-watching/”,”surrogateKey”:”video_A97D6A09-C2AA-C6C3-E775-1561B6B09573″},{“descriptionPlainText”:”The Rugby World Cup has seen rugby fever sweep across Japan as a whole new generation of Japanese rugby fans have been inspired by the incredible exploits of the country’s national team, the Brave Blossoms.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191024155157-rugby-world-cup-japanese-pensioners-large-169.png”,”title”:”Age just a number to rugby playing pensioners”,”videoCMSUrl”:”/video/data/3.0/video/sports/2019/10/24/rugby-world-cup-japanese-pensioners-brave-blossoms-spt-intl.cnn/index.xml”,”videoLeafUrl”:”/videos/sports/2019/10/24/rugby-world-cup-japanese-pensioners-brave-blossoms-spt-intl.cnn”,”videoId”:”sports/2019/10/24/rugby-world-cup-japanese-pensioners-brave-blossoms-spt-intl.cnn”,”videoUrl”:”/videos/sports/2019/10/24/rugby-world-cup-japanese-pensioners-brave-blossoms-spt-intl.cnn/video/playlists/intl-stories-worth-watching/”,”surrogateKey”:”video_5A6434BD-CAFC-9214-F566-FE1840CD9203″},{“descriptionPlainText”:”Guy Snodgrass, author of “Holding The Line” and former staffer for former Secretary of Defense James Mattis, describes a “jarring” first briefing with President Donald Trump.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191028213535-snodgrass-trump-split-ac360-large-169.jpg”,”title”:”Former Mattis staffer describes ‘jarring’ Trump briefing”,”videoCMSUrl”:”/video/data/3.0/video/politics/2019/10/29/former-staffer-for-secretary-mattis-describes-trump-briefing-ac360-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/politics/2019/10/29/former-staffer-for-secretary-mattis-describes-trump-briefing-ac360-sot-vpx.cnn”,”videoId”:”politics/2019/10/29/former-staffer-for-secretary-mattis-describes-trump-briefing-ac360-sot-vpx.cnn”,”videoUrl”:”/videos/politics/2019/10/29/former-staffer-for-secretary-mattis-describes-trump-briefing-ac360-sot-vpx.cnn/video/playlists/intl-stories-worth-watching/”,”surrogateKey”:”video_C5B96C1D-11B0-A5FB-294F-1511D1305336″},{“descriptionPlainText”:”A Vietnamese couple worries that their missing son is one of the bodies found in a shipping container in England. CNN’s Ivan Watson reports why some Vietnamese risk their lives and enormous debt to smuggle themselves to Europe.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191027225248-04-vietnam-trafficking-europe-large-169.jpg”,”title”:”Vietnamese people risk it all for better life in Europe”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/10/29/vietnam-family-smuggle-europe-cnni-ivan-watson-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/10/29/vietnam-family-smuggle-europe-cnni-ivan-watson-pkg-vpx.cnn”,”videoId”:”world/2019/10/29/vietnam-family-smuggle-europe-cnni-ivan-watson-pkg-vpx.cnn”,”videoUrl”:”/videos/world/2019/10/29/vietnam-family-smuggle-europe-cnni-ivan-watson-pkg-vpx.cnn/video/playlists/intl-stories-worth-watching/”,”surrogateKey”:”video_FDA618EC-CB78-3E1B-8857-15CA329674CC”},{“descriptionPlainText”:”CNN correspondents go back to basics to guide you through everything you need to know about the divorce between the EU and the UK.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/191024162945-20192310-brexit-illo-1-gfx-large-169.jpg”,”title”:”Here’s what you need to know about Brexit”,”videoCMSUrl”:”/video/data/3.0/video/world/2019/01/12/brexit-questions-answered-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2019/01/12/brexit-questions-answered-lon-orig.cnn”,”videoId”:”world/2019/01/12/brexit-questions-answered-lon-orig.cnn”,”videoUrl”:”/videos/world/2019/01/12/brexit-questions-answered-lon-orig.cnn/video/playlists/intl-stories-worth-watching/”,”surrogateKey”:”video_0A1E01BE-12C6-1F4E-DB6C-42B521843571″}],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:”travel/2019/08/28/japan-robot-priest-kodaiji-temple-kyoto-android-mindar-kk-lon-orig.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-d7vzcb’,videoDescriptionDivId: ‘js-video_description-d7vzcb’,videoDurationDivId: ‘js-video_duration-d7vzcb’,videoTitleDivId: ‘js-leaf-video_headline-d7vzcb’,videoSourceDivId: ‘js-video_sourceName-d7vzcb’});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(‘

2019-11-07 14:54:14

Read more from source here…

LEAVE A REPLY

Please enter your comment!
Please enter your name here