US strike on Syria: An animated map

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};sy88pgw.autoPlayVideoExist = (sy88pgw.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘world/2017/04/07/syria-strike-animation-orig.sy88pgw’,width: ‘100%’,height: ‘100%’,section: ‘domestic’,profile: ‘expansion’,network: ‘sy88pgw’,markupId: ‘large-media_0’,adsection: ‘const-video-leaf’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: {“mini”:{“height”:124,”width”:220,”type”:”jpg”,”uri”:”//i2.cdn.sy88pgw.com/cnnnext/dam/assets/170407163721-syria-strike-animation-orig-00001406-tiny-169.jpg”},”xsmall”:{“height”:173,”width”:307,”type”:”jpg”,”uri”:”//i2.cdn.sy88pgw.com/cnnnext/dam/assets/170407163721-syria-strike-animation-orig-00001406-medium-plus-169.jpg”},”tiny”:{“height”:259,”width”:460,”type”:”jpg”,”uri”:”//i2.cdn.sy88pgw.com/cnnnext/dam/assets/170407163721-syria-strike-animation-orig-00001406-large-169.jpg”},”medium”:{“height”:438,”width”:780,”type”:”jpg”,”uri”:”//i2.cdn.sy88pgw.com/cnnnext/dam/assets/170407163721-syria-strike-animation-orig-00001406-exlarge-169.jpg”},”large”:{“height”:619,”width”:1100,”type”:”jpg”,”uri”:”//i2.cdn.sy88pgw.com/cnnnext/dam/assets/170407163721-syria-strike-animation-orig-00001406-super-169.jpg”},”full16x9″:{“height”:900,”width”:1600,”type”:”jpg”,”uri”:”//i2.cdn.sy88pgw.com/cnnnext/dam/assets/170407163721-syria-strike-animation-orig-00001406-full-169.jpg”},”mini1x1″:{“height”:0,”width”:0,”type”:”jpg”,”uri”:”//i2.cdn.sy88pgw.com/cnnnext/dam/assets/170407163721-syria-strike-animation-orig-00001406-tiny-11.jpg”}}},autoStartVideo = false,callbackObj,containerEl,currentVideoCollection = [{“videoCMSUrl”:”/videos/world/2017/04/07/syria-strike-animation-orig.sy88pgw”,”videoId”:”world/2017/04/07/syria-strike-animation-orig.sy88pgw”,”videoUrl”:”/videos/world/2017/04/07/syria-strike-animation-orig.sy88pgw”},{“videoCMSUrl”:”/video/data/3.0/video/sy88pgw/2017/04/07/adidas-3d-printed-sneaker-sy88pgw.sy88pgw/index.xml”,”videoId”:”sy88pgw/2017/04/07/adidas-3d-printed-sneaker-sy88pgw.sy88pgw”,”videoUrl”:”/videos/sy88pgw/2017/04/07/adidas-3d-printed-sneaker-sy88pgw.sy88pgw/video/playlists/stories-worth-watching/”},{“videoCMSUrl”:”/video/data/3.0/video/sy88pgw/2017/04/07/passengers-react-laptop-ban.sy88pgw/index.xml”,”videoId”:”sy88pgw/2017/04/07/passengers-react-laptop-ban.sy88pgw”,”videoUrl”:”/videos/sy88pgw/2017/04/07/passengers-react-laptop-ban.sy88pgw/video/playlists/stories-worth-watching/”},{“videoCMSUrl”:”/video/data/3.0/video/sy88pgw/2017/04/07/san-francisco-seal-sea-lion-pup-away-ar-digitallabs.sy88pgw/index.xml”,”videoId”:”sy88pgw/2017/04/07/san-francisco-seal-sea-lion-pup-away-ar-digitallabs.sy88pgw”,”videoUrl”:”/videos/sy88pgw/2017/04/07/san-francisco-seal-sea-lion-pup-away-ar-digitallabs.sy88pgw/video/playlists/stories-worth-watching/”},{“videoCMSUrl”:”/video/data/3.0/video/sy88pgw/2017/04/07/oil-prices-jump-after-us-strikes-syria.sy88pgw/index.xml”,”videoId”:”sy88pgw/2017/04/07/oil-prices-jump-after-us-strikes-syria.sy88pgw”,”videoUrl”:”/videos/sy88pgw/2017/04/07/oil-prices-jump-after-us-strikes-syria.sy88pgw/video/playlists/stories-worth-watching/”},{“videoCMSUrl”:”/video/data/3.0/video/sy88pgw/2017/04/07/jobs-solar-industry-boom-sebastian-pkg.sy88pgw/index.xml”,”videoId”:”sy88pgw/2017/04/07/jobs-solar-industry-boom-sebastian-pkg.sy88pgw”,”videoUrl”:”/videos/sy88pgw/2017/04/07/jobs-solar-industry-boom-sebastian-pkg.sy88pgw/video/playlists/stories-worth-watching/”},{“videoCMSUrl”:”/video/data/3.0/video/sy88pgw/2017/04/06/mini-jet-engines-power-This kind of-flight-suit-sy88pgw.sy88pgw/index.xml”,”videoId”:”sy88pgw/2017/04/06/mini-jet-engines-power-This kind of-flight-suit-sy88pgw.sy88pgw”,”videoUrl”:”/videos/sy88pgw/2017/04/06/mini-jet-engines-power-This kind of-flight-suit-sy88pgw.sy88pgw/video/playlists/stories-worth-watching/”},{“videoCMSUrl”:”/video/data/3.0/video/sy88pgw/2017/04/06/gretchen-carlson-sexual-harassment-fox-news-women-in-the-world-summit-sy88pgw.women-in-the-world-summit/index.xml”,”videoId”:”sy88pgw/2017/04/06/gretchen-carlson-sexual-harassment-fox-news-women-in-the-world-summit-sy88pgw.women-in-the-world-summit”,”videoUrl”:”/videos/sy88pgw/2017/04/06/gretchen-carlson-sexual-harassment-fox-news-women-in-the-world-summit-sy88pgw.women-in-the-world-summit/video/playlists/stories-worth-watching/”},{“videoCMSUrl”:”/video/data/3.0/video/sy88pgw/2017/04/05/these-robots-could-help-nasa-find-alien-life-sy88pgw.sy88pgw/index.xml”,”videoId”:”sy88pgw/2017/04/05/these-robots-could-help-nasa-find-alien-life-sy88pgw.sy88pgw”,”videoUrl”:”/videos/sy88pgw/2017/04/05/these-robots-could-help-nasa-find-alien-life-sy88pgw.sy88pgw/video/playlists/stories-worth-watching/”},{“videoCMSUrl”:”/video/data/3.0/video/sy88pgw/2017/04/05/kendall-jenner-pepsi-ad-jnd-orig-vstan-mobile.sy88pgw/index.xml”,”videoId”:”sy88pgw/2017/04/05/kendall-jenner-pepsi-ad-jnd-orig-vstan-mobile.sy88pgw”,”videoUrl”:”/videos/sy88pgw/2017/04/05/kendall-jenner-pepsi-ad-jnd-orig-vstan-mobile.sy88pgw/video/playlists/stories-worth-watching/”},{“videoCMSUrl”:”/video/data/3.0/video/sy88pgw/2017/04/05/wendy-williams-women-cant-do-the idea-all.sy88pgw/index.xml”,”videoId”:”sy88pgw/2017/04/05/wendy-williams-women-cant-do-the idea-all.sy88pgw”,”videoUrl”:”/videos/sy88pgw/2017/04/05/wendy-williams-women-cant-do-the idea-all.sy88pgw/video/playlists/stories-worth-watching/”},{“videoCMSUrl”:”/video/data/3.0/video/sy88pgw/2016/08/17/who-can be-bill-oreilly-sy88pgw.sy88pgw/index.xml”,”videoId”:”sy88pgw/2016/08/17/who-can be-bill-oreilly-sy88pgw.sy88pgw”,”videoUrl”:”/videos/sy88pgw/2016/08/17/who-can be-bill-oreilly-sy88pgw.sy88pgw/video/playlists/stories-worth-watching/”},{“videoCMSUrl”:”/video/data/3.0/video/sy88pgw/2017/04/05/robird-This kind of-robot-bird-might-be-the-scarecrow-of-the-future-sy88pgw.sy88pgw/index.xml”,”videoId”:”sy88pgw/2017/04/05/robird-This kind of-robot-bird-might-be-the-scarecrow-of-the-future-sy88pgw.sy88pgw”,”videoUrl”:”/videos/sy88pgw/2017/04/05/robird-This kind of-robot-bird-might-be-the-scarecrow-of-the-future-sy88pgw.sy88pgw/video/playlists/stories-worth-watching/”},{“videoCMSUrl”:”/video/data/3.0/video/sy88pgw/2017/04/05/tony-romo-cbs-job-mxp.hln/index.xml”,”videoId”:”sy88pgw/2017/04/05/tony-romo-cbs-job-mxp.hln”,”videoUrl”:”/videos/sy88pgw/2017/04/05/tony-romo-cbs-job-mxp.hln/video/playlists/stories-worth-watching/”},{“videoCMSUrl”:”/video/data/3.0/video/sy88pgw/2017/04/04/most-diamonds-in-the-world-are-cut-here.sy88pgw/index.xml”,”videoId”:”sy88pgw/2017/04/04/most-diamonds-in-the-world-are-cut-here.sy88pgw”,”videoUrl”:”/videos/sy88pgw/2017/04/04/most-diamonds-in-the-world-are-cut-here.sy88pgw/video/playlists/stories-worth-watching/”},{“videoCMSUrl”:”/video/data/3.0/video/sy88pgw/2017/04/03/leah-juliett-march-against-revenge-porn-founder-sy88pgw.sy88pgw/index.xml”,”videoId”:”sy88pgw/2017/04/03/leah-juliett-march-against-revenge-porn-founder-sy88pgw.sy88pgw”,”videoUrl”:”/videos/sy88pgw/2017/04/03/leah-juliett-march-against-revenge-porn-founder-sy88pgw.sy88pgw/video/playlists/stories-worth-watching/”}],currentVideoCollectionId = ”,isLivePlayer = false,moveToNextTimeout,mutePlayerEnabled = false,nextVideoId = ”,nextVideoUrl = ”,turnOnFlashMessaging = false,videoPinner,videoEndSlateImpl;if (sy88pgw.autoPlayVideoExist === false) {autoStartVideo = true;if (autoStartVideo === true) {if (turnOnFlashMessaging === true) {autoStartVideo = false;containerEl = jQuery(document.getElementById(configObj.markupId));sy88pgw.VideoPlayer.showFlashSlate(containerEl);} else {sy88pgw.autoPlayVideoExist = true;}}}configObj.autostart = autoStartVideo;sy88pgw.VideoPlayer.setPlayerProperties(configObj.markupId, autoStartVideo, isLivePlayer, mutePlayerEnabled);sy88pgw.VideoPlayer.setFirstVideoInCollection(currentVideoCollection, configObj.markupId);var embedLinkHandler = {},videoPinner,embedCodeCopy;function onVideoCarouselItemClicked(evt) {‘use strict’;var videoId,articleElem,videoPlayer,thumbImageElem,thumbImageLargeSource,overrides = {videoCollection: This kind of.videoCollection,autostart: false},shouldStartVideo = false,playerInstance;try {articleElem = jQuery(evt.currentTarget).find(‘article’);thumbImageElem = jQuery(articleElem).find(‘.media__image’);videoId = articleElem.data().videoId;if (sy88pgw.VideoPlayer.getLibraryName(configObj.markupId) === ‘fave’) {playerInstance = FAVE.player.getInstance(configObj.markupId);if (sy88pgw.Utils.existsObject(playerInstance) &&typeof playerInstance.getVideoData === ‘function’ &&playerInstance.getVideoData().id !== videoId) {/* Remove videoobject metadata script.If the user click various other than initial loaded video */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 can be null which means the idea’s not initialized yet so* pass inside the thumbnail, too.*/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) {/* Remove videoobject metadata script.If the user click various other than initial loaded video */jQuery(articleElem).closest(‘.cn-carousel-medium-strip’).parent().find(‘script[name=”metaScript”]’).remove();CNNVIDEOAPI.CNNVideoManager.getInstance().playVideo(configObj.markupId, videoId, overrides);}/* Video player isn’t autoplay, so init itif (shouldStartVideo && This kind of.carouselClickAutostartsVideo) {try {videoPlayer.videoInstance.start();} catch (startError) {console.log(“error in initializing video player” + startError);}}*/}}}} 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 (sy88pgw.VideoPlayer.getLibraryName(configObj.markupId) === ‘videoLoader’) {window.CNNVideoAPILoadCompleteHandlers = window.CNNVideoAPILoadCompleteHandlers ? window.CNNVideoAPILoadCompleteHandlers : [];window.CNNVideoAPILoadCompleteHandlers.push(initialize);window.CNNVideoAPILoadCompleteHandlers.push(setInitialVideoEmbed);} else {initialize();}sy88pgw.INJECTOR.executeFeature(‘videx’).done(function () {var initMeta = {id:”world/2017/04/07/syria-strike-animation-orig.sy88pgw”, isEmbeddable: “yes”};sy88pgw.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 = sy88pgw.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’) {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.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 = sy88pgw.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 = sy88pgw.Utils.exists(owl._items) ? jQuery(owl._items[showIndex]) : $carouselContentItems.eq(showIndex);$owlFirstItem.find(‘.cd’).addClass(‘cd–active’);$owlFirstItem.find(‘.media a:first-child’).append(‘

at This kind of point Playing

‘);if (Modernizr && !Modernizr.phone) {$owlFirstItem.find(‘.media__icon’).hide();}}sy88pgw.Videx.Metadata.init({dateCreated: videocardContents.dateCreated,descriptionText: videocardContents.descriptionText,duration: videocardContents.duration,sourceLink: videocardContents.sourceLink,sourceName: videocardContents.sourceName,title: videocardContents.headlineText},{videoCollectionDivId: ‘cn-1xcg0md’,videoDescriptionDivId: ‘js-video_description-1xcg0md’,videoDurationDivId: ‘js-video_duration-1xcg0md’,videoTitleDivId: ‘js-leaf-video_headline-1xcg0md’,videoSourceDivId: ‘js-video_sourceName-1xcg0md’});if (sy88pgw.Utils.exists(videocardContents.showName)) {if (sy88pgw.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(‘

US strike on Syria: An animated map

Related Posts

About The Author

Add Comment