[Original Post] ‘);$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/06/13/cnnheroes-magnus-update-2019-mixed.cnn’,width: ‘100%’,height: ‘100%’,section: ‘domestic’,profile: ‘expansion’,network: ‘cnn’,markupId: ‘large-media_0’,adsection: ‘cnn.com_us_heroes_videopage’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: {“mini”:{“width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190613153941-cnnheroes-magnus-gerard-haiti-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190613153941-cnnheroes-magnus-gerard-haiti-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190613153941-cnnheroes-magnus-gerard-haiti-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190613153941-cnnheroes-magnus-gerard-haiti-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190613153941-cnnheroes-magnus-gerard-haiti-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190613153941-cnnheroes-magnus-gerard-haiti-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190613153941-cnnheroes-magnus-gerard-haiti-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Since honoring Magnus MacFarlane-Barrow as a 2011 CNN Hero, actor Gerard Butler has been supporting his fellow Scotsman’s nonprofit work. The two share lessons […]

-
[Original Post]

‘);$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/06/13/cnnheroes-magnus-update-2019-mixed.cnn’,width: ‘100%’,height: ‘100%’,section: ‘domestic’,profile: ‘expansion’,network: ‘cnn’,markupId: ‘large-media_0’,adsection: ‘cnn.com_us_heroes_videopage’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: {“mini”:{“width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190613153941-cnnheroes-magnus-gerard-haiti-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190613153941-cnnheroes-magnus-gerard-haiti-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190613153941-cnnheroes-magnus-gerard-haiti-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190613153941-cnnheroes-magnus-gerard-haiti-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190613153941-cnnheroes-magnus-gerard-haiti-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190613153941-cnnheroes-magnus-gerard-haiti-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/190613153941-cnnheroes-magnus-gerard-haiti-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Since honoring Magnus MacFarlane-Barrow as a 2011 CNN Hero, actor Gerard Butler has been supporting his fellow Scotsman’s nonprofit work. The two share lessons they learned on a recent trip to Haiti.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190613153941-cnnheroes-magnus-gerard-haiti-large-169.jpg”,”title”:”CNN Heroes: Gerard Butler travels with Mary’s Meals”,”videoCMSUrl”:”/videos/world/2019/06/13/cnnheroes-magnus-update-2019-mixed.cnn”,”videoLeafUrl”:”/videos/world/2019/06/13/cnnheroes-magnus-update-2019-mixed.cnn”,”videoId”:”world/2019/06/13/cnnheroes-magnus-update-2019-mixed.cnn”,”videoUrl”:”/videos/world/2019/06/13/cnnheroes-magnus-update-2019-mixed.cnn”},{“descriptionPlainText”:”After seeing a CNN report on a church that has worked to rebuild after being destroyed by Superstorm Sandy, actor and filmmaker Tyler Perry donated vans to help congregants in need be able to attend. CNN’s Erin Burnett has the details.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190607201650-champions-for-change-church-vans-update-large-169.jpg”,”title”:”Tyler Perry donates to church after CNN report”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/06/08/erin-burnett-champions-for-change-tyler-perry-church-update-ebof-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/06/08/erin-burnett-champions-for-change-tyler-perry-church-update-ebof-vpx.cnn”,”videoId”:”us/2019/06/08/erin-burnett-champions-for-change-tyler-perry-church-update-ebof-vpx.cnn”,”videoUrl”:”/videos/us/2019/06/08/erin-burnett-champions-for-change-tyler-perry-church-update-ebof-vpx.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”CNN’s Bill Weir talks with National Geographic explorer and author Dan Buettner about what we can learn about healthy living from communities where people live well into their 100s.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190418125018-weir-champions-for-change-2019-large-169.jpg”,”title”:”One explorer’s quest to find the secret of a long life”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/05/13/champions-for-change-bill-weir-dan-buettner-age-health-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/05/13/champions-for-change-bill-weir-dan-buettner-age-health-vpx.cnn”,”videoId”:”us/2019/05/13/champions-for-change-bill-weir-dan-buettner-age-health-vpx.cnn”,”videoUrl”:”/videos/us/2019/05/13/champions-for-change-bill-weir-dan-buettner-age-health-vpx.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”CNN’s Brooke Baldwin talks to rapper and activist Killer Mike about race and society.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190418124741-baldwin-champions-for-change-2019-large-169.jpg”,”title”:”Killer Mike reflects on race and his activism efforts”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/05/13/champions-for-change-brooke-baldwin-killer-mike-activist-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/05/13/champions-for-change-brooke-baldwin-killer-mike-activist-vpx.cnn”,”videoId”:”us/2019/05/13/champions-for-change-brooke-baldwin-killer-mike-activist-vpx.cnn”,”videoUrl”:”/videos/us/2019/05/13/champions-for-change-brooke-baldwin-killer-mike-activist-vpx.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Dr. Jodi Gold, Director of the Gold Center for Mind Health and Wellness, outlines how to help a person who may be contemplating suicide.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/161123145222-hypochondriac-health-large-169.jpg”,”title”:”How to look for suicide warning signs”,”videoCMSUrl”:”/video/data/3.0/video/health/2018/06/07/suicide-warning-signs-how-to-help-newday.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2018/06/07/suicide-warning-signs-how-to-help-newday.cnn”,”videoId”:”health/2018/06/07/suicide-warning-signs-how-to-help-newday.cnn”,”videoUrl”:”/videos/health/2018/06/07/suicide-warning-signs-how-to-help-newday.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”CNN’s Poppy Harlow meets with Heather Abbott, a Boston bombing survivor who helps amputees lead better lives.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190506080703-harlow-abbott-champions-for-change-large-169.jpg”,”title”:”Boston bombing survivor helps amputees lead better lives”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/05/16/champions-for-change-poppy-harlow-boston-marathon-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/05/16/champions-for-change-poppy-harlow-boston-marathon-vpx.cnn”,”videoId”:”us/2019/05/16/champions-for-change-poppy-harlow-boston-marathon-vpx.cnn”,”videoUrl”:”/videos/us/2019/05/16/champions-for-change-poppy-harlow-boston-marathon-vpx.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”The risks that shifted the professional and personal trajectories of these CNN anchors involved using an uncommon approach.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190510152836-champions-uncommon-way-collage-large-169.jpg”,”title”:”CNN anchors on uncommon approaches to their lives and careers”,”videoCMSUrl”:”/video/data/3.0/video/us/2019/05/10/uncommon-approaches-champions-for-change-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2019/05/10/uncommon-approaches-champions-for-change-orig.cnn”,”videoId”:”us/2019/05/10/uncommon-approaches-champions-for-change-orig.cnn”,”videoUrl”:”/videos/us/2019/05/10/uncommon-approaches-champions-for-change-orig.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Lawmakers are concerned that deepfake videos could be used to influence the 2020 election. Now the U.S. government is working to create technology to detect them.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190611160152-deepfake-elizabeth-warren-large-169.jpg”,”title”:”Why it’s getting harder to spot a deepfake video”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/06/11/deepfake-videos-2020-election.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/06/11/deepfake-videos-2020-election.cnn”,”videoId”:”business/2019/06/11/deepfake-videos-2020-election.cnn”,”videoUrl”:”/videos/business/2019/06/11/deepfake-videos-2020-election.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”The new Bentley Flying Spur sedan looks like a limousine, but it can go over 200 miles per hour.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190612142918-bentley-flying-spur-sedan-large-169.jpg”,”title”:”This Bentley could be the fastest sedan ever”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/06/12/bentley-flying-spur-sedan-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2019/06/12/bentley-flying-spur-sedan-orig.cnn-business”,”videoId”:”business/2019/06/12/bentley-flying-spur-sedan-orig.cnn-business”,”videoUrl”:”/videos/business/2019/06/12/bentley-flying-spur-sedan-orig.cnn-business/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Stocks dropped in Hong Kong as tens of thousands of people marched through the city’s financial district to protest a controversial extradition bill. CNN’s Julia Chatterley reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190612091753-hong-kong-protest-june-12-2019-02-large-169.jpg”,”title”:”Hong Kong stocks fall as protests rage”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/06/12/hong-kong-markets-protest-hang-seng-julia-chatterley-first-move.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/06/12/hong-kong-markets-protest-hang-seng-julia-chatterley-first-move.cnn”,”videoId”:”business/2019/06/12/hong-kong-markets-protest-hang-seng-julia-chatterley-first-move.cnn”,”videoUrl”:”/videos/business/2019/06/12/hong-kong-markets-protest-hang-seng-julia-chatterley-first-move.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Facebook COO Sheryl Sandberg tells CNN’s Dr. Sanjay Gupta that she thinks there should be federal oversight of content on social platforms to protect elections and privacy.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190612081218-sheryl-sandberg-facebook-coo-june-12-2019-01-large-169.jpg”,”title”:”Facebook COO calls for government regulation”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/06/12/facebook-sheryl-sandberg-federal-regulation-privacy-sot-newday.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2019/06/12/facebook-sheryl-sandberg-federal-regulation-privacy-sot-newday.cnn”,”videoId”:”business/2019/06/12/facebook-sheryl-sandberg-federal-regulation-privacy-sot-newday.cnn”,”videoUrl”:”/videos/business/2019/06/12/facebook-sheryl-sandberg-federal-regulation-privacy-sot-newday.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Queen Elsa and Princess Anna are back in the trailer for “Frozen II,” which will likely mean more huge box office and merchandising returns for Disney.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190213104122-02-frozen-2-large-169.jpg”,”title”:”Disney’s mega-hit is back with a new trailer”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/02/13/frozen-ii-trailer-disney-business-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2019/02/13/frozen-ii-trailer-disney-business-orig.cnn-business”,”videoId”:”business/2019/02/13/frozen-ii-trailer-disney-business-orig.cnn-business”,”videoUrl”:”/videos/business/2019/02/13/frozen-ii-trailer-disney-business-orig.cnn-business/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Marvel Entertainment hopes to continue its box office success in the gaming industry. Check out the new trailer for “Marvel’s Avengers,” coming in 2020.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190611123826-marvel-avengers-video-game-large-169.jpg”,”title”:”Marvel’s Avengers star in new video game”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/06/11/marvel-avengers-video-game.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2019/06/11/marvel-avengers-video-game.cnn-business”,”videoId”:”business/2019/06/11/marvel-avengers-video-game.cnn-business”,”videoUrl”:”/videos/business/2019/06/11/marvel-avengers-video-game.cnn-business/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Kraft says its new dressing will encourage kids to eat their veggies. Of course, the dressing itself is far from healthy.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190610160046-kraft-salad-frosting-large-169.jpg”,”title”:”Kraft wants to feed kids ‘Salad Frosting'”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/06/11/kraft-ranch-salad-frosting.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2019/06/11/kraft-ranch-salad-frosting.cnn-business”,”videoId”:”business/2019/06/11/kraft-ranch-salad-frosting.cnn-business”,”videoUrl”:”/videos/business/2019/06/11/kraft-ranch-salad-frosting.cnn-business/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Nintendo has announced it is working on a sequel to “The Legend of Zelda: Breath of the Wild.” Although an official release date hasn’t been announced, here’s what we know so far.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190611131601-zelda-breath-of-the-wild-2-large-169.jpg”,”title”:”Here’s a first look at Nintendo’s new Zelda game”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/06/11/zelda-sequel-game-e3.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2019/06/11/zelda-sequel-game-e3.cnn-business”,”videoId”:”business/2019/06/11/zelda-sequel-game-e3.cnn-business”,”videoUrl”:”/videos/business/2019/06/11/zelda-sequel-game-e3.cnn-business/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Here’s what Uber Air’s in-flight customer experience will look like. The company plans to offer aerial ridesharing in 2023.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/190611131702-01-uber-flying-car-helicopter-large-169.jpg”,”title”:”Fly inside Uber’s new air taxi cabin”,”videoCMSUrl”:”/video/data/3.0/video/business/2019/06/11/uber-air-taxi-cabin-design-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2019/06/11/uber-air-taxi-cabin-design-orig.cnn-business”,”videoId”:”business/2019/06/11/uber-air-taxi-cabin-design-orig.cnn-business”,”videoUrl”:”/videos/business/2019/06/11/uber-air-taxi-cabin-design-orig.cnn-business/video/playlists/stories-worth-watching/”}],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/06/13/cnnheroes-magnus-update-2019-mixed.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-27f2dlk’,videoDescriptionDivId: ‘js-video_description-27f2dlk’,videoDurationDivId: ‘js-video_duration-27f2dlk’,videoTitleDivId: ‘js-leaf-video_headline-27f2dlk’,videoSourceDivId: ‘js-video_sourceName-27f2dlk’});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(‘

Leave a Comment

avatar
  
smilegrinwinkmrgreenneutraltwistedarrowshockunamusedcooleviloopsrazzrollcryeeklolmadsadexclamationquestionideahmmbegwhewchucklesillyenvyshutmouth
  Subscribe  
Notify of