Deadly tsunami hits Indonesia beaches

‘);$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/09/28/indonesia-earthquake-tsunami-palu-orig-mg.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/180928195131-indonesia-earthquake-tsunami-palu-orig-mg-00000711-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180928195131-indonesia-earthquake-tsunami-palu-orig-mg-00000711-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180928195131-indonesia-earthquake-tsunami-palu-orig-mg-00000711-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180928195131-indonesia-earthquake-tsunami-palu-orig-mg-00000711-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180928195131-indonesia-earthquake-tsunami-palu-orig-mg-00000711-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180928195131-indonesia-earthquake-tsunami-palu-orig-mg-00000711-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180928195131-indonesia-earthquake-tsunami-palu-orig-mg-00000711-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”A 7.5 magnitude earthquake hit the Indonesian island of Sulawesi and triggered a tsunami, killing hundreds of people.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180928195131-indonesia-earthquake-tsunami-palu-orig-mg-00000711-large-169.jpg”,”title”:”Deadly tsunami hits Indonesian island of Sulawesi”,”videoCMSUrl”:”http://rss.cnn.com/videos/world/2018/09/28/indonesia-earthquake-tsunami-palu-orig-mg.cnn”,”videoLeafUrl”:”http://rss.cnn.com/videos/world/2018/09/28/indonesia-earthquake-tsunami-palu-orig-mg.cnn”,”videoId”:”world/2018/09/28/indonesia-earthquake-tsunami-palu-orig-mg.cnn”,”videoUrl”:”http://rss.cnn.com/videos/world/2018/09/28/indonesia-earthquake-tsunami-palu-orig-mg.cnn”},{“descriptionPlainText”:”Sony Pictures has released the first photo of actor Tom Hanks as Fred Rogers from the upcoming film about the iconic children’s show host.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180927122555-tom-hanks-mister-rogers-large-169.jpg”,”title”:”Tom Hanks is your new neighbor Mister Rogers”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/cnnmoney/2018/09/28/tom-hanks-mister-rogers-film-sony-pictures-mxp-vpx.hln/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/09/28/tom-hanks-mister-rogers-film-sony-pictures-mxp-vpx.hln”,”videoId”:”cnnmoney/2018/09/28/tom-hanks-mister-rogers-film-sony-pictures-mxp-vpx.hln”,”videoUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/09/28/tom-hanks-mister-rogers-film-sony-pictures-mxp-vpx.hln/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Kitty Hawk, a startup backed by Google cofounder Larry Page, is testing its self-piloting flying taxi in New Zealand.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180313141833-google-cofounder-flying-taxi-large-169.jpg”,”title”:”Google cofounder’s flying taxi takes to the skies”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/cnnmoney/2018/03/13/google-cofounder-larry-page-kitty-hawk-flying-taxi.cnnmoney/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/03/13/google-cofounder-larry-page-kitty-hawk-flying-taxi.cnnmoney”,”videoId”:”cnnmoney/2018/03/13/google-cofounder-larry-page-kitty-hawk-flying-taxi.cnnmoney”,”videoUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/03/13/google-cofounder-larry-page-kitty-hawk-flying-taxi.cnnmoney/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Late-night hosts had much to say after Supreme Court nominee Brett Kavanaugh and Dr. Christine Blasey Ford testified before the Senate Judiciary Committee.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180928022419-late-night-split-large-169.jpg”,”title”:”Late night reacts to the Kavanaugh hearing”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/cnnmoney/2018/09/28/late-night-kavanaugh-hearing-orig-llr.cnn/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/09/28/late-night-kavanaugh-hearing-orig-llr.cnn”,”videoId”:”cnnmoney/2018/09/28/late-night-kavanaugh-hearing-orig-llr.cnn”,”videoUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/09/28/late-night-kavanaugh-hearing-orig-llr.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Hillary Clinton played a fictionalized version of herself on the premiere episode of the “Murphy Brown” reboot.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180927232143-hillary-clinton-murphy-brown-large-169.jpg”,”title”:”Hillary Clinton makes cameo on ‘Murphy Brown’ “,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/cnnmoney/2018/09/28/murphy-brown-reboot-hillary-clinton-cameo-orig-llr.cnn/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/09/28/murphy-brown-reboot-hillary-clinton-cameo-orig-llr.cnn”,”videoId”:”cnnmoney/2018/09/28/murphy-brown-reboot-hillary-clinton-cameo-orig-llr.cnn”,”videoUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/09/28/murphy-brown-reboot-hillary-clinton-cameo-orig-llr.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Items from the popular TV show “The Office” are up for auction by the company Screenbid.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/130517132214-office-jim-and-pam-story-top.jpg”,”title”:”Items from ‘The Office’ up for auction”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/cnnmoney/2018/09/25/the-office-items-auction-mxp-vpx.hln/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/09/25/the-office-items-auction-mxp-vpx.hln”,”videoId”:”cnnmoney/2018/09/25/the-office-items-auction-mxp-vpx.hln”,”videoUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/09/25/the-office-items-auction-mxp-vpx.hln/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:””Walking Dead” actor Jeffrey Dean Morgan tells Conan O’Brien he gets a lot of hate in public from fans who hate his character on the show.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180927071340-conan-jeffrey-dean-morgan-walking-dead-fans-vpx-00002724-large-169.jpg”,”title”:”‘Walking Dead’ actor gets hate from fans”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/cnnmoney/2018/09/27/conan-jeffrey-dean-morgan-walking-dead-fans-vpx.team-coco/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/09/27/conan-jeffrey-dean-morgan-walking-dead-fans-vpx.team-coco”,”videoId”:”cnnmoney/2018/09/27/conan-jeffrey-dean-morgan-walking-dead-fans-vpx.team-coco”,”videoUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/09/27/conan-jeffrey-dean-morgan-walking-dead-fans-vpx.team-coco/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Late-night hosts poke fun at the laughter President Trump received during his speech at the United Nations General Assembly in New York.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180926035639-colbert-meyers-kimmel-late-night-unga-orig-large-169.jpg”,”title”:”Late night laughs off UN’s response to Trump”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/cnnmoney/2018/09/26/late-night-trump-unga-speech-laughter-epr-vstan-orig.cnn/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/09/26/late-night-trump-unga-speech-laughter-epr-vstan-orig.cnn”,”videoId”:”cnnmoney/2018/09/26/late-night-trump-unga-speech-laughter-epr-vstan-orig.cnn”,”videoUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/09/26/late-night-trump-unga-speech-laughter-epr-vstan-orig.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Instagram founders have quit Facebook. Did they want to leave? Or did they leave because of Mark Zuckerburg? CNN takes a trip down Instagram memory lane.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180925131018-gfx-instagram-founders-leaving-large-169.jpg”,”title”:”Instagram’s story told via #InstaStory”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/cnnmoney/2018/09/25/instagram-founders-quit-facebook-qmb.cnn/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/09/25/instagram-founders-quit-facebook-qmb.cnn”,”videoId”:”cnnmoney/2018/09/25/instagram-founders-quit-facebook-qmb.cnn”,”videoUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/09/25/instagram-founders-quit-facebook-qmb.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”The Sonic drive-in restaurant chain has been purchased by this company for billions.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180925095025-01-sonic-drive-in-file-large-169.jpg”,”title”:”Sonic sold to Arby’s owner”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/cnnmoney/2018/09/25/arbys-sonic-acquisition-orig-js.cnn/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/09/25/arbys-sonic-acquisition-orig-js.cnn”,”videoId”:”cnnmoney/2018/09/25/arbys-sonic-acquisition-orig-js.cnn”,”videoUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/09/25/arbys-sonic-acquisition-orig-js.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Actor Bradley Cooper talks about how him and his new co-star singer Lady Gaga bonded over pasta during one of their first encounters together.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180925043406-conan-bradley-cooper-lady-gaga-pasta-00011021-large-169.jpg”,”title”:”Bradley Cooper and Lady Gaga bonded over pasta”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/cnnmoney/2018/09/25/conan-bradley-cooper-lady-gaga-pasta.team-coco/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/09/25/conan-bradley-cooper-lady-gaga-pasta.team-coco”,”videoId”:”cnnmoney/2018/09/25/conan-bradley-cooper-lady-gaga-pasta.team-coco”,”videoUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/09/25/conan-bradley-cooper-lady-gaga-pasta.team-coco/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Actor Ryan Reynolds channeled his inner “Deadpool” to tease Michael Bay, the director of his upcoming film with Netflix.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180923153923-ryan-reynolds-pokes-fun-at-michael-bay-orig-tc-00001130-large-169.jpg”,”title”:”Ryan Reynolds trolls director as car crashes”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/cnnmoney/2018/09/21/ryan-reynolds-pokes-fun-at-michael-bay-orig-tc.cnn/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/09/21/ryan-reynolds-pokes-fun-at-michael-bay-orig-tc.cnn”,”videoId”:”cnnmoney/2018/09/21/ryan-reynolds-pokes-fun-at-michael-bay-orig-tc.cnn”,”videoUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/09/21/ryan-reynolds-pokes-fun-at-michael-bay-orig-tc.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”A new HBO documentary by award-winning filmmaker Susan Lacy highlights the drama and on-screen work that have marked actress and political activist Jane Fonda’s career.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180923181814-jane-fonda-hbo-documentary-wxp-vpx-00002113-large-169.jpg”,”title”:”Jane Fonda opens up in new documentary”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/cnnmoney/2018/09/22/jane-fonda-hbo-documentary-wxp-vpx.hln/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/09/22/jane-fonda-hbo-documentary-wxp-vpx.hln”,”videoId”:”cnnmoney/2018/09/22/jane-fonda-hbo-documentary-wxp-vpx.hln”,”videoUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/09/22/jane-fonda-hbo-documentary-wxp-vpx.hln/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”The Trump administration imposed new tariffs on $200 billion worth of Chinese goods, including pieces of hardware that are essential to electronic products in the United States. CNN’s Samuel Burke examines how this could eventually affect companies like Apple.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180913115003-apple-iphone-xr-models-display-large-169.jpg”,”title”:”Apple may have most to lose with China tariffs”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/cnnmoney/2018/09/24/trump-china-tech-tariffs-burke-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/09/24/trump-china-tech-tariffs-burke-pkg-vpx.cnn”,”videoId”:”cnnmoney/2018/09/24/trump-china-tech-tariffs-burke-pkg-vpx.cnn”,”videoUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/09/24/trump-china-tech-tariffs-burke-pkg-vpx.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Many major companies have rebranded — some successfully and some not so much.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180606175724-name-change-1-large-169.jpg”,”title”:”From Backrub to Google: Companies that changed their names”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/cnnmoney/2018/09/24/companies-that-changed-their-names-tc-orig-cnn-money-2.cnn/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/09/24/companies-that-changed-their-names-tc-orig-cnn-money-2.cnn”,”videoId”:”cnnmoney/2018/09/24/companies-that-changed-their-names-tc-orig-cnn-money-2.cnn”,”videoUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/09/24/companies-that-changed-their-names-tc-orig-cnn-money-2.cnn/video/playlists/stories-worth-watching/”},{“descriptionPlainText”:”Fox News anchors Sean Hannity and Laura Ingraham had conflicting advice for President Donald Trump after the New York Times reported that Deputy Attorney General Rod Rosenstein discussed wearing a “wire” to record conversations with Trump.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180922093025-sean-hannity-laura-ingraham-split-09212018-large-169.jpg”,”title”:”Fox gives Trump conflicting advice”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/cnnmoney/2018/09/22/trump-rosenstein-advice-fox-news-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/09/22/trump-rosenstein-advice-fox-news-newday-vpx.cnn”,”videoId”:”cnnmoney/2018/09/22/trump-rosenstein-advice-fox-news-newday-vpx.cnn”,”videoUrl”:”http://rss.cnn.com/videos/cnnmoney/2018/09/22/trump-rosenstein-advice-fox-news-newday-vpx.cnn/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/2018/09/28/indonesia-earthquake-tsunami-palu-orig-mg.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-22ag46z’,videoDescriptionDivId: ‘js-video_description-22ag46z’,videoDurationDivId: ‘js-video_duration-22ag46z’,videoTitleDivId: ‘js-leaf-video_headline-22ag46z’,videoSourceDivId: ‘js-video_sourceName-22ag46z’});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(‘

Add a Comment

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