‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘world/2017/04/10/sweden-mourns-after-terror-attack-foster-pkg.cnn’,width: ‘100%’,height: ‘100%’,section: ‘domestic’,profile: ‘expansion’,network: ‘cnn’,markupId: ‘large-media_0’,adsection: ‘const-article-carousel-pagetop’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: {“mini”:{“height”:124,”width”:220,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170408170838-stockholm-memorial-small-169.jpg”},”xsmall”:{“height”:173,”width”:307,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170408170838-stockholm-memorial-medium-plus-169.jpg”},”small”:{“height”:259,”width”:460,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170408170838-stockholm-memorial-large-169.jpg”},”medium”:{“height”:438,”width”:780,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170408170838-stockholm-memorial-exlarge-169.jpg”},”large”:{“height”:619,”width”:1100,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170408170838-stockholm-memorial-super-169.jpg”},”full16x9″:{“height”:900,”width”:1600,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170408170838-stockholm-memorial-full-169.jpg”},”mini1x1″:{“height”:120,”width”:120,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170408170838-stockholm-memorial-small-11.jpg”}}},autoStartVideo = false,callbackObj,containerEl,currentVideoCollection = [{“title”:”Stockholm unites after attack”,”duration”:”01:17″,”sourceName”:”CNN”,”sourceLink”:”http://www.cnn.com”,”videoCMSUrl”:”/video/data/3.0/video/world/2017/04/10/sweden-mourns-after-terror-attack-foster-pkg.cnn/index.xml”,”videoId”:”world/2017/04/10/sweden-mourns-after-terror-attack-foster-pkg.cnn”,”videoImage”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170408170838-stockholm-memorial-large-169.jpg”,”videoUrl”:”/videos/world/2017/04/10/sweden-mourns-after-terror-attack-foster-pkg.cnn/video/playlists/sweden-vehicle-crash/”,”descriptionText”:”People of Stockholm are urged to carry on with their ordinary lives in defiance of terror attack. CNN’s Max Foster has more.”},{“title”:”People seen running in streets of Stockholm”,”duration”:”00:49″,”sourceName”:”CNN”,”sourceLink”:””,”videoCMSUrl”:”/video/data/3.0/video/world/2017/04/07/people-running-stockholm-truck-crash-sje-mobile-orig.cnn/index.xml”,”videoId”:”world/2017/04/07/people-running-stockholm-truck-crash-sje-mobile-orig.cnn”,”videoImage”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170407155618-stockholm-sweden-people-running-1-large-169.jpg”,”videoUrl”:”/videos/world/2017/04/07/people-running-stockholm-truck-crash-sje-mobile-orig.cnn/video/playlists/sweden-vehicle-crash/”,”descriptionText”:”People are seen running after a vehicle drove into pedestrians on a street in Stockholm, Sweden.”},{“title”:”Witness recounts Sweden truck attack aftermath”,”duration”:”01:26″,”sourceName”:”CNN”,”sourceLink”:”http://www.cnn.com”,”videoCMSUrl”:”/video/data/3.0/video/us/2017/04/07/sweden-truck-attack-eyewitness-cnni.cnn/index.xml”,”videoId”:”us/2017/04/07/sweden-truck-attack-eyewitness-cnni.cnn”,”videoImage”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170407112858-15-sweden-truck-attack-0407-large-169.jpg”,”videoUrl”:”/videos/us/2017/04/07/sweden-truck-attack-eyewitness-cnni.cnn/video/playlists/sweden-vehicle-crash/”,”descriptionText”:”Linda Flood describes the scene in Stockholm, Sweden following an attack in which a hijacked truck plowed through a crowd and crashed into a department store.”},{“title”:”Swedish police: Unable to confirm deaths”,”duration”:”01:35″,”sourceName”:”CNN”,”sourceLink”:”http://www.cnn.com”,”videoCMSUrl”:”/video/data/3.0/video/world/2017/04/07/swedish-police-conference-attack.cnn/index.xml”,”videoId”:”world/2017/04/07/swedish-police-conference-attack.cnn”,”videoImage”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170407111357-14-sweden-truck-attack-0407-large-169.jpg”,”videoUrl”:”/videos/world/2017/04/07/swedish-police-conference-attack.cnn/video/playlists/sweden-vehicle-crash/”,”descriptionText”:”Swedish police respond after a truck plowed into a crowd in Stockholm. “},{“title”:”Video shows scene after Sweden attack”,”duration”:”00:47″,”sourceName”:”CNN”,”sourceLink”:””,”videoCMSUrl”:”/video/data/3.0/video/world/2017/04/07/sweden-attack-truck-aftermath-scene-mobile-lr.cnn/index.xml”,”videoId”:”world/2017/04/07/sweden-attack-truck-aftermath-scene-mobile-lr.cnn”,”videoImage”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170407105708-stockholm-attack-victims-large-169.jpg”,”videoUrl”:”/videos/world/2017/04/07/sweden-attack-truck-aftermath-scene-mobile-lr.cnn/video/playlists/sweden-vehicle-crash/”,”descriptionText”:”Medics can be seen attending to injured victims on the ground near where a truck was driven into a crowd on Drottninggatan in Stockholm, Sweden. “},{“title”:”Police: Vehicle drives into pedestrians “,”duration”:”01:47″,”sourceName”:”CNN”,”sourceLink”:”http://www.cnn.com”,”videoCMSUrl”:”/video/data/3.0/video/world/2017/04/07/sweden-vehicle-drives-street-pedestrians.cnn/index.xml”,”videoId”:”world/2017/04/07/sweden-vehicle-drives-street-pedestrians.cnn”,”videoImage”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170407100223-09-sweden-truck-crash-0407-large-169.jpg”,”videoUrl”:”/videos/world/2017/04/07/sweden-vehicle-drives-street-pedestrians.cnn/video/playlists/sweden-vehicle-crash/”,”descriptionText”:”Swedish Police spokesman Lars Vilstrom reports that a vehicle has driven into a street full of pedestrians in Stockholm. “}],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, mutePlayerEnabled);CNN.VideoPlayer.setFirstVideoInCollection(currentVideoCollection, configObj.markupId);var videoHandler = {},isFeaturedVideoCollectionHandlerAvailable = (CNN !== undefined &&CNN.VIDEOCLIENT !== undefined &&CNN.VIDEOCLIENT.FeaturedVideoCollectionHandler !== undefined);if (!isFeaturedVideoCollectionHandlerAvailable) {/* ajax is used over getScript since getScript does not cache the responses. */CNN.INJECTOR.executeFeature(‘videx’).done(function () {jQuery.ajax({dataType: ‘script’,cache: true,url: ‘//www.i.cdn.cnn.com/.a/2.11.2/js/featured-video-collection-player.min.js’}).done(function () {initializeVideoAndCollection();}).fail(function () {throw ‘Unable to fetch /js/featured-video-collection-player.min.js’;});}).fail(function () {throw ‘Unable to fetch the videx bundle’;});}function initializeVideoAndCollection() {videoHandler = new CNN.VIDEOCLIENT.FeaturedVideoCollectionHandler(configObj.markupId,”cn-featured-o42c7z”,’js-video_description-featured-o42c7z’,[{“title”:”Stockholm unites after attack”,”duration”:”01:17″,”sourceName”:”CNN”,”sourceLink”:”http://www.cnn.com”,”videoCMSUrl”:”/video/data/3.0/video/world/2017/04/10/sweden-mourns-after-terror-attack-foster-pkg.cnn/index.xml”,”videoId”:”world/2017/04/10/sweden-mourns-after-terror-attack-foster-pkg.cnn”,”videoImage”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170408170838-stockholm-memorial-large-169.jpg”,”videoUrl”:”/videos/world/2017/04/10/sweden-mourns-after-terror-attack-foster-pkg.cnn/video/playlists/sweden-vehicle-crash/”,”descriptionText”:”People of Stockholm are urged to carry on with their ordinary lives in defiance of terror attack. CNN’s Max Foster has more.”},{“title”:”People seen running in streets of Stockholm”,”duration”:”00:49″,”sourceName”:”CNN”,”sourceLink”:””,”videoCMSUrl”:”/video/data/3.0/video/world/2017/04/07/people-running-stockholm-truck-crash-sje-mobile-orig.cnn/index.xml”,”videoId”:”world/2017/04/07/people-running-stockholm-truck-crash-sje-mobile-orig.cnn”,”videoImage”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170407155618-stockholm-sweden-people-running-1-large-169.jpg”,”videoUrl”:”/videos/world/2017/04/07/people-running-stockholm-truck-crash-sje-mobile-orig.cnn/video/playlists/sweden-vehicle-crash/”,”descriptionText”:”People are seen running after a vehicle drove into pedestrians on a street in Stockholm, Sweden.”},{“title”:”Witness recounts Sweden truck attack aftermath”,”duration”:”01:26″,”sourceName”:”CNN”,”sourceLink”:”http://www.cnn.com”,”videoCMSUrl”:”/video/data/3.0/video/us/2017/04/07/sweden-truck-attack-eyewitness-cnni.cnn/index.xml”,”videoId”:”us/2017/04/07/sweden-truck-attack-eyewitness-cnni.cnn”,”videoImage”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170407112858-15-sweden-truck-attack-0407-large-169.jpg”,”videoUrl”:”/videos/us/2017/04/07/sweden-truck-attack-eyewitness-cnni.cnn/video/playlists/sweden-vehicle-crash/”,”descriptionText”:”Linda Flood describes the scene in Stockholm, Sweden following an attack in which a hijacked truck plowed through a crowd and crashed into a department store.”},{“title”:”Swedish police: Unable to confirm deaths”,”duration”:”01:35″,”sourceName”:”CNN”,”sourceLink”:”http://www.cnn.com”,”videoCMSUrl”:”/video/data/3.0/video/world/2017/04/07/swedish-police-conference-attack.cnn/index.xml”,”videoId”:”world/2017/04/07/swedish-police-conference-attack.cnn”,”videoImage”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170407111357-14-sweden-truck-attack-0407-large-169.jpg”,”videoUrl”:”/videos/world/2017/04/07/swedish-police-conference-attack.cnn/video/playlists/sweden-vehicle-crash/”,”descriptionText”:”Swedish police respond after a truck plowed into a crowd in Stockholm. “},{“title”:”Video shows scene after Sweden attack”,”duration”:”00:47″,”sourceName”:”CNN”,”sourceLink”:””,”videoCMSUrl”:”/video/data/3.0/video/world/2017/04/07/sweden-attack-truck-aftermath-scene-mobile-lr.cnn/index.xml”,”videoId”:”world/2017/04/07/sweden-attack-truck-aftermath-scene-mobile-lr.cnn”,”videoImage”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170407105708-stockholm-attack-victims-large-169.jpg”,”videoUrl”:”/videos/world/2017/04/07/sweden-attack-truck-aftermath-scene-mobile-lr.cnn/video/playlists/sweden-vehicle-crash/”,”descriptionText”:”Medics can be seen attending to injured victims on the ground near where a truck was driven into a crowd on Drottninggatan in Stockholm, Sweden. “},{“title”:”Police: Vehicle drives into pedestrians “,”duration”:”01:47″,”sourceName”:”CNN”,”sourceLink”:”http://www.cnn.com”,”videoCMSUrl”:”/video/data/3.0/video/world/2017/04/07/sweden-vehicle-drives-street-pedestrians.cnn/index.xml”,”videoId”:”world/2017/04/07/sweden-vehicle-drives-street-pedestrians.cnn”,”videoImage”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170407100223-09-sweden-truck-crash-0407-large-169.jpg”,”videoUrl”:”/videos/world/2017/04/07/sweden-vehicle-drives-street-pedestrians.cnn/video/playlists/sweden-vehicle-crash/”,”descriptionText”:”Swedish Police spokesman Lars Vilstrom reports that a vehicle has driven into a street full of pedestrians in Stockholm. “}],’js-video_headline-featured-o42c7z’,”,”js-video_source-featured-o42c7z”,true,true,’sweden-vehicle-crash’);if (typeof configObj.context !== ‘string’ || configObj.context.length







