See bus fall through road while passengers are boarding

0
8

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘world/2020/01/14/sinkhole-bus-china-lon-mrg.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/200114130015-xining-sinkhole-bus-2-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200114130015-xining-sinkhole-bus-2-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200114130015-xining-sinkhole-bus-2-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200114130015-xining-sinkhole-bus-2-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200114130015-xining-sinkhole-bus-2-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200114130015-xining-sinkhole-bus-2-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/200114130015-xining-sinkhole-bus-2-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Several people have been killed and many injured after a sinkhole swallowed a bus and pedestrians in Xining, China.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200114130015-xining-sinkhole-bus-2-large-169.jpg”,”title”:”Deadly sinkhole swallows bus in China”,”videoCMSUrl”:”/videos/world/2020/01/14/sinkhole-bus-china-lon-mrg.cnn”,”videoLeafUrl”:”/videos/world/2020/01/14/sinkhole-bus-china-lon-mrg.cnn”,”videoId”:”world/2020/01/14/sinkhole-bus-china-lon-mrg.cnn”,”videoUrl”:”/videos/world/2020/01/14/sinkhole-bus-china-lon-mrg.cnn”,”surrogateKey”:”video_C64BECF3-BBDC-02E4-49A6-A3EA8D983ED0″},{“descriptionPlainText”:”Fast-food chain Popeyes gave “Family Feud Canada” contestant Eve Dubois $10,000 worth of free food after her wrong answer went viral.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200111160806-01-family-feud-canada-popeyes-trnd-large-169.jpg”,”title”:”‘Family Feud’ gaffe leads to $10K of free Popeyes”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/01/11/family-feud-canada-popeyes-answer-orig-db.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/01/11/family-feud-canada-popeyes-answer-orig-db.cnn”,”videoId”:”us/2020/01/11/family-feud-canada-popeyes-answer-orig-db.cnn”,”videoUrl”:”/videos/us/2020/01/11/family-feud-canada-popeyes-answer-orig-db.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_DB7966EC-A087-7ED6-C022-96847B19EC0E”},{“descriptionPlainText”:”Actress Issa Rae threw shade at the lack of a female nominee for Best Director during the announcement of the 2020 Oscar nominations.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200113064654-issa-rae—oscar-noms-large-169.jpg”,”title”:”Issa Rae throws shade over all-male director nominees”,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2020/01/13/issa-rae-oscar-nominations-shade-orig-vstop-bdk.cnn/index.xml”,”videoLeafUrl”:”/videos/entertainment/2020/01/13/issa-rae-oscar-nominations-shade-orig-vstop-bdk.cnn”,”videoId”:”entertainment/2020/01/13/issa-rae-oscar-nominations-shade-orig-vstop-bdk.cnn”,”videoUrl”:”/videos/entertainment/2020/01/13/issa-rae-oscar-nominations-shade-orig-vstop-bdk.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_98F7C05A-024D-7FBF-B222-9FCE0A54C3D8″},{“descriptionPlainText”:”A pod of dolphins followed a fire rescue boat near Naples, Florida, jumping in the wake and delighting rescue personnel on board.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200113081221-firefighters-play-with-dolphins-large-169.jpg”,”title”:”Watch pod of playful dolphins follow a fire rescue boat”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/01/13/dolphins-follow-fire-rescue-boat-ns-roth-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/01/13/dolphins-follow-fire-rescue-boat-ns-roth-orig.cnn”,”videoId”:”us/2020/01/13/dolphins-follow-fire-rescue-boat-ns-roth-orig.cnn”,”videoUrl”:”/videos/us/2020/01/13/dolphins-follow-fire-rescue-boat-ns-roth-orig.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_8F8D89E2-0DD0-E968-B9FB-9F2828B3EBB4″},{“descriptionPlainText”:”A tortoise named Diego may have saved his species from extinction due to his unstoppable libido, which was credited as a major reason for the survival of his fellow giant tortoises in the Galapagos Islands.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200111155929-diego-tortoise-2-large-169.jpg”,”title”:”This tortoise has hundreds of descendants”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/01/12/diego-tortoise-sex-life-galapagos-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/us/2020/01/12/diego-tortoise-sex-life-galapagos-vpx.hln”,”videoId”:”us/2020/01/12/diego-tortoise-sex-life-galapagos-vpx.hln”,”videoUrl”:”/videos/us/2020/01/12/diego-tortoise-sex-life-galapagos-vpx.hln/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_5B2CEA56-C95C-2437-0513-9B034C4A3C28″},{“descriptionPlainText”:”Chino and Kat Vaflor were tying the knot at a venue 10 miles from the Taal Volcano in the Philippines when wedding photographer Randolf Evan captured dramatic shots of the couple with the ash plume seemingly overhead.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200112134939-02-taal-volcano-wedding-large-169.jpg”,”title”:”A couple got married with a volcanic eruption behind them”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/01/13/wedding-philippines-taal-volcano-eruption-manila-intl-ldn-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/01/13/wedding-philippines-taal-volcano-eruption-manila-intl-ldn-vpx.cnn”,”videoId”:”world/2020/01/13/wedding-philippines-taal-volcano-eruption-manila-intl-ldn-vpx.cnn”,”videoUrl”:”/videos/world/2020/01/13/wedding-philippines-taal-volcano-eruption-manila-intl-ldn-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_BFE5BCEF-D1DA-89FC-7D65-9E62C7390CB9″},{“descriptionPlainText”:”CNN’s Elizabeth Cohen shares the heart-wrenching case of a four-year-old girl who may be permanently blind due to a flu infection.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200110185245-flu-blinds-iowa-girl-cohen-pkg-vpx-00002724-large-169.jpg”,”title”:”Flu blinds 4-year-old girl in Iowa”,”videoCMSUrl”:”/video/data/3.0/video/health/2020/01/10/flu-blinds-iowa-girl-cohen-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/health/2020/01/10/flu-blinds-iowa-girl-cohen-pkg-vpx.cnn”,”videoId”:”health/2020/01/10/flu-blinds-iowa-girl-cohen-pkg-vpx.cnn”,”videoUrl”:”/videos/health/2020/01/10/flu-blinds-iowa-girl-cohen-pkg-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_8AA94B4C-06D0-8D16-3D56-91CBE09930A7″},{“descriptionPlainText”:”LA filmmaker Lee Loechler proposed by editing himself and his girlfriend into her favorite movie, “Sleeping Beauty.” Watch to see her reaction.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200110181615-disney-proposal-large-169.jpg”,”title”:”Real Prince Charming proposes by editing himself into ‘Sleeping Beauty'”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/01/10/sleeping-beauty-disney-proposal-orig-jk.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/01/10/sleeping-beauty-disney-proposal-orig-jk.cnn”,”videoId”:”us/2020/01/10/sleeping-beauty-disney-proposal-orig-jk.cnn”,”videoUrl”:”/videos/us/2020/01/10/sleeping-beauty-disney-proposal-orig-jk.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_D86D80D9-E55F-004B-DD8D-91A6A1835ACF”},{“descriptionPlainText”:”A Utah man has been rescued from the Alaskan wilderness, approximately three weeks after a fire burned his home to the ground, killed his dog and left him without much food, clothing or shelter.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200111054911-01-alaska-wilderness-survival-large-169.jpg”,”title”:”Man stranded in Alaskan wilderness for 3 weeks after fire”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/01/11/man-alaska-wilderness-rescue-pkg-sandoval-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/01/11/man-alaska-wilderness-rescue-pkg-sandoval-vpx.cnn”,”videoId”:”us/2020/01/11/man-alaska-wilderness-rescue-pkg-sandoval-vpx.cnn”,”videoUrl”:”/videos/us/2020/01/11/man-alaska-wilderness-rescue-pkg-sandoval-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_CFA4E88A-E15E-8595-510D-968CB28AAA79″},{“descriptionPlainText”:”Officials in Australia are air dropping thousands of pounds of foods like carrots and sweet potatoes from planes to help feed wildlife affected by the fires.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200112172958-04-australia-brush-fire-operation-rock-wallaby-trnd-large-169.jpg”,”title”:”Why officials are dumping food over the Australia fires”,”videoCMSUrl”:”/video/data/3.0/video/world/2020/01/12/australia-bushfire-food-drops-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/world/2020/01/12/australia-bushfire-food-drops-vpx.cnn”,”videoId”:”world/2020/01/12/australia-bushfire-food-drops-vpx.cnn”,”videoUrl”:”/videos/world/2020/01/12/australia-bushfire-food-drops-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_4FD913EB-1AF6-BFE0-4899-9C30FD3C587E”},{“descriptionPlainText”:”Denmark’s most famous statue became entangled in a conflict raging thousands of miles away, after the message “Free Hong Kong” was sprayed on her base in big red letters.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200113103742-little-mermaid-hk-2-large-169.jpg”,”title”:”Little Mermaid sprayed with political graffiti”,”videoCMSUrl”:”/video/data/3.0/video/travel/2020/01/13/little-mermaid-statue-vandalized-hong-kong-lon-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2020/01/13/little-mermaid-statue-vandalized-hong-kong-lon-orig.cnn”,”videoId”:”travel/2020/01/13/little-mermaid-statue-vandalized-hong-kong-lon-orig.cnn”,”videoUrl”:”/videos/travel/2020/01/13/little-mermaid-statue-vandalized-hong-kong-lon-orig.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_1C551C7D-DEDA-A1B6-1500-9FBAD8EB40C7″},{“descriptionPlainText”:”A dog named Pearl experienced an incredible weight loss journey when she began water therapy workouts. CNN affiliate KTMF has the story.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200110011802-dog-weight-loss-water-therapy-pkg-vpx-00003205-large-169.jpg”,”title”:”Dog loses half her body weight from water workouts”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/01/09/dog-weight-loss-water-therapy-pkg-vpx.ktmf/index.xml”,”videoLeafUrl”:”/videos/us/2020/01/09/dog-weight-loss-water-therapy-pkg-vpx.ktmf”,”videoId”:”us/2020/01/09/dog-weight-loss-water-therapy-pkg-vpx.ktmf”,”videoUrl”:”/videos/us/2020/01/09/dog-weight-loss-water-therapy-pkg-vpx.ktmf/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_570EF73B-9949-15B4-9C6E-895544292DB0″},{“descriptionPlainText”:”A service dog, Cooper, was reunited with one of his owners after she appealed to the community via CNN affiliate KMGH. Cooper serves a Navy veteran who has returned from service in the Middle East.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200110181704-service-dog-kmgh-cooper-large-169.jpg”,”title”:”See service dog reunite with his human”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/01/10/service-dog-found-acfc-goods-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/01/10/service-dog-found-acfc-goods-vpx.cnn”,”videoId”:”us/2020/01/10/service-dog-found-acfc-goods-vpx.cnn”,”videoUrl”:”/videos/us/2020/01/10/service-dog-found-acfc-goods-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_54258100-CE44-527C-D645-919F1605F5B2″},{“descriptionPlainText”:”A 6-year-old boy who has been battling cancer got a surprise standing ovation from his classmates when he returned to school after finishing his last round of chemotherapy.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200111142749-02-john-oliver-zippay-leukemia-classmates-large-169.jpg”,”title”:”6-year-old gets standing ovation after finishing chemo”,”videoCMSUrl”:”/video/data/3.0/video/us/2020/01/12/6-year-old-boy-cancer-classmates-ovation-nr-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/us/2020/01/12/6-year-old-boy-cancer-classmates-ovation-nr-vpx.cnn”,”videoId”:”us/2020/01/12/6-year-old-boy-cancer-classmates-ovation-nr-vpx.cnn”,”videoUrl”:”/videos/us/2020/01/12/6-year-old-boy-cancer-classmates-ovation-nr-vpx.cnn/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_A184FCB0-A104-2B80-D930-9782B8C261F2″},{“descriptionPlainText”:”An iHeartRadio receptionist had the surprise of her life when Will Smith popped in to say hello as she bid her coworkers goodbye. Smith explained on Instagram that he met her at the front desk before one of the first interviews of his career.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200112210618-02-will-smith-retirement-surprise-large-169.jpg”,”title”:”Will Smith’s ‘epic’ send-off for receptionist”,”videoCMSUrl”:”/video/data/3.0/video/entertainment/2020/01/13/will-smith-receptionist-surprise-mxp-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/entertainment/2020/01/13/will-smith-receptionist-surprise-mxp-vpx.hln”,”videoId”:”entertainment/2020/01/13/will-smith-receptionist-surprise-mxp-vpx.hln”,”videoUrl”:”/videos/entertainment/2020/01/13/will-smith-receptionist-surprise-mxp-vpx.hln/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_E11321F8-F445-A327-851B-9EB1FABB562E”},{“descriptionPlainText”:”A Cleveland Browns fan got an outrageous tattoo commemorating the brawl between the Browns’ Myles Garrett and Pittsburgh Steelers quarterback Mason Rudolph.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/200110075237-cleveland-browns-fan-gets-myles-garrett-brawl-tattoo-mxp-vpx-00000710-large-169.jpg”,”title”:”Browns fan gets epic tattoo of infamous brawl”,”videoCMSUrl”:”/video/data/3.0/video/sports/2020/01/10/cleveland-browns-fan-gets-myles-garrett-brawl-tattoo-mxp-vpx.hln/index.xml”,”videoLeafUrl”:”/videos/sports/2020/01/10/cleveland-browns-fan-gets-myles-garrett-brawl-tattoo-mxp-vpx.hln”,”videoId”:”sports/2020/01/10/cleveland-browns-fan-gets-myles-garrett-brawl-tattoo-mxp-vpx.hln”,”videoUrl”:”/videos/sports/2020/01/10/cleveland-browns-fan-gets-myles-garrett-brawl-tattoo-mxp-vpx.hln/video/playlists/stories-worth-watching/”,”surrogateKey”:”video_8383FFF8-F4D5-35A1-C6F7-8F6DEBE2AA25″}],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/2020/01/14/sinkhole-bus-china-lon-mrg.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-h9nrcy’,videoDescriptionDivId: ‘js-video_description-h9nrcy’,videoDurationDivId: ‘js-video_duration-h9nrcy’,videoTitleDivId: ‘js-leaf-video_headline-h9nrcy’,videoSourceDivId: ‘js-video_sourceName-h9nrcy’});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