‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘world/2017/11/06/trump-north-korea-abductee-diplomatic-breakthrough-sot.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”:{“height”:124,”width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/171106015854-trump-texas-church-shooting-mental-health-problem-acosta-bpr-00011118-small-169.jpg”},”xsmall”:{“height”:173,”width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/171106015854-trump-texas-church-shooting-mental-health-problem-acosta-bpr-00011118-medium-plus-169.jpg”},”small”:{“height”:259,”width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/171106015854-trump-texas-church-shooting-mental-health-problem-acosta-bpr-00011118-large-169.jpg”},”medium”:{“height”:438,”width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/171106015854-trump-texas-church-shooting-mental-health-problem-acosta-bpr-00011118-exlarge-169.jpg”},”large”:{“height”:619,”width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/171106015854-trump-texas-church-shooting-mental-health-problem-acosta-bpr-00011118-super-169.jpg”},”full16x9″:{“height”:900,”width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/171106015854-trump-texas-church-shooting-mental-health-problem-acosta-bpr-00011118-full-169.jpg”},”mini1x1″:{“height”:120,”width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/171106015854-trump-texas-church-shooting-mental-health-problem-acosta-bpr-00011118-small-11.jpg”}}},autoStartVideo = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”While speaking at a joint press conference in Tokyo, President Donald Trump hinted at the possibility of a diplomatic breakthrough with North Korea if the country were to release a number of Japanese citizens abducted decades ago.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171106015854-trump-texas-church-shooting-mental-health-problem-acosta-bpr-00011118-large-169.jpg”,”title”:”Trump hints diplomacy with North Korea”,”videoCMSUrl”:”/video/data/3.0/video/world/2017/11/06/trump-north-korea-abductee-diplomatic-breakthrough-sot.cnn/index.xml”,”videoId”:”world/2017/11/06/trump-north-korea-abductee-diplomatic-breakthrough-sot.cnn”,”videoUrl”:”/videos/world/2017/11/06/trump-north-korea-abductee-diplomatic-breakthrough-sot.cnn/video/playlists/trump-asia-trip-2017/”},{“descriptionPlainText”:”President Donald Trump will seek to enlist his Russian counterpart Vladimir Putin on a mission to confront an increasingly truculent North Korea during their second face-to-face meeting.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170803091253-02-trump-putin-0707-large-169.jpg”,”title”:”Trump and Putin to meet on Asia trip”,”videoCMSUrl”:”/video/data/3.0/video/politics/2017/11/05/trump-putin-meeting-asia-trip-acosta.cnn/index.xml”,”videoId”:”politics/2017/11/05/trump-putin-meeting-asia-trip-acosta.cnn”,”videoUrl”:”/videos/politics/2017/11/05/trump-putin-meeting-asia-trip-acosta.cnn/video/playlists/trump-asia-trip-2017/”},{“descriptionPlainText”:”President Donald Trump spent the first leg of his marathon trip through Asia in Japan, where he addressed US troops at Yokota Air Base and met with the nation’s Prime Minister Shinzo Abe.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171105055330-trump-shinzo-abe-golf-hats-japan-asia-tour-visit-nr-00011704-large-169.jpg”,”title”:”Shinzo Abe surprises Trump with custom hats”,”videoCMSUrl”:”/video/data/3.0/video/politics/2017/11/05/trump-shinzo-abe-golf-hats-japan-asia-tour-visit-nr.cnn/index.xml”,”videoId”:”politics/2017/11/05/trump-shinzo-abe-golf-hats-japan-asia-tour-visit-nr.cnn”,”videoUrl”:”/videos/politics/2017/11/05/trump-shinzo-abe-golf-hats-japan-asia-tour-visit-nr.cnn/video/playlists/trump-asia-trip-2017/”},{“descriptionPlainText”:”President Donald Trump touched down in Japan ahead of a 13-day trek through Asia and seemed to send a warning to North Korea while addressing US troops.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171105011828-trump-tokyo-asia-trip-shinzo-abe-resolve-sot-00002804-large-169.jpg”,”title”:”Trump: No one should underestimate US resolve”,”videoCMSUrl”:”/video/data/3.0/video/politics/2017/11/05/trump-tokyo-asia-trip-shinzo-abe-resolve-sot.cnn/index.xml”,”videoId”:”politics/2017/11/05/trump-tokyo-asia-trip-shinzo-abe-resolve-sot.cnn”,”videoUrl”:”/videos/politics/2017/11/05/trump-tokyo-asia-trip-shinzo-abe-resolve-sot.cnn/video/playlists/trump-asia-trip-2017/”},{“descriptionPlainText”:”Before departing on a trip to Asia, President Trump made an unannounced stop at the Trump International Hotel Waikiki Beach, a property he licensed his name to and does not own, according to the hotel’s website.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171104134523-trump-unannounced-stop-hawaii-hotel-large-169.jpg”,”title”:”Trump makes unexpected stop before Asia trip”,”videoCMSUrl”:”/video/data/3.0/video/politics/2017/11/04/trump-unannounced-stop-hawaii-hotel-asia-trip.cnn/index.xml”,”videoId”:”politics/2017/11/04/trump-unannounced-stop-hawaii-hotel-asia-trip.cnn”,”videoUrl”:”/videos/politics/2017/11/04/trump-unannounced-stop-hawaii-hotel-asia-trip.cnn/video/playlists/trump-asia-trip-2017/”},{“descriptionPlainText”:”US President Donald Trump is visiting five countries — Japan, China, South Korea, Vietnam and the Philippines — in just nine days. Here are the big issues at stake.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171103111624-trump-in-asia-preview-large-169.jpg”,”title”:”Trump’s whirlwind Asia tour: The big issues”,”videoCMSUrl”:”/video/data/3.0/video/world/2017/11/03/trump-in-asia-big-issues-explainer-sdg-lon-orig.cnn/index.xml”,”videoId”:”world/2017/11/03/trump-in-asia-big-issues-explainer-sdg-lon-orig.cnn”,”videoUrl”:”/videos/world/2017/11/03/trump-in-asia-big-issues-explainer-sdg-lon-orig.cnn/video/playlists/trump-asia-trip-2017/”},{“descriptionPlainText”:”President Donald Trump made a stop in Hawaii for the first leg of his 12-day trip to Asia. CNN’s Ryan Nobles has more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171103094643-01-trump-asia-trip-1103-large-169.jpg”,”title”:”Trump begins 12-day Asia tour”,”videoCMSUrl”:”/video/data/3.0/video/politics/2017/11/04/trump-hawaii-nobles-lok.cnn/index.xml”,”videoId”:”politics/2017/11/04/trump-hawaii-nobles-lok.cnn”,”videoUrl”:”/videos/politics/2017/11/04/trump-hawaii-nobles-lok.cnn/video/playlists/trump-asia-trip-2017/”},{“descriptionPlainText”:”CNN’s Chris Moody looks at what Trump has said in recent years about the growing North Korean crisis.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170809210024-trump-nk-large-169.jpg”,”title”:”What Trump has said about North Korea”,”videoCMSUrl”:”/video/data/3.0/video/politics/2017/08/10/what-trump-has-said-about-north-korea-moody-llr-orig.cnn/index.xml”,”videoId”:”politics/2017/08/10/what-trump-has-said-about-north-korea-moody-llr-orig.cnn”,”videoUrl”:”/videos/politics/2017/08/10/what-trump-has-said-about-north-korea-moody-llr-orig.cnn/video/playlists/trump-asia-trip-2017/”},{“descriptionPlainText”:”President Trump heads to the APEC summit where the full force and ramifications of his trade policies will become clear. CNN’s Richard Quest reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171102170118-quest-profitable-moment-apec-large-169.jpg”,”title”:”Trump to face APEC leaders on trade”,”videoCMSUrl”:”/video/data/3.0/video/cnnmoney/2017/11/02/trump-to-face-apec-leaders-on-trade.cnnmoney/index.xml”,”videoId”:”cnnmoney/2017/11/02/trump-to-face-apec-leaders-on-trade.cnnmoney”,”videoUrl”:”/videos/cnnmoney/2017/11/02/trump-to-face-apec-leaders-on-trade.cnnmoney/video/playlists/trump-asia-trip-2017/”},{“descriptionPlainText”:”At a traditional koi fish feeding ceremony in Japan, US President Trump followed Prime Minister Shinzo Abe and dumped his whole box of pellets into the pond.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171106110904-trump-feeds-koi-fish-4-large-169.jpg”,”title”:”Trump, Abe feed koi fish in Japan”,”videoCMSUrl”:”/video/data/3.0/video/world/2017/11/06/trump-japan-koi-fish-food-lon-orig-ejk.cnn/index.xml”,”videoId”:”world/2017/11/06/trump-japan-koi-fish-food-lon-orig-ejk.cnn”,”videoUrl”:”/videos/world/2017/11/06/trump-japan-koi-fish-food-lon-orig-ejk.cnn/video/playlists/trump-asia-trip-2017/”},{“descriptionPlainText”:”While speaking at a joint press conference in Tokyo, President Donald Trump declared the “era of strategic patience is over” when it comes to the United States’ stance toward North Korea.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171106145559-01-trump-abe-large-169.jpg”,”title”:”Trump: ‘Era of strategic patience is over'”,”videoCMSUrl”:”/video/data/3.0/video/politics/2017/11/06/trump-north-korea-patience-sot.cnn/index.xml”,”videoId”:”politics/2017/11/06/trump-north-korea-patience-sot.cnn”,”videoUrl”:”/videos/politics/2017/11/06/trump-north-korea-patience-sot.cnn/video/playlists/trump-asia-trip-2017/”}],currentVideoCollectionId = ”,isLivePlayer = false,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 = autoStartVideo;CNN.VideoPlayer.setPlayerProperties(configObj.markupId, autoStartVideo, isLivePlayer, mutePlayerEnabled);CNN.VideoPlayer.setFirstVideoInCollection(currentVideoCollection, configObj.markupId);var embedLinkHandler = {},videoPinner,embedCodeCopy;function onVideoCarouselItemClicked(evt) {‘use strict’;var videoId,articleElem,videoPlayer,thumbImageElem,thumbImageLargeSource,overrides = {videoCollection: this.videoCollection,autostart: false},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) {/* Remove videoobject metadata script.If the user click other than initial loaded video */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 is null that means it’s not initialized yet so* pass in the thumbnail, too.*/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) {/* Remove videoobject metadata script.If the user click other than initial loaded video */jQuery(articleElem).closest(‘.cn-carousel-medium-strip’).parent().find(‘script[name=”metaScript”]’).remove();CNNVIDEOAPI.CNNVideoManager.getInstance().playVideo(configObj.markupId, videoId, overrides);}/* Video player isn’t autoplay, so init itif (shouldStartVideo && this.carouselClickAutostartsVideo) {try {videoPlayer.videoInstance.start();} catch (startError) {console.log(“error in initializing video player” + startError);}}*/}}}} 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/2017/11/06/trump-north-korea-abductee-diplomatic-breakthrough-sot.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-1zlw10’,videoDescriptionDivId: ‘js-video_description-1zlw10’,videoDurationDivId: ‘js-video_duration-1zlw10’,videoTitleDivId: ‘js-leaf-video_headline-1zlw10’,videoSourceDivId: ‘js-video_sourceName-1zlw10’});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

NO COMMENTS