‘);$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/01/29/war-in-yemen-robertson-pkg-cnni.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/180129010353-yemen-front-lines-small-169.jpg”},”xsmall”:{“height”:173,”width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180129010353-yemen-front-lines-medium-plus-169.jpg”},”small”:{“height”:259,”width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180129010353-yemen-front-lines-large-169.jpg”},”medium”:{“height”:438,”width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180129010353-yemen-front-lines-exlarge-169.jpg”},”large”:{“height”:619,”width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180129010353-yemen-front-lines-super-169.jpg”},”full16x9″:{“height”:900,”width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180129010353-yemen-front-lines-full-169.jpg”},”mini1x1″:{“height”:120,”width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180129010353-yemen-front-lines-small-11.jpg”}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“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”:”/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”:”/videos/world/2018/01/29/war-in-yemen-robertson-pkg-cnni.cnn”},{“descriptionPlainText”:”After Sen. John McCain criticized the deadly outcome of a US military raid in Yemen, White House Press Secretary Sean Spicer fired back, saying that calling the mission anything other than a success was an insult to the Navy SEAL who was killed during the operation.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170104080004-john-mccain-large-169.jpg”,”title”:”McCain and White House spar over Yemen raid”,”videoCMSUrl”:”/video/data/3.0/video/politics/2017/02/08/yemen-raid-fallout-sciutto-dnt-lead.cnn/index.xml”,”videoId”:”politics/2017/02/08/yemen-raid-fallout-sciutto-dnt-lead.cnn”,”videoUrl”:”/videos/politics/2017/02/08/yemen-raid-fallout-sciutto-dnt-lead.cnn/video/playlists/unrest-in-yemen/”},{“descriptionPlainText”:”After a raid on an al Qaeda compound in Yemen, a top leader of the group released an audio message mocking President Donald Trump as “the new fool of the White House.””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170207115749-al-qaeda-leader-taunts-trump-ath-00001201-large-169.jpg”,”title”:”Al Qaeda leader taunts Trump after Yemen raid”,”videoCMSUrl”:”/video/data/3.0/video/world/2017/02/07/al-qaeda-leader-taunts-trump-ath.cnn/index.xml”,”videoId”:”world/2017/02/07/al-qaeda-leader-taunts-trump-ath.cnn”,”videoUrl”:”/videos/world/2017/02/07/al-qaeda-leader-taunts-trump-ath.cnn/video/playlists/unrest-in-yemen/”},{“descriptionPlainText”:”The main target of the US Navy SEAL raid in Yemen was the leader of Al Qaeda in the Arabian Peninsula, Qassim al-Rimi, according to a senior US military official. CNN’s Jim Sciutto has more.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170201214512-d1-yemen-raid-2-large-169.jpg”,”title”:”Target of Yemen raid was Al Qaeda leader”,”videoCMSUrl”:”/video/data/3.0/video/politics/2017/02/06/target-of-yemen-raid-al-qaeda-leader-sot-tsr.cnn/index.xml”,”videoId”:”politics/2017/02/06/target-of-yemen-raid-al-qaeda-leader-sot-tsr.cnn”,”videoUrl”:”/videos/politics/2017/02/06/target-of-yemen-raid-al-qaeda-leader-sot-tsr.cnn/video/playlists/unrest-in-yemen/”},{“descriptionPlainText”:”The US military is scrambling to explain an embarrassing mix-up after it released video obtained from Sunday’s raid in Yemen that turned out to have already been published online.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170203175723-yemen-raid-video-release-sciutto-tsr-00002303-large-169.jpg”,”title”:”Military releases old video found in Yemen raid”,”videoCMSUrl”:”/video/data/3.0/video/politics/2017/02/03/yemen-raid-video-release-sciutto-tsr.cnn/index.xml”,”videoId”:”politics/2017/02/03/yemen-raid-video-release-sciutto-tsr.cnn”,”videoUrl”:”/videos/politics/2017/02/03/yemen-raid-video-release-sciutto-tsr.cnn/video/playlists/unrest-in-yemen/”},{“descriptionPlainText”:”Amid White House comments on the deadly Yemen raid that killed a US service member, new details have emerged on what happened that night. CNN’s Jake Tapper reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170131173739-owens-navy-seal-large-169.jpg”,”title”:”White House: Yemen raid not 100% success”,”videoCMSUrl”:”/video/data/3.0/video/politics/2017/02/01/yemen-raid-details-tapper-lead-dnt.cnn/index.xml”,”videoId”:”politics/2017/02/01/yemen-raid-details-tapper-lead-dnt.cnn”,”videoUrl”:”/videos/politics/2017/02/01/yemen-raid-details-tapper-lead-dnt.cnn/video/playlists/unrest-in-yemen/”},{“descriptionPlainText”:”CNN’s Jake Tapper reports on President Donald Trump’s first counterterrorism raid.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170131174331-first-us-combat-death-under-trump-lead-tapper-dnt-00013128-large-169.jpg”,”title”:”Al-Awlaki’s 8-year-old reported killed in Yemen raid”,”videoCMSUrl”:”/video/data/3.0/video/tv/2017/01/31/first-us-combat-death-under-trump-lead-tapper-dnt.cnn/index.xml”,”videoId”:”tv/2017/01/31/first-us-combat-death-under-trump-lead-tapper-dnt.cnn”,”videoUrl”:”/videos/tv/2017/01/31/first-us-combat-death-under-trump-lead-tapper-dnt.cnn/video/playlists/unrest-in-yemen/”},{“descriptionPlainText”:”White House Press Secretary Sean Spicer said 14 al Qaeda in the Arabian Peninsula (AQAP) members were killed in Yemen in the first military raid carried out under President Donald Trump.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170131131136-01-sean-spicer-screengrab-presser-0131-large-169.jpg”,”title”:”White House: 14 al Qaeda members killed”,”videoCMSUrl”:”/video/data/3.0/video/politics/2017/01/31/spicer-white-house-briefing-yemen-raid-sot.cnn/index.xml”,”videoId”:”politics/2017/01/31/spicer-white-house-briefing-yemen-raid-sot.cnn”,”videoUrl”:”/videos/politics/2017/01/31/spicer-white-house-briefing-yemen-raid-sot.cnn/video/playlists/unrest-in-yemen/”},{“descriptionPlainText”:”A US service member died of wounds suffered during a raid in Yemen against al Qaeda — the first American combat death under President Donald Trump, US Central Command said Sunday.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170129145428-us-service-member-killed-in-raid-browne-nr-00000000-large-169.jpg”,”title”:”US service member killed in raid”,”videoCMSUrl”:”/video/data/3.0/video/us/2017/01/29/us-service-member-killed-in-raid-browne-nr.cnn/index.xml”,”videoId”:”us/2017/01/29/us-service-member-killed-in-raid-browne-nr.cnn”,”videoUrl”:”/videos/us/2017/01/29/us-service-member-killed-in-raid-browne-nr.cnn/video/playlists/unrest-in-yemen/”},{“descriptionPlainText”:”A bombing at a crowded mosque in Yemen’s capital has killed dozens.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/150924022730-yemen-mosque-bombing-almasmari-cnnr-nr-lklv-00012121-large-169.jpg”,”title”:”Deadly mosque bombing in Yemen”,”videoCMSUrl”:”/video/data/3.0/video/world/2015/09/24/yemen-mosque-bombing-almasmari-cnnr-nr-lklv.cnn/index.xml”,”videoId”:”world/2015/09/24/yemen-mosque-bombing-almasmari-cnnr-nr-lklv.cnn”,”videoUrl”:”/videos/world/2015/09/24/yemen-mosque-bombing-almasmari-cnnr-nr-lklv.cnn/video/playlists/unrest-in-yemen/”},{“descriptionPlainText”:”The head of Doctors Without Borders in Yemen says that a country that was already one of the poorest in the world is suffering from severe shortages.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/150804193932-restricted-yemen-amanpour-large-169.jpg”,”title”:”Video reveals human toll of war in Yemen”,”videoCMSUrl”:”/video/data/3.0/video/world/2015/08/04/intv-yemen-pleitgen-amanpour-hassan-boucenine.cnn/index.xml”,”videoId”:”world/2015/08/04/intv-yemen-pleitgen-amanpour-hassan-boucenine.cnn”,”videoUrl”:”/videos/world/2015/08/04/intv-yemen-pleitgen-amanpour-hassan-boucenine.cnn/video/playlists/unrest-in-yemen/”},{“descriptionPlainText”:”Saudi Arabia is now the world’s third largest military spender, beating long-time number three, Russia – spending over $87 billion.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/151209152537-saudi-military-large-169.jpg”,”title”:”Saudi Arabia now spends more than Russia on defense”,”videoCMSUrl”:”/video/data/3.0/video/world/2016/04/06/saudi-arabia-third-largest-global-military-spender-orig.cnn/index.xml”,”videoId”:”world/2016/04/06/saudi-arabia-third-largest-global-military-spender-orig.cnn”,”videoUrl”:”/videos/world/2016/04/06/saudi-arabia-third-largest-global-military-spender-orig.cnn/video/playlists/unrest-in-yemen/”},{“descriptionPlainText”:”British comedian Eddie Izzard speaks to CNN’s Hala Gorani about why he’s chosen to advocate for refugees from Yemen, the country where he was born.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/150717161534-refugee-crisis-yemen-eddie-izzard-intv-wrn-00044709-large-169.jpg”,”title”:”Eddie Izzard on helping Yemen’s ‘forgotten’ refugees”,”videoCMSUrl”:”/video/data/3.0/video/world/2015/07/17/refugee-crisis-yemen-eddie-izzard-intv-wrn.cnn/index.xml”,”videoId”:”world/2015/07/17/refugee-crisis-yemen-eddie-izzard-intv-wrn.cnn”,”videoUrl”:”/videos/world/2015/07/17/refugee-crisis-yemen-eddie-izzard-intv-wrn.cnn/video/playlists/unrest-in-yemen/”},{“descriptionPlainText”:”CNN’s Elise Labott reports that Nasr Ibn Ali al-Ansi, an AQAP senior commander, was killed in a U.S. drone strike.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/150114212331-nasr-ibn-ali-al-ansi-large-169.jpg”,”title”:”AQAP senior commander killed in U.S. drone strike”,”videoCMSUrl”:”/video/data/3.0/video/world/2015/05/07/tsr-dnt-labott-aqap-senior-commander-killed-us-drone-strike.cnn/index.xml”,”videoId”:”world/2015/05/07/tsr-dnt-labott-aqap-senior-commander-killed-us-drone-strike.cnn”,”videoUrl”:”/videos/world/2015/05/07/tsr-dnt-labott-aqap-senior-commander-killed-us-drone-strike.cnn/video/playlists/unrest-in-yemen/”}],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 = {videoCollection: this.videoCollection,autostart: false},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/01/29/war-in-yemen-robertson-pkg-cnni.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-1j6ykny’,videoDescriptionDivId: ‘js-video_description-1j6ykny’,videoDurationDivId: ‘js-video_duration-1j6ykny’,videoTitleDivId: ‘js-leaf-video_headline-1j6ykny’,videoSourceDivId: ‘js-video_sourceName-1j6ykny’});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

NO COMMENTS