The Koreas: Divided by war, united by a flag?


‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘world/2018/02/09/pyeongchang-winter-olympics-and-the-politics-of-sport-lon-orig-mkd.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/180209114036-unity-korea-flag1-small-169.jpg”},”xsmall”:{“height”:173,”width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180209114036-unity-korea-flag1-medium-plus-169.jpg”},”small”:{“height”:259,”width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180209114036-unity-korea-flag1-large-169.jpg”},”medium”:{“height”:438,”width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180209114036-unity-korea-flag1-exlarge-169.jpg”},”large”:{“height”:619,”width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180209114036-unity-korea-flag1-super-169.jpg”},”full16x9″:{“height”:900,”width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180209114036-unity-korea-flag1-full-169.jpg”},”mini1x1″:{“height”:120,”width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180209114036-unity-korea-flag1-small-11.jpg”}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”North and South Korea have marched under one flag no fewer than seven times since 1991. Will the 2018 Winter Olympics in PyeongChang be any different?”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180209114036-unity-korea-flag1-large-169.jpg”,”title”:”The Koreas: Divided by war, united by a flag?”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/02/09/pyeongchang-winter-olympics-and-the-politics-of-sport-lon-orig-mkd.cnn/index.xml”,”videoId”:”world/2018/02/09/pyeongchang-winter-olympics-and-the-politics-of-sport-lon-orig-mkd.cnn”,”videoUrl”:”/videos/world/2018/02/09/pyeongchang-winter-olympics-and-the-politics-of-sport-lon-orig-mkd.cnn/video/playlists/winter-olympics-2018/”},{“descriptionPlainText”:”Olympic figure skater Adam Rippon’s mom Kelly addresses her son’s decision to forgo a meeting with the Vice President at the Winter Olympics citing Pence’s past stance on gay rights.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180112173930-08-american-athletes-rippon-large-169.jpg”,”title”:”Mom clarifies skater’s view on Pence meeting”,”videoCMSUrl”:”/video/data/3.0/video/us/2018/02/08/adam-rippon-gay-olympian-mom-chris-cuomo-newday-intv.cnn/index.xml”,”videoId”:”us/2018/02/08/adam-rippon-gay-olympian-mom-chris-cuomo-newday-intv.cnn”,”videoUrl”:”/videos/us/2018/02/08/adam-rippon-gay-olympian-mom-chris-cuomo-newday-intv.cnn/video/playlists/winter-olympics-2018/”},{“descriptionPlainText”:”The fate of Russian athletes continues to overshadow the beginning of the Games. World Anti-Doping Agency CEO Craig Reedie talks exclusively to CNN.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/160915131439-reedie-beeper-tease-image-large-169.jpg”,”title”:”Winter Olympics: WADA chief Reedie on Russia”,”videoCMSUrl”:”/video/data/3.0/video/sports/2018/02/08/craig-reedie-world-antidoping-agency-wada-russia-pyeongchang-2018-winter-olympics-intl.cnn/index.xml”,”videoId”:”sports/2018/02/08/craig-reedie-world-antidoping-agency-wada-russia-pyeongchang-2018-winter-olympics-intl.cnn”,”videoUrl”:”/videos/sports/2018/02/08/craig-reedie-world-antidoping-agency-wada-russia-pyeongchang-2018-winter-olympics-intl.cnn/video/playlists/winter-olympics-2018/”},{“descriptionPlainText”:”The Winter Olympics kick off just 60 miles from the DMZ. Will security concerns overshadow the recent diplomatic inroads between North and South?”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180207181312-olympics-security-virtual-explainer-tom-foreman-00003722-large-169.jpg”,”title”:”Security and the 2018 Olympics”,”videoCMSUrl”:”/video/data/3.0/video/politics/2018/02/07/olympics-security-virtual-explainer-tom-foreman.cnn/index.xml”,”videoId”:”politics/2018/02/07/olympics-security-virtual-explainer-tom-foreman.cnn”,”videoUrl”:”/videos/politics/2018/02/07/olympics-security-virtual-explainer-tom-foreman.cnn/video/playlists/winter-olympics-2018/”},{“descriptionPlainText”:”Ghana-born Maame Biney, a top American contender in short-track speed skating, has an unlikely story, prodigious talent and charm to burn.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180202111641-maame-biney-speed-skater-winter-olympics-2018-orig-mg-00022623-large-169.jpg”,”title”:”You’ll fall in love with this US speed skater”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/02/02/maame-biney-speed-skater-winter-olympics-2018-orig-mg.cnn/index.xml”,”videoId”:”world/2018/02/02/maame-biney-speed-skater-winter-olympics-2018-orig-mg.cnn”,”videoUrl”:”/videos/world/2018/02/02/maame-biney-speed-skater-winter-olympics-2018-orig-mg.cnn/video/playlists/winter-olympics-2018/”},{“descriptionPlainText”:”US Olympic skier Lindsey Vonn shares how her grandfather, who recently passed away, is her inspiration to compete in the 2018 Winter Olympics.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180114203237-lindsey-vonn-skiing-world-cup-austria-large-169.jpg”,”title”:”Lindsey Vonn overcomes grief to reach Olympics”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/01/30/lindsey-vonn-winter-olympics-profile-pkg.cnn/index.xml”,”videoId”:”world/2018/01/30/lindsey-vonn-winter-olympics-profile-pkg.cnn”,”videoUrl”:”/videos/world/2018/01/30/lindsey-vonn-winter-olympics-profile-pkg.cnn/video/playlists/winter-olympics-2018/”},{“descriptionPlainText”:”Mikaela Shiffrin, reigning Olympic and world slalom champion, shares her hopes for Winter Olympic success in alpine skiing.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180111132127-01-ones-to-watch-shiffrin-large-169.jpg”,”title”:”Mikaela Shiffrin: I’m chasing the world”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/01/30/mikaela-shiffrin-winter-olympics-profile-pkg.cnn/index.xml”,”videoId”:”world/2018/01/30/mikaela-shiffrin-winter-olympics-profile-pkg.cnn”,”videoUrl”:”/videos/world/2018/01/30/mikaela-shiffrin-winter-olympics-profile-pkg.cnn/video/playlists/winter-olympics-2018/”},{“descriptionPlainText”:”US Olympic figure skater Nathan Chen tells CNN what motivates him to succeed on the ice.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180208163843-nathan-chen-us-championships-large-169.jpg”,”title”:”Nathan Chen describes the feeling of landing a quad”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/01/30/nathan-chen-winter-olympics-profile-pkg.cnn/index.xml”,”videoId”:”world/2018/01/30/nathan-chen-winter-olympics-profile-pkg.cnn”,”videoUrl”:”/videos/world/2018/01/30/nathan-chen-winter-olympics-profile-pkg.cnn/video/playlists/winter-olympics-2018/”},{“descriptionPlainText”:”US figure skater Bradie Tennell tells CNN about her journey of overcoming back injuries ahead of the 2018 Winter Olympics.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180108171100-16-what-a-shot-0108-large-169.jpg”,”title”:”Bradie Tennell defeats injuries before Olympics”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/02/01/bradie-tennell-winter-olympics-profile-pkg.cnn/index.xml”,”videoId”:”world/2018/02/01/bradie-tennell-winter-olympics-profile-pkg.cnn”,”videoUrl”:”/videos/world/2018/02/01/bradie-tennell-winter-olympics-profile-pkg.cnn/video/playlists/winter-olympics-2018/”},{“descriptionPlainText”:”Sisters Marissa and Hannah Brandt are set to compete in the 2018 Winter Olympics for Korea and the US.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180126105555-brandt-sisters-ice-hockey-large-169.jpg”,”title”:”Sisters compete in Olympics for 2 countries”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/01/30/brandt-sisters-winter-olympics-profile-short-pkg.cnn/index.xml”,”videoId”:”world/2018/01/30/brandt-sisters-winter-olympics-profile-short-pkg.cnn”,”videoUrl”:”/videos/world/2018/01/30/brandt-sisters-winter-olympics-profile-short-pkg.cnn/video/playlists/winter-olympics-2018/”},{“descriptionPlainText”:”Millionaire designer Rolf Sachs bought the ruin of the Olympic stadium from the 1928 & 1948 Winter Games in St. Moritz, Switzerland and turned it into home”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171208143755-rolf-sachs-lives-olympic-stadium-st-moritz-alpine-edge-orig-00010713-large-169.jpg”,”title”:”The man who lives in an Olympic stadium”,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/12/08/rolf-sachs-lives-olympic-stadium-st-moritz-alpine-edge-orig.cnn/index.xml”,”videoId”:”sports/2017/12/08/rolf-sachs-lives-olympic-stadium-st-moritz-alpine-edge-orig.cnn”,”videoUrl”:”/videos/sports/2017/12/08/rolf-sachs-lives-olympic-stadium-st-moritz-alpine-edge-orig.cnn/video/playlists/winter-olympics-2018/”},{“descriptionPlainText”:”Historically, the Olympics have given some cities a much-needed boost, while others are left in the dust. What will Rio’s legacy look like?”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/160811134547-greece-volleyball-stadium-large-169.jpg”,”title”:”What happens to host cities when the Olympics are over?”,”videoCMSUrl”:”/video/data/3.0/video/world/2016/08/11/olympic-venues-orig.cnn/index.xml”,”videoId”:”world/2016/08/11/olympic-venues-orig.cnn”,”videoUrl”:”/videos/world/2016/08/11/olympic-venues-orig.cnn/video/playlists/winter-olympics-2018/”},{“descriptionPlainText”:”Two skiers from Afghanistan are aiming to become the first Winter Olympians of the war-torn country.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170330162156-afghan-ski-challenge-2017-large-169.jpg”,”title”:”From a war zone to the Winter Olympics?”,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/03/30/orig-afghanistan-ski-team-st-moritz-winter-olympics.cnn/index.xml”,”videoId”:”sports/2017/03/30/orig-afghanistan-ski-team-st-moritz-winter-olympics.cnn”,”videoUrl”:”/videos/sports/2017/03/30/orig-afghanistan-ski-team-st-moritz-winter-olympics.cnn/video/playlists/winter-olympics-2018/”},{“descriptionPlainText”:”Olympic skier Lindsey Vonn shares the inspiration of her late grandfather who passed away, claiming she “will win for him.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180209050451-lindsey-vonn-large-169.jpg”,”title”:”Lindsey Vonn gets emotional over this question”,”videoCMSUrl”:”/video/data/3.0/video/sports/2018/02/09/olympic-skier-lindsey-vonn-grandfather-wire-sot.cnn/index.xml”,”videoId”:”sports/2018/02/09/olympic-skier-lindsey-vonn-grandfather-wire-sot.cnn”,”videoUrl”:”/videos/sports/2018/02/09/olympic-skier-lindsey-vonn-grandfather-wire-sot.cnn/video/playlists/winter-olympics-2018/”},{“descriptionPlainText”:”Olympic skater Shani Davis skipped the Winter Olympic opening ceremony after he lost a coin toss to be Team USA’s flag bearer.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180208151647-02-shani-davis-file-2018-large-169.jpg”,”title”:”Shani Davis skips Olympic opening ceremony”,”videoCMSUrl”:”/video/data/3.0/video/us/2018/02/09/shani-davis-skips-olympic-opening-ceremony-sot.hln/index.xml”,”videoId”:”us/2018/02/09/shani-davis-skips-olympic-opening-ceremony-sot.hln”,”videoUrl”:”/videos/us/2018/02/09/shani-davis-skips-olympic-opening-ceremony-sot.hln/video/playlists/winter-olympics-2018/”},{“descriptionPlainText”:”Pita Taufatofua, the Tongan athlete who became an instant Olympic icon when he emerged shiny and shirtless carrying his country’s flag during the Olympic Opening Ceremonies in Rio two years ago, has done it again.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180209121847-29-winter-olympics-opening-ceremony-0209-large-169.jpg”,”title”:”Shirtless Tongan makes Olympic return”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/02/09/pita-taufatofua-shirtless-tonga-olympics-opening-ceremonies.cnn/index.xml”,”videoId”:”world/2018/02/09/pita-taufatofua-shirtless-tonga-olympics-opening-ceremonies.cnn”,”videoUrl”:”/videos/world/2018/02/09/pita-taufatofua-shirtless-tonga-olympics-opening-ceremonies.cnn/video/playlists/winter-olympics-2018/”},{“descriptionPlainText”:”Vice President Mike Pence was seated feet apart from Kim Jong Un’s sister Kim Yo Jong at the opening of the Winter Olympics in Pyeongchang.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180209072616-pence-winter-olympics-2018-0209-large-169.jpg”,”title”:”Video shows Pence seated near Kim Jong Un’s sister”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/02/09/pence-sits-by-kim-jong-un-sister-olympics-ripley-newday.cnn/index.xml”,”videoId”:”world/2018/02/09/pence-sits-by-kim-jong-un-sister-olympics-ripley-newday.cnn”,”videoUrl”:”/videos/world/2018/02/09/pence-sits-by-kim-jong-un-sister-olympics-ripley-newday.cnn/video/playlists/winter-olympics-2018/”},{“descriptionPlainText”:”Team USA figure skater Adam Rippon says he has “almost nothing” running through his mind during his best performances.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180207154435-adam-rippon-shoulder-large-169.jpg”,”title”:”How Adam Rippon plans to win gold”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/02/08/adam-rippon-figure-skater-usa-winter-olympics-2018-orig-nws.cnn/index.xml”,”videoId”:”world/2018/02/08/adam-rippon-figure-skater-usa-winter-olympics-2018-orig-nws.cnn”,”videoUrl”:”/videos/world/2018/02/08/adam-rippon-figure-skater-usa-winter-olympics-2018-orig-nws.cnn/video/playlists/winter-olympics-2018/”},{“descriptionPlainText”:”Hundreds of North Korean personnel are accompanying the nation’s 22 athletes, including a cheer squad, Kim Jong Un’s sister and a pop star.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180209124223-north-korea-olympic-delegation-split-large-169.jpg”,”title”:”Who’s who in North Korea’s Olympic delegation”,”videoCMSUrl”:”/video/data/3.0/video/world/2018/02/09/north-korea-olympic-delegation-sje-lon-orig.cnn/index.xml”,”videoId”:”world/2018/02/09/north-korea-olympic-delegation-sje-lon-orig.cnn”,”videoUrl”:”/videos/world/2018/02/09/north-korea-olympic-delegation-sje-lon-orig.cnn/video/playlists/winter-olympics-2018/”},{“descriptionPlainText”:”While the united Korea hockey team has been a symbol to promote peace on the peninsula, hockey legend Hayley Wickenheiser spoke about her concerns.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180209113211-hayley-wickenheiser-tease-still-large-169.jpg”,”title”:”Olympic legend questions united Korea hockey”,”videoCMSUrl”:”/video/data/3.0/video/sports/2018/02/09/hayley-wickenheiser-canada-hockey-pyeongchang-2018-winter-olympics-intl.cnn/index.xml”,”videoId”:”sports/2018/02/09/hayley-wickenheiser-canada-hockey-pyeongchang-2018-winter-olympics-intl.cnn”,”videoUrl”:”/videos/sports/2018/02/09/hayley-wickenheiser-canada-hockey-pyeongchang-2018-winter-olympics-intl.cnn/video/playlists/winter-olympics-2018/”},{“descriptionPlainText”:”The list of Mark McMorris’s injuries from a snowboard crash last March was long. Now, the Canadian is a podium favorite in the Olympic big air & slopestyle”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/161128162953-fis-snowboard-world-cup-big-air-south-korea-large-169.jpg”,”title”:”Mark McMorris: From injury to Olympics hopeful”,”videoCMSUrl”:”/video/data/3.0/video/sports/2018/02/08/mark-mcmorris-snowboarder-big-air-slopestyle-pyeongchang-2018-winter-olympics-intl.cnn/index.xml”,”videoId”:”sports/2018/02/08/mark-mcmorris-snowboarder-big-air-slopestyle-pyeongchang-2018-winter-olympics-intl.cnn”,”videoUrl”:”/videos/sports/2018/02/08/mark-mcmorris-snowboarder-big-air-slopestyle-pyeongchang-2018-winter-olympics-intl.cnn/video/playlists/winter-olympics-2018/”}],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, 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/2018/02/09/pyeongchang-winter-olympics-and-the-politics-of-sport-lon-orig-mkd.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-wb7se0’,videoDescriptionDivId: ‘js-video_description-wb7se0’,videoDurationDivId: ‘js-video_duration-wb7se0’,videoTitleDivId: ‘js-leaf-video_headline-wb7se0’,videoSourceDivId: ‘js-video_sourceName-wb7se0’});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

Your email address will not be published. Required fields are marked *