Dozens dead after school bus hit by airstrike

‘);$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/08/09/yemen-bus-airstrike-vpx.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/180809124259-03-yemen-schoolbus-airstrike-grab-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180809124259-03-yemen-schoolbus-airstrike-grab-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180809124259-03-yemen-schoolbus-airstrike-grab-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180809124259-03-yemen-schoolbus-airstrike-grab-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180809124259-03-yemen-schoolbus-airstrike-grab-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180809124259-03-yemen-schoolbus-airstrike-grab-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180809124259-03-yemen-schoolbus-airstrike-grab-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Dozens are dead and wounded after an airstrike hit a bus carrying children in northern Yemen, according to the International Committee for the Red Cross (ICRC) and eyewitnesses.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180809124259-03-yemen-schoolbus-airstrike-grab-large-169.jpg”,”title”:”Dozens dead after school bus hit by airstrike”,”videoCMSUrl”:”http://rss.cnn.com/videos/world/2018/08/09/yemen-bus-airstrike-vpx.cnn”,”videoLeafUrl”:”http://rss.cnn.com/videos/world/2018/08/09/yemen-bus-airstrike-vpx.cnn”,”videoId”:”world/2018/08/09/yemen-bus-airstrike-vpx.cnn”,”videoUrl”:”http://rss.cnn.com/videos/world/2018/08/09/yemen-bus-airstrike-vpx.cnn”},{“descriptionPlainText”:”Dozens were killed and wounded in an airstrike on a bus carrying children in Yemen’s northern Saada province, according to the International Committee for the Red Cross and eyewitnesses.CNN’s Nima Elbagir reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180803135619-01-yemen-airstrike-0802-large-169.jpg”,”title”:”Dozens of children killed in Saudi-led airstrike on bus”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/world/2018/08/09/yemen-children-bus-attack-pkg-elbagir-vpx.cnn/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/world/2018/08/09/yemen-children-bus-attack-pkg-elbagir-vpx.cnn”,”videoId”:”world/2018/08/09/yemen-children-bus-attack-pkg-elbagir-vpx.cnn”,”videoUrl”:”http://rss.cnn.com/videos/world/2018/08/09/yemen-children-bus-attack-pkg-elbagir-vpx.cnn/video/playlists/unrest-in-yemen/”},{“descriptionPlainText”:”CNN’s Nic Robertson takes a deeper look at the civil war in Yemen, which has caused mass casualties, starvation and an outbreak of cholera.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180130091235-yemen-civil-war-large-169.jpg”,”title”:”Why Yemen’s civil war is far from over”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/world/2018/01/29/yemen-civil-war-nic-robertson-sje-lon-orig-explr.cnn/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/world/2018/01/29/yemen-civil-war-nic-robertson-sje-lon-orig-explr.cnn”,”videoId”:”world/2018/01/29/yemen-civil-war-nic-robertson-sje-lon-orig-explr.cnn”,”videoUrl”:”http://rss.cnn.com/videos/world/2018/01/29/yemen-civil-war-nic-robertson-sje-lon-orig-explr.cnn/video/playlists/unrest-in-yemen/”},{“descriptionPlainText”:”CNN’s Nic Robertson gets to see the cost of war up close in an exclusive embed with the Saudi-led coalition.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180129010353-yemen-front-lines-large-169.jpg”,”title”:”CNN gets exclusive access inside Yemen”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/world/2018/01/29/war-in-yemen-robertson-pkg-cnni.cnn/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/world/2018/01/29/war-in-yemen-robertson-pkg-cnni.cnn”,”videoId”:”world/2018/01/29/war-in-yemen-robertson-pkg-cnni.cnn”,”videoUrl”:”http://rss.cnn.com/videos/world/2018/01/29/war-in-yemen-robertson-pkg-cnni.cnn/video/playlists/unrest-in-yemen/”},{“descriptionPlainText”:”CNN’s Becky Anderson goes aboard a Unites Arab Emirates military plane that delivers aid to war-inflicted Yemen.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180726040040-yemen-aid-drop-becky-anderson-large-169.jpg”,”title”:”CNN gets rare access to aid drop over Yemen”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/world/2018/07/26/yemen-humanitarian-aid-uae-plane-anderson-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/world/2018/07/26/yemen-humanitarian-aid-uae-plane-anderson-pkg-vpx.cnn”,”videoId”:”world/2018/07/26/yemen-humanitarian-aid-uae-plane-anderson-pkg-vpx.cnn”,”videoUrl”:”http://rss.cnn.com/videos/world/2018/07/26/yemen-humanitarian-aid-uae-plane-anderson-pkg-vpx.cnn/video/playlists/unrest-in-yemen/”},{“descriptionPlainText”:”CNN’s Nick Paton Walsh provides a rare window into the fight for Yemen’s vital port city, Hodeida. The UN says the fight could kill 250,000 people and leave 20 million without food aid.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180626133214-battle-for-yemen-port-hodeida-walsh-pkg-vpx-00004608-large-169.jpg”,”title”:”Inside the battle for Yemen”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/world/2018/06/26/battle-for-yemen-port-hodeida-walsh-pkg-vpx.cnn/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/world/2018/06/26/battle-for-yemen-port-hodeida-walsh-pkg-vpx.cnn”,”videoId”:”world/2018/06/26/battle-for-yemen-port-hodeida-walsh-pkg-vpx.cnn”,”videoUrl”:”http://rss.cnn.com/videos/world/2018/06/26/battle-for-yemen-port-hodeida-walsh-pkg-vpx.cnn/video/playlists/unrest-in-yemen/”},{“descriptionPlainText”:”An operation to recapture the northwestern Yemeni port city of Hodeidah got underway on June 13, potentially putting a quarter of a million people at risk. CNN’s Sam Kiley reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180613164138-03-yemen-coalition-forces-video-card-large-169.jpg”,”title”:”Saudi-backed forces attack Yemen port”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/tv/2018/06/13/saudi-backed-forces-attack-yemen-port-kiley.cnn/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/tv/2018/06/13/saudi-backed-forces-attack-yemen-port-kiley.cnn”,”videoId”:”tv/2018/06/13/saudi-backed-forces-attack-yemen-port-kiley.cnn”,”videoUrl”:”http://rss.cnn.com/videos/tv/2018/06/13/saudi-backed-forces-attack-yemen-port-kiley.cnn/video/playlists/unrest-in-yemen/”},{“descriptionPlainText”:”Every month, more than 7,000 migrants and refugees from the Horn of Africa make the perilous journey across the Red Sea to Yemen in search of a better life. CNN’s Ben Wedeman reports from their journey.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180610051012-yemen-african-migration-large-169.jpg”,”title”:”Migrants cross Yemen in search of better life”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/world/2018/06/10/yemen-african-migration-wedeman-pkg.cnn/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/world/2018/06/10/yemen-african-migration-wedeman-pkg.cnn”,”videoId”:”world/2018/06/10/yemen-african-migration-wedeman-pkg.cnn”,”videoUrl”:”http://rss.cnn.com/videos/world/2018/06/10/yemen-african-migration-wedeman-pkg.cnn/video/playlists/unrest-in-yemen/”},{“descriptionPlainText”:”Saudi Arabia’s air force intercepted and destroyed seven missiles fired from Yemen, the Saudis said in a statement.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180326024606-saudi-arabia-intercepts-missiles-large-169.jpg”,”title”:”Watch Saudi Arabia intercept, destroy missiles”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/world/2018/03/26/saudi-arabia-intercepts-missiles-abc-orig-vstop.cnn/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/world/2018/03/26/saudi-arabia-intercepts-missiles-abc-orig-vstop.cnn”,”videoId”:”world/2018/03/26/saudi-arabia-intercepts-missiles-abc-orig-vstop.cnn”,”videoUrl”:”http://rss.cnn.com/videos/world/2018/03/26/saudi-arabia-intercepts-missiles-abc-orig-vstop.cnn/video/playlists/unrest-in-yemen/”},{“descriptionPlainText”:”Yemen’s war has triggered a string of humanitarian problems including the prevalence of child soldiers. CNN’s Nic Robertson reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180201170536-01-cnn-yemen-child-soldiers-large-169.jpg”,”title”:”Yemen’s ex-child soldiers tell their stories”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/world/2018/02/02/child-soldiers-yemen-pkg-robertson.cnn/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/world/2018/02/02/child-soldiers-yemen-pkg-robertson.cnn”,”videoId”:”world/2018/02/02/child-soldiers-yemen-pkg-robertson.cnn”,”videoUrl”:”http://rss.cnn.com/videos/world/2018/02/02/child-soldiers-yemen-pkg-robertson.cnn/video/playlists/unrest-in-yemen/”},{“descriptionPlainText”:”Since the conflict in Yemen escalated, more than two-thirds of girls are married before they turn 18. Halima is 12 years old and is worried her father will soon marry her off and use her dowry to feed the family.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180122120249-yemen-child-marriage-halima-abdullah-large-169.jpg”,”title”:”Choosing between a daughter and her dowry”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/world/2018/01/22/yemen-child-marriage-lon-orig-ek.cnn/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/world/2018/01/22/yemen-child-marriage-lon-orig-ek.cnn”,”videoId”:”world/2018/01/22/yemen-child-marriage-lon-orig-ek.cnn”,”videoUrl”:”http://rss.cnn.com/videos/world/2018/01/22/yemen-child-marriage-lon-orig-ek.cnn/video/playlists/unrest-in-yemen/”},{“descriptionPlainText”:”CNN is the first news crew to be shown the missile that was fired by Houthis in Yemen and was intercepted by Saudis near Riyadh last month.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180117151426-houthi-missile-intercept-saudi-arabia-yemen-nic-robertson-pkg-00000000-large-169.jpg”,”title”:”See Houthi missile intercepted by Saudis”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/world/2018/01/17/houthi-missile-intercept-saudi-arabia-yemen-nic-robertson-pkg.cnn/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/world/2018/01/17/houthi-missile-intercept-saudi-arabia-yemen-nic-robertson-pkg.cnn”,”videoId”:”world/2018/01/17/houthi-missile-intercept-saudi-arabia-yemen-nic-robertson-pkg.cnn”,”videoUrl”:”http://rss.cnn.com/videos/world/2018/01/17/houthi-missile-intercept-saudi-arabia-yemen-nic-robertson-pkg.cnn/video/playlists/unrest-in-yemen/”},{“descriptionPlainText”:”Houthi rebels in Yemen are threatening to block a vital shipping lane through the Red Sea unless the Saudi-led coalition stops its assault on Houthi targets. CNN’s Nic Robertson has more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180111040300-houthis-boat-explosion-large-169.jpg”,”title”:”Saudi military says it blew up rebel speedboat”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/world/2018/01/11/yemen-houthis-threat-block-red-sea-shipping-lane-lkl-robertson.cnn/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/world/2018/01/11/yemen-houthis-threat-block-red-sea-shipping-lane-lkl-robertson.cnn”,”videoId”:”world/2018/01/11/yemen-houthis-threat-block-red-sea-shipping-lane-lkl-robertson.cnn”,”videoUrl”:”http://rss.cnn.com/videos/world/2018/01/11/yemen-houthis-threat-block-red-sea-shipping-lane-lkl-robertson.cnn/video/playlists/unrest-in-yemen/”},{“descriptionPlainText”:”The Saudi Arabia-led coalition fighting Houthi rebels in Yemen has said a ballistic missile was intercepted over the Saudi capital of Riyadh. CNN’s Ben Wedeman reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171219191023-yemen-rebels-target-saudi-ben-wedeman-00013212-large-169.jpg”,”title”:”Yemen rebels fire missile on Saudi capital”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/world/2017/12/19/yemen-rebels-target-saudi-ben-wedeman.cnn/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/world/2017/12/19/yemen-rebels-target-saudi-ben-wedeman.cnn”,”videoId”:”world/2017/12/19/yemen-rebels-target-saudi-ben-wedeman.cnn”,”videoUrl”:”http://rss.cnn.com/videos/world/2017/12/19/yemen-rebels-target-saudi-ben-wedeman.cnn/video/playlists/unrest-in-yemen/”},{“descriptionPlainText”:”Hunger has always been a problem in Yemen, but two and a half years of war has starved the country. CNN’s Clarissa Ward reports a famine in Yemen would be the largest the world has seen in decades.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171219032905-silent-starvation-yemen-famine-ward-pkg-00020023-large-169.jpg”,”title”:”Yemeni children are silently starving to death”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/world/2017/12/19/silent-starvation-yemen-famine-ward-pkg.cnn/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/world/2017/12/19/silent-starvation-yemen-famine-ward-pkg.cnn”,”videoId”:”world/2017/12/19/silent-starvation-yemen-famine-ward-pkg.cnn”,”videoUrl”:”http://rss.cnn.com/videos/world/2017/12/19/silent-starvation-yemen-famine-ward-pkg.cnn/video/playlists/unrest-in-yemen/”},{“descriptionPlainText”:”CNN’s Clarissa Ward gained rare access to war-stricken Yemen, where she witnessed a humanitarian crisis, but not as you know it.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171218231831-yemen-crisis-reflections-1-large-169.jpg”,”title”:”Clarissa Ward: Reflections from Yemen”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/world/2017/12/18/clarissa-ward-yemen-crisis-reflections-sdg-lon-orig.cnn/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/world/2017/12/18/clarissa-ward-yemen-crisis-reflections-sdg-lon-orig.cnn”,”videoId”:”world/2017/12/18/clarissa-ward-yemen-crisis-reflections-sdg-lon-orig.cnn”,”videoUrl”:”http://rss.cnn.com/videos/world/2017/12/18/clarissa-ward-yemen-crisis-reflections-sdg-lon-orig.cnn/video/playlists/unrest-in-yemen/”}],currentVideoCollectionId = ”,isLivePlayer = false,mediaMetadataCallbacks,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/08/09/yemen-bus-airstrike-vpx.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-1a7qsvr’,videoDescriptionDivId: ‘js-video_description-1a7qsvr’,videoDurationDivId: ‘js-video_duration-1a7qsvr’,videoTitleDivId: ‘js-leaf-video_headline-1a7qsvr’,videoSourceDivId: ‘js-video_sourceName-1a7qsvr’});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 *

*

code