‘);$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/02/10/south-sudan-refugee-crisis-lead-pkg.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”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170210173955-woman-south-sudan-small-169.jpg”},”xsmall”:{“height”:173,”width”:307,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170210173955-woman-south-sudan-medium-plus-169.jpg”},”small”:{“height”:259,”width”:460,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170210173955-woman-south-sudan-large-169.jpg”},”medium”:{“height”:438,”width”:780,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170210173955-woman-south-sudan-exlarge-169.jpg”},”large”:{“height”:619,”width”:1100,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170210173955-woman-south-sudan-super-169.jpg”},”full16x9″:{“height”:900,”width”:1600,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170210173955-woman-south-sudan-full-169.jpg”},”mini1x1″:{“height”:120,”width”:120,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170210173955-woman-south-sudan-small-11.jpg”}}},autoStartVideo = false,callbackObj,containerEl,currentVideoCollection = [{“videoCMSUrl”:”/videos/world/2017/02/10/south-sudan-refugee-crisis-lead-pkg.cnn”,”videoId”:”world/2017/02/10/south-sudan-refugee-crisis-lead-pkg.cnn”,”videoUrl”:”/videos/world/2017/02/10/south-sudan-refugee-crisis-lead-pkg.cnn”},{“videoCMSUrl”:”/video/data/3.0/video/world/2016/07/11/south-sudan-power-struggle-mckenzie-orig-vstop.cnn/index.xml”,”videoId”:”world/2016/07/11/south-sudan-power-struggle-mckenzie-orig-vstop.cnn”,”videoUrl”:”/videos/world/2016/07/11/south-sudan-power-struggle-mckenzie-orig-vstop.cnn/video/playlists/south-sudan/”},{“videoCMSUrl”:”/video/data/3.0/video/tv/2016/03/13/south-soudan-amnesty-intl-fakih-intv.cnn/index.xml”,”videoId”:”tv/2016/03/13/south-soudan-amnesty-intl-fakih-intv.cnn”,”videoUrl”:”/videos/tv/2016/03/13/south-soudan-amnesty-intl-fakih-intv.cnn/video/playlists/south-sudan/”},{“videoCMSUrl”:”/video/data/3.0/video/tv/2016/07/11/south-sudan-president-ceasefire-mckenzie-lok.cnn/index.xml”,”videoId”:”tv/2016/07/11/south-sudan-president-ceasefire-mckenzie-lok.cnn”,”videoUrl”:”/videos/tv/2016/07/11/south-sudan-president-ceasefire-mckenzie-lok.cnn/video/playlists/south-sudan/”},{“videoCMSUrl”:”/video/data/3.0/video/world/2016/03/11/south-sudan-rape-in-place-of-wages-kriel.cnn/index.xml”,”videoId”:”world/2016/03/11/south-sudan-rape-in-place-of-wages-kriel.cnn”,”videoUrl”:”/videos/world/2016/03/11/south-sudan-rape-in-place-of-wages-kriel.cnn/video/playlists/south-sudan/”},{“videoCMSUrl”:”/video/data/3.0/video/world/2015/07/09/south-sudan-anniversary-sesay-pkg.cnn/index.xml”,”videoId”:”world/2015/07/09/south-sudan-anniversary-sesay-pkg.cnn”,”videoUrl”:”/videos/world/2015/07/09/south-sudan-anniversary-sesay-pkg.cnn/video/playlists/south-sudan/”},{“videoCMSUrl”:”/video/data/3.0/video/tv/2015/07/10/south-sudan-marks-fourth-independence-day.cnn/index.xml”,”videoId”:”tv/2015/07/10/south-sudan-marks-fourth-independence-day.cnn”,”videoUrl”:”/videos/tv/2015/07/10/south-sudan-marks-fourth-independence-day.cnn/video/playlists/south-sudan/”},{“videoCMSUrl”:”/video/data/3.0/video/world/2015/06/25/south-sudan-food-crisis-kinkade-pkg.cnn/index.xml”,”videoId”:”world/2015/06/25/south-sudan-food-crisis-kinkade-pkg.cnn”,”videoUrl”:”/videos/world/2015/06/25/south-sudan-food-crisis-kinkade-pkg.cnn/video/playlists/south-sudan/”}],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 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) {/* Remove videoobject metadata script.If the user click 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 is null that means it’s not initialized yet so* pass in 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 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.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 (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/2017/02/10/south-sudan-refugee-crisis-lead-pkg.cnn”, isEmbeddable: “no”};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’) {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 = 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-eftny3’,videoDescriptionDivId: ‘js-video_description-eftny3’,videoDurationDivId: ‘js-video_duration-eftny3’,videoTitleDivId: ‘js-leaf-video_headline-eftny3’,videoSourceDivId: ‘js-video_sourceName-eftny3’});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(‘‘ + showDetailsSpanContent + ‘‘);} else {$showName.html(showDetailsSpanContent);}});});if (typeof (history) !== ‘undefined’ && typeof (history.replaceState) !== ‘undefined’) {history.replaceState(”, ”, videocardContents.url);document.title = videocardContents.headlineText ? videocardContents.headlineText : ”;}}function getCurrentVideoCardContents(currentVideoId) {var containerContents = [{“branding”:””,”cardContents”:{“auxiliaryText”:””,”bannerText”:[],”bannerHasATag”:false,”bannerPosition”:””,”brandingLink”:””,”brandingImageUrl”:””,”brandingTextHead”:””,”brandingTextSub”:””,”cardSectionName”:””,”contentType”:””,”cta”:”share”,”descriptionText”:[“South Sudan is on the brink of genocide, with rebel groups waging a war against its population. CNN’s Farai Sevenzo reports.”],”descriptionPlainText”:”South Sudan is on the brink of genocide, with rebel groups waging a war against its population. CNN’s Farai Sevenzo reports.”,”headlinePostText”:””,”headlinePreText”:””,”headlineText”:”Soldiers killed dad in front of his daughter “,”headlinePlainText”:”Soldiers killed dad in front of his daughter “,”iconImageUrl”:””,”iconType”:”video”,”isMobileBannerText”:false,”kickerText”:””,”maximizedBannerSize”:[],”media”:{“contentType”:”image”,”type”:”element”,”cutFormat”:”16:9″,”elementContents”:{“caption”:”Woman watched as her dad was killed in front of her”,”imageAlt”:”Woman watched as her dad was killed in front of her”,”imageUrl”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170210173955-woman-south-sudan-large-169.jpg”,”label”:””,”galleryTitle”:””,”head”:””,”cuts”:{“mini”:{“height”:124,”width”:220,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170210173955-woman-south-sudan-small-169.jpg”},”xsmall”:{“height”:173,”width”:307,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170210173955-woman-south-sudan-medium-plus-169.jpg”},”small”:{“height”:259,”width”:460,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170210173955-woman-south-sudan-large-169.jpg”},”medium”:{“height”:438,”width”:780,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170210173955-woman-south-sudan-exlarge-169.jpg”},”large”:{“height”:619,”width”:1100,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170210173955-woman-south-sudan-super-169.jpg”},”full16x9″:{“height”:900,”width”:1600,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170210173955-woman-south-sudan-full-169.jpg”},”mini1x1″:{“height”:120,”width”:120,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/170210173955-woman-south-sudan-small-11.jpg”}},”responsiveImage”:true}},”noFollow”:false,”overMediaText”:””,”sectionUri”:””,”showSocialSharebar”:false,”shortUrl”:””,”statusText”:””,”statusColor”:””,”targetType”:””,”timestampDisplay”:””,”timestampUtc”:””,”lastModifiedText”:””,”lastModifiedState”:””,”type”:”card”,”url”:”/videos/world/2017/02/10/south-sudan-refugee-crisis-lead-pkg.cnn”,”width”:””,”height”:””,”videoCMSUri”:”/videos/world/2017/02/10/south-sudan-refugee-crisis-lead-pkg.cnn”,”videoId”:”world/2017/02/10/south-sudan-refugee-crisis-lead-pkg.cnn”,”adSection”:”const-video-leaf”,”dateCreated”:”5:11 PM ET, Fri February 10, 2017″,”sourceName”:”CNN”,”sourceLink”:”http://www.cnn.com”,”showName”:”The Lead”,”showUrl”:”/shows/the-lead”},”contentType”:”video”,”maximizedBanner”:false,”type”:”card”},{“branding”:””,”cardContents”:{“auxiliaryText”:””,”bannerText”:[],”bannerHasATag”:false,”bannerPosition”:””,”brandingLink”:””,”brandingImageUrl”:””,”brandingTextHead”:””,”brandingTextSub”:””,”cardSectionName”:”world”,”contentType”:””,”cta”:”share”,”descriptionText”:[“Fighting erupts in South Sudan as the country celebrates its 5th anniversary. CNN’s David McKenzie explains how this new country ended up in a battle for power. “],”descriptionPlainText”:”Fighting erupts in South Sudan as the country celebrates its 5th anniversary. CNN’s David McKenzie explains how this new country ended up in a battle for power.”,”headlinePostText”:””,”headlinePreText”:””,”headlineText”:”South Sudan: How we got here”,”headlinePlainText”:”South Sudan: How we got here”,”iconImageUrl”:””,”iconType”:”video”,”isMobileBannerText”:false,”kickerText”:””,”maximizedBannerSize”:[],”media”:{“contentType”:”image”,”type”:”element”,”cutFormat”:”16:9″,”elementContents”:{“caption”:”South Sudanese People Liberation Army (SPLA) soldier patrols in Malakal on January 21, 2014. Pressure mounted on South Sudan’s warring parties Tuesday to reach a ceasefire to end weeks of bitter fighting and atrocities on both sides that have devastated the young nation.Thousands have been killed and half a million civilians forced to flee the fighting between troops loyal to President Salva Kiir and rebels allied to his sacked deputy Riek Machar. AFP PHOTO / HARRISON NGETHI (Photo credit should read HARRISON NGETHI/AFP/Getty Images)”,”imageAlt”:”South Sudanese People Liberation Army (SPLA) soldier patrols in Malakal on January 21, 2014. Pressure mounted on South Sudan’s warring parties Tuesday to reach a ceasefire to end weeks of bitter fighting and atrocities on both sides that have devastated the young nation.Thousands have been killed and half a million civilians forced to flee the fighting between troops loyal to President Salva Kiir and rebels allied to his sacked deputy Riek Machar. AFP PHOTO / HARRISON NGETHI (Photo credit should read HARRISON NGETHI/AFP/Getty Images)”,”imageUrl”:”//i2.cdn.cnn.com/cnnnext/dam/assets/140123154817-01-south-sudan-large-169.jpg”,”label”:””,”galleryTitle”:””,”head”:””,”cuts”:{“mini”:{“height”:124,”width”:220,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/140123154817-01-south-sudan-small-169.jpg”},”xsmall”:{“height”:173,”width”:307,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/140123154817-01-south-sudan-medium-plus-169.jpg”},”small”:{“height”:259,”width”:460,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/140123154817-01-south-sudan-large-169.jpg”},”medium”:{“height”:438,”width”:780,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/140123154817-01-south-sudan-exlarge-169.jpg”},”large”:{“height”:619,”width”:1100,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/140123154817-01-south-sudan-super-169.jpg”},”full16x9″:{“height”:900,”width”:1600,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/140123154817-01-south-sudan-full-169.jpg”},”mini1x1″:{“height”:120,”width”:120,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/140123154817-01-south-sudan-small-11.jpg”}},”responsiveImage”:true},”duration”:”1:49″},”noFollow”:false,”overMediaText”:””,”sectionUri”:””,”showSocialSharebar”:false,”shortUrl”:””,”statusText”:””,”statusColor”:””,”targetType”:””,”timestampDisplay”:””,”timestampUtc”:””,”lastModifiedText”:””,”lastModifiedState”:””,”type”:”card”,”url”:”/videos/world/2016/07/11/south-sudan-power-struggle-mckenzie-orig-vstop.cnn/video/playlists/south-sudan/”,”width”:””,”height”:””,”videoCMSUri”:”/video/data/3.0/video/world/2016/07/11/south-sudan-power-struggle-mckenzie-orig-vstop.cnn/index.xml”,”videoId”:”world/2016/07/11/south-sudan-power-struggle-mckenzie-orig-vstop.cnn”,”adSection”:”const-video-leaf”,”dateCreated”:”12:11 PM ET, Mon July 11, 2016″,”sourceName”:”CNN”,”sourceLink”:”http://www.cnn.com/2016/07/10/africa/south-sudan-violence-juba/index.html”,”videoCollectionUrl”:”/video/playlists/south-sudan/”},”contentType”:”video”,”maximizedBanner”:false,”type”:”card”},{“branding”:””,”cardContents”:{“auxiliaryText”:””,”bannerText”:[],”bannerHasATag”:false,”bannerPosition”:””,”brandingLink”:””,”brandingImageUrl”:””,”brandingTextHead”:””,”brandingTextSub”:””,”cardSectionName”:”tv”,”contentType”:””,”cta”:”share”,”descriptionText”:[“CNN’s u003ca href=”http://www.cnn.com/profiles/lynda-kinkade-profile”>Lynda Kinkadeu003c/a> talks with Lama Fakih, Senior Crisis Advisor at Amnesty International, about the situation in South Sudan. “],”descriptionPlainText”:”CNN’s Lynda Kinkade talks with Lama Fakih, Senior Crisis Advisor at Amnesty International, about the situation in South Sudan.”,”headlinePostText”:””,”headlinePreText”:””,”headlineText”:”Humanitarian crisis in South Sudan “,”headlinePlainText”:”Humanitarian crisis in South Sudan “,”iconImageUrl”:””,”iconType”:”video”,”isMobileBannerText”:false,”kickerText”:””,”maximizedBannerSize”:[],”media”:{“contentType”:”image”,”type”:”element”,”cutFormat”:”16:9″,”elementContents”:{“caption”:”south soudan amnesty intl fakih intv_00015929.jpg”,”imageAlt”:”south soudan amnesty intl fakih intv_00015929″,”imageUrl”:”//i2.cdn.cnn.com/cnnnext/dam/assets/160313050809-south-soudan-amnesty-intl-fakih-intv-00015929-large-169.jpg”,”label”:””,”galleryTitle”:””,”head”:””,”cuts”:{“mini”:{“height”:124,”width”:220,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/160313050809-south-soudan-amnesty-intl-fakih-intv-00015929-small-169.jpg”},”xsmall”:{“height”:173,”width”:307,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/160313050809-south-soudan-amnesty-intl-fakih-intv-00015929-medium-plus-169.jpg”},”small”:{“height”:259,”width”:460,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/160313050809-south-soudan-amnesty-intl-fakih-intv-00015929-large-169.jpg”},”medium”:{“height”:438,”width”:780,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/160313050809-south-soudan-amnesty-intl-fakih-intv-00015929-exlarge-169.jpg”},”large”:{“height”:619,”width”:1100,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/160313050809-south-soudan-amnesty-intl-fakih-intv-00015929-super-169.jpg”},”full16x9″:{“height”:900,”width”:1600,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/160313050809-south-soudan-amnesty-intl-fakih-intv-00015929-full-169.jpg”},”mini1x1″:{“height”:120,”width”:120,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/160313050809-south-soudan-amnesty-intl-fakih-intv-00015929-small-11.jpg”}},”responsiveImage”:true},”duration”:”6:03″},”noFollow”:false,”overMediaText”:””,”sectionUri”:””,”showSocialSharebar”:false,”shortUrl”:””,”statusText”:””,”statusColor”:””,”targetType”:””,”timestampDisplay”:””,”timestampUtc”:””,”lastModifiedText”:””,”lastModifiedState”:””,”type”:”card”,”url”:”/videos/tv/2016/03/13/south-soudan-amnesty-intl-fakih-intv.cnn/video/playlists/south-sudan/”,”width”:””,”height”:””,”videoCMSUri”:”/video/data/3.0/video/tv/2016/03/13/south-soudan-amnesty-intl-fakih-intv.cnn/index.xml”,”videoId”:”tv/2016/03/13/south-soudan-amnesty-intl-fakih-intv.cnn”,”adSection”:”const-video-leaf”,”dateCreated”:”4:56 AM ET, Sun March 13, 2016″,”sourceName”:”CNN”,”sourceLink”:”http://www.cnn.com”,”videoCollectionUrl”:”/video/playlists/south-sudan/”},”contentType”:”video”,”maximizedBanner”:false,”type”:”card”},{“branding”:””,”cardContents”:{“auxiliaryText”:””,”bannerText”:[],”bannerHasATag”:false,”bannerPosition”:””,”brandingLink”:””,”brandingImageUrl”:””,”brandingTextHead”:””,”brandingTextSub”:””,”cardSectionName”:”tv”,”contentType”:””,”cta”:”share”,”descriptionText”:[“Scores have been killed after days of violent clashes in the capital Juba, forcing thousands to take shelter in U.N. compounds. CNN’s u003ca href=”http://www.cnn.com/profiles/david-mckenzie”>David McKenzieu003c/a> reports. “,””,””],”descriptionPlainText”:”Scores have been killed after days of violent clashes in the capital Juba, forcing thousands to take shelter in U.N. compounds. CNN’s David McKenzie reports.”,”headlinePostText”:””,”headlinePreText”:””,”headlineText”:”South Sudan President orders ceasefire at capital”,”headlinePlainText”:”South Sudan President orders ceasefire at capital”,”iconImageUrl”:””,”iconType”:”video”,”isMobileBannerText”:false,”kickerText”:””,”maximizedBannerSize”:[],”media”:{“contentType”:”image”,”type”:”element”,”cutFormat”:”16:9″,”elementContents”:{“caption”:”South Sudan rival factions clashes_00004802.jpg”,”imageAlt”:”South Sudan rival factions clashes_00004802″,”imageUrl”:”//i2.cdn.cnn.com/cnnnext/dam/assets/160710184827-south-sudan-rival-factions-clashes-00004802-large-169.jpg”,”label”:””,”galleryTitle”:””,”head”:””,”cuts”:{“mini”:{“height”:124,”width”:220,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/160710184827-south-sudan-rival-factions-clashes-00004802-small-169.jpg”},”xsmall”:{“height”:173,”width”:307,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/160710184827-south-sudan-rival-factions-clashes-00004802-medium-plus-169.jpg”},”small”:{“height”:259,”width”:460,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/160710184827-south-sudan-rival-factions-clashes-00004802-large-169.jpg”},”medium”:{“height”:438,”width”:780,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/160710184827-south-sudan-rival-factions-clashes-00004802-exlarge-169.jpg”},”large”:{“height”:619,”width”:1100,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/160710184827-south-sudan-rival-factions-clashes-00004802-super-169.jpg”},”full16x9″:{“height”:900,”width”:1600,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/160710184827-south-sudan-rival-factions-clashes-00004802-full-169.jpg”},”mini1x1″:{“height”:120,”width”:120,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/160710184827-south-sudan-rival-factions-clashes-00004802-small-11.jpg”}},”responsiveImage”:true},”duration”:”1:30″},”noFollow”:false,”overMediaText”:””,”sectionUri”:””,”showSocialSharebar”:false,”shortUrl”:””,”statusText”:””,”statusColor”:””,”targetType”:””,”timestampDisplay”:””,”timestampUtc”:””,”lastModifiedText”:””,”lastModifiedState”:””,”type”:”card”,”url”:”/videos/tv/2016/07/11/south-sudan-president-ceasefire-mckenzie-lok.cnn/video/playlists/south-sudan/”,”width”:””,”height”:””,”videoCMSUri”:”/video/data/3.0/video/tv/2016/07/11/south-sudan-president-ceasefire-mckenzie-lok.cnn/index.xml”,”videoId”:”tv/2016/07/11/south-sudan-president-ceasefire-mckenzie-lok.cnn”,”adSection”:”const-video-leaf”,”dateCreated”:”4:48 PM ET, Mon July 11, 2016″,”sourceName”:”CNN”,”sourceLink”:”http://www.cnn.com/”,”videoCollectionUrl”:”/video/playlists/south-sudan/”},”contentType”:”video”,”maximizedBanner”:false,”type”:”card”},{“branding”:””,”cardContents”:{“auxiliaryText”:””,”bannerText”:[],”bannerHasATag”:false,”bannerPosition”:””,”brandingLink”:””,”brandingImageUrl”:””,”brandingTextHead”:””,”brandingTextSub”:””,”cardSectionName”:”world”,”contentType”:””,”cta”:”share”,”descriptionText”:[“The U.N. says that the government of South Sudan is allowing militia soldiers to rape women and girls in lieu of wages. Robin Kriel reports.”],”descriptionPlainText”:”The U.N. says that the government of South Sudan is allowing militia soldiers to rape women and girls in lieu of wages. Robin Kriel reports.”,”headlinePostText”:””,”headlinePreText”:””,”headlineText”:”U.N report: S. Sudan lets militas rape in lieu of wages”,”headlinePlainText”:”U.N report: S. Sudan lets militas rape in lieu of wages”,”iconImageUrl”:””,”iconType”:”video”,”isMobileBannerText”:false,”kickerText”:””,”maximizedBannerSize”:[],”media”:{“contentType”:”image”,”type”:”element”,”cutFormat”:”16:9″,”elementContents”:{“caption”:””,”imageAlt”:””,”imageUrl”:”//i2.cdn.cnn.com/cnnnext/dam/assets/160311143617-south-sudan-remains-large-169.jpg”,”label”:””,”galleryTitle”:””,”head”:””,”cuts”:{“mini”:{“height”:124,”width”:220,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/160311143617-south-sudan-remains-small-169.jpg”},”xsmall”:{“height”:173,”width”:307,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/160311143617-south-sudan-remains-medium-plus-169.jpg”},”small”:{“height”:259,”width”:460,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/160311143617-south-sudan-remains-large-169.jpg”},”medium”:{“height”:438,”width”:780,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/160311143617-south-sudan-remains-exlarge-169.jpg”},”large”:{“height”:619,”width”:1100,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/160311143617-south-sudan-remains-super-169.jpg”},”full16x9″:{“height”:900,”width”:1600,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/160311143617-south-sudan-remains-full-169.jpg”},”mini1x1″:{“height”:120,”width”:120,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/160311143617-south-sudan-remains-small-11.jpg”}},”responsiveImage”:true},”duration”:”2:18″},”noFollow”:false,”overMediaText”:””,”sectionUri”:””,”showSocialSharebar”:false,”shortUrl”:””,”statusText”:””,”statusColor”:””,”targetType”:””,”timestampDisplay”:””,”timestampUtc”:””,”lastModifiedText”:””,”lastModifiedState”:””,”type”:”card”,”url”:”/videos/world/2016/03/11/south-sudan-rape-in-place-of-wages-kriel.cnn/video/playlists/south-sudan/”,”width”:””,”height”:””,”videoCMSUri”:”/video/data/3.0/video/world/2016/03/11/south-sudan-rape-in-place-of-wages-kriel.cnn/index.xml”,”videoId”:”world/2016/03/11/south-sudan-rape-in-place-of-wages-kriel.cnn”,”adSection”:”const-video-leaf”,”dateCreated”:”8:25 AM ET, Fri March 11, 2016″,”sourceName”:”CNN”,”sourceLink”:”http://www.cnn.com/”,”showName”:”News Stream”,”showUrl”:”/shows/news-stream”,”videoCollectionUrl”:”/video/playlists/south-sudan/”},”contentType”:”video”,”maximizedBanner”:false,”type”:”card”},{“branding”:””,”cardContents”:{“auxiliaryText”:””,”bannerText”:[],”bannerHasATag”:false,”bannerPosition”:””,”brandingLink”:””,”brandingImageUrl”:””,”brandingTextHead”:””,”brandingTextSub”:””,”cardSectionName”:”world”,”contentType”:””,”cta”:”share”,”descriptionText”:[“South Sudan continues to struggle with infighting and famine four years after independence. CNN’s Isha Sesay reports.”],”descriptionPlainText”:”South Sudan continues to struggle with infighting and famine four years after independence. CNN’s Isha Sesay reports.”,”headlinePostText”:””,”headlinePreText”:””,”headlineText”:”South Sudan struggling four years on”,”headlinePlainText”:”South Sudan struggling four years on”,”iconImageUrl”:””,”iconType”:”video”,”isMobileBannerText”:false,”kickerText”:””,”maximizedBannerSize”:[],”media”:{“contentType”:”image”,”type”:”element”,”cutFormat”:”16:9″,”elementContents”:{“caption”:”Nyakong, 22, has been hiding in a village with her family and their cows near Nasir in war-torn South Sudan for months. The village is unsafe, but the floodwaters are too high to bring her three young children to Leitchuor refugee camp in Ethiopia. “We’ve survived by just drinking cow’s milk,” she says. “Before the war, I was huge, but from lack of food I’ve got so thin.””,”imageAlt”:”Nyakong, 22, has been hiding in a village with her family and their cows near Nasir in war-torn South Sudan for months. The village is unsafe, but the floodwaters are too high to bring her three young children to Leitchuor refugee camp in Ethiopia. “We’ve survived by just drinking cow’s milk,” she says. “Before the war, I was huge, but from lack of food I’ve got so thin.””,”imageUrl”:”//i2.cdn.cnn.com/cnnnext/dam/assets/150618120314-south-sudan-refugee-thin-large-169.jpg”,”label”:””,”galleryTitle”:””,”head”:””,”cuts”:{“mini”:{“height”:124,”width”:220,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/150618120314-south-sudan-refugee-thin-small-169.jpg”},”xsmall”:{“height”:173,”width”:307,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/150618120314-south-sudan-refugee-thin-medium-plus-169.jpg”},”small”:{“height”:259,”width”:460,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/150618120314-south-sudan-refugee-thin-large-169.jpg”},”medium”:{“height”:438,”width”:780,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/150618120314-south-sudan-refugee-thin-exlarge-169.jpg”},”large”:{“height”:619,”width”:1100,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/150618120314-south-sudan-refugee-thin-super-169.jpg”},”full16x9″:{“height”:900,”width”:1600,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/150618120314-south-sudan-refugee-thin-full-169.jpg”},”mini1x1″:{“height”:120,”width”:120,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/150618120314-south-sudan-refugee-thin-small-11.jpg”}},”responsiveImage”:true},”duration”:”1:51″},”noFollow”:false,”overMediaText”:””,”sectionUri”:””,”showSocialSharebar”:false,”shortUrl”:””,”statusText”:””,”statusColor”:””,”targetType”:””,”timestampDisplay”:””,”timestampUtc”:””,”lastModifiedText”:””,”lastModifiedState”:””,”type”:”card”,”url”:”/videos/world/2015/07/09/south-sudan-anniversary-sesay-pkg.cnn/video/playlists/south-sudan/”,”width”:””,”height”:””,”videoCMSUri”:”/video/data/3.0/video/world/2015/07/09/south-sudan-anniversary-sesay-pkg.cnn/index.xml”,”videoId”:”world/2015/07/09/south-sudan-anniversary-sesay-pkg.cnn”,”adSection”:”const-video-leaf”,”dateCreated”:”3:02 PM ET, Thu July 9, 2015″,”sourceName”:”CNN”,”sourceLink”:”http://edition.cnn.com/”,”videoCollectionUrl”:”/video/playlists/south-sudan/”},”contentType”:”video”,”maximizedBanner”:false,”type”:”card”},{“branding”:””,”cardContents”:{“auxiliaryText”:””,”bannerText”:[],”bannerHasATag”:false,”bannerPosition”:””,”brandingLink”:””,”brandingImageUrl”:””,”brandingTextHead”:””,”brandingTextSub”:””,”cardSectionName”:”tv”,”contentType”:””,”cta”:”share”,”descriptionText”:[“John Prendergast discusses the problems still plaguing South Sudan as the country marks its fourth Independence Day.”],”descriptionPlainText”:”John Prendergast discusses the problems still plaguing South Sudan as the country marks its fourth Independence Day.”,”headlinePostText”:””,”headlinePreText”:””,”headlineText”:”South Sudan’s anniversary marks little to celebrate”,”headlinePlainText”:”South Sudan’s anniversary marks little to celebrate”,”iconImageUrl”:””,”iconType”:”video”,”isMobileBannerText”:false,”kickerText”:””,”maximizedBannerSize”:[],”media”:{“contentType”:”image”,”type”:”element”,”cutFormat”:”16:9″,”elementContents”:{“caption”:”South Sudan marks fourth Independence Day_00045519.jpg”,”imageAlt”:”South Sudan marks fourth Independence Day_00045519″,”imageUrl”:”//i2.cdn.cnn.com/cnnnext/dam/assets/150710104528-south-sudan-marks-fourth-independence-day-00045519-large-169.jpg”,”label”:””,”galleryTitle”:””,”head”:””,”cuts”:{“mini”:{“height”:124,”width”:220,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/150710104528-south-sudan-marks-fourth-independence-day-00045519-small-169.jpg”},”xsmall”:{“height”:173,”width”:307,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/150710104528-south-sudan-marks-fourth-independence-day-00045519-medium-plus-169.jpg”},”small”:{“height”:259,”width”:460,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/150710104528-south-sudan-marks-fourth-independence-day-00045519-large-169.jpg”},”medium”:{“height”:438,”width”:780,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/150710104528-south-sudan-marks-fourth-independence-day-00045519-exlarge-169.jpg”},”large”:{“height”:619,”width”:1100,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/150710104528-south-sudan-marks-fourth-independence-day-00045519-super-169.jpg”},”full16x9″:{“height”:900,”width”:1600,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/150710104528-south-sudan-marks-fourth-independence-day-00045519-full-169.jpg”},”mini1x1″:{“height”:120,”width”:120,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/150710104528-south-sudan-marks-fourth-independence-day-00045519-small-11.jpg”}},”responsiveImage”:true},”duration”:”4:55″},”noFollow”:false,”overMediaText”:””,”sectionUri”:””,”showSocialSharebar”:false,”shortUrl”:””,”statusText”:””,”statusColor”:””,”targetType”:””,”timestampDisplay”:””,”timestampUtc”:””,”lastModifiedText”:””,”lastModifiedState”:””,”type”:”card”,”url”:”/videos/tv/2015/07/10/south-sudan-marks-fourth-independence-day.cnn/video/playlists/south-sudan/”,”width”:””,”height”:””,”videoCMSUri”:”/video/data/3.0/video/tv/2015/07/10/south-sudan-marks-fourth-independence-day.cnn/index.xml”,”videoId”:”tv/2015/07/10/south-sudan-marks-fourth-independence-day.cnn”,”adSection”:”const-video-leaf”,”dateCreated”:”10:17 AM ET, Fri July 10, 2015″,”sourceName”:”CNN”,”sourceLink”:””,”videoCollectionUrl”:”/video/playlists/south-sudan/”},”contentType”:”video”,”maximizedBanner”:false,”type”:”card”},{“branding”:””,”cardContents”:{“auxiliaryText”:””,”bannerText”:[],”bannerHasATag”:false,”bannerPosition”:””,”brandingLink”:””,”brandingImageUrl”:””,”brandingTextHead”:””,”brandingTextSub”:””,”cardSectionName”:”world”,”contentType”:””,”cta”:”share”,”descriptionText”:[“Renewed fighting between government troops and rebels displaces some 100,000 and leaves many more without food. CNN’s Lynda Kinkade reports.”],”descriptionPlainText”:”Renewed fighting between government troops and rebels displaces some 100,000 and leaves many more without food. CNN’s Lynda Kinkade reports.”,”headlinePostText”:””,”headlinePreText”:””,”headlineText”:”South Sudan faces worsening food crisis”,”headlinePlainText”:”South Sudan faces worsening food crisis”,”iconImageUrl”:””,”iconType”:”video”,”isMobileBannerText”:false,”kickerText”:””,”maximizedBannerSize”:[],”media”:{“contentType”:”image”,”type”:”element”,”cutFormat”:”16:9″,”elementContents”:{“caption”:””,”imageAlt”:””,”imageUrl”:”//i2.cdn.cnn.com/cnnnext/dam/assets/150625031128-south-sudan-food-crisis-large-169.jpg”,”label”:””,”galleryTitle”:””,”head”:””,”cuts”:{“mini”:{“height”:124,”width”:220,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/150625031128-south-sudan-food-crisis-small-169.jpg”},”xsmall”:{“height”:173,”width”:307,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/150625031128-south-sudan-food-crisis-medium-plus-169.jpg”},”small”:{“height”:259,”width”:460,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/150625031128-south-sudan-food-crisis-large-169.jpg”},”medium”:{“height”:438,”width”:780,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/150625031128-south-sudan-food-crisis-exlarge-169.jpg”},”large”:{“height”:619,”width”:1100,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/150625031128-south-sudan-food-crisis-super-169.jpg”},”full16x9″:{“height”:900,”width”:1600,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/150625031128-south-sudan-food-crisis-full-169.jpg”},”mini1x1″:{“height”:120,”width”:120,”type”:”jpg”,”uri”:”//i2.cdn.cnn.com/cnnnext/dam/assets/150625031128-south-sudan-food-crisis-small-11.jpg”}},”responsiveImage”:true},”duration”:”2:15″},”noFollow”:false,”overMediaText”:””,”sectionUri”:””,”showSocialSharebar”:false,”shortUrl”:””,”statusText”:””,”statusColor”:””,”targetType”:””,”timestampDisplay”:””,”timestampUtc”:””,”lastModifiedText”:””,”lastModifiedState”:””,”type”:”card”,”url”:”/videos/world/2015/06/25/south-sudan-food-crisis-kinkade-pkg.cnn/video/playlists/south-sudan/”,”width”:””,”height”:””,”videoCMSUri”:”/video/data/3.0/video/world/2015/06/25/south-sudan-food-crisis-kinkade-pkg.cnn/index.xml”,”videoId”:”world/2015/06/25/south-sudan-food-crisis-kinkade-pkg.cnn”,”adSection”:”const-video-leaf”,”dateCreated”:”3:04 AM ET, Thu June 25, 2015″,”sourceName”:”CNN”,”sourceLink”:””,”videoCollectionUrl”:”/video/playlists/south-sudan/”},”contentType”:”video”,”maximizedBanner”:false,”type”:”card”}],cardContents,i;for (i = 0; i 0) {for (i = 0; i 0) {for (i = 0; i 0) {for (i = 0; i 0) {nextPlay = currentVideoCollection[getNextVideoIndex(currentVideoId)].videoId;if (nextPlay === undefined || nextPlay === null) {nextPlay = currentVideoCollection[0].videoId;}moveToNextTimeout = setTimeout(function () {overrides = {videoCollection: currentVideoCollection,autostart: true};if (CNN.VideoPlayer.getLibraryName(configObj.markupId) === ‘fave’) {FAVE.player.getInstance(configObj.markupId).play(nextPlay, overrides);} else {CNNVIDEOAPI.CNNVideoManager.getInstance().playVideo(configObj.markupId, nextPlay, overrides);}}, nextVideoPlayTimeout);}}var decorateVideoApi = function(){/* if this happens before the video API loads it gets deleted. */CNN.VideoPlayer.showSpinner = function showSpinner(containerId) {if (Modernizr && !Modernizr.phone && !Modernizr.mobile && !Modernizr.tablet) {jQuery(document.getElementById((‘spinner_’ + containerId).replace(‘#’, ”))).show();}};CNN.VideoPlayer.hideSpinner = function hideSpinner(containerId) {if (Modernizr && !Modernizr.phone && !Modernizr.mobile && !Modernizr.tablet) {jQuery(document.getElementById((‘spinner_’ + containerId).replace(‘#’, ”))).hide();}};CNN.VideoPlayer.hideThumbnail = function hideThumbnail(containerId) {if (Modernizr && !Modernizr.phone && !Modernizr.mobile && !Modernizr.tablet) {jQuery(document.getElementById(containerId + ‘–thumbnail’)).hide();}};};callbackObj = {onPlayerReady: function (containerId) {CNN.INJECTOR.getNameSpaceFeature(‘CNN.VideoPlayer.showSpinner’).fail(decorateVideoApi);var containerClassId;CNN.VideoPlayer.reportLoadTime(containerId);CNN.VideoPlayer.handleAdOnCVPVisibilityChange(containerId, CNN.pageVis.isDocumentVisible());if (Modernizr && !Modernizr.phone && !Modernizr.mobile && !Modernizr.tablet) {containerClassId = ‘#’ + containerId;if (jQuery(containerClassId).parents(‘.js-pg-rail-tall__head’).length > 0) {videoPinner = new CNN.VideoPinner(containerClassId);videoPinner.setIsVideoCollection(true);videoPinner.init();} else {CNN.VideoPlayer.hideThumbnail(containerId);}}},onContentEntryLoad: function(containerId, playerId, contentid, isQueue) {CNN.VideoPlayer.showSpinner(containerId);CNN.VideoPlayer.isFirstVideoInCollection(containerId, contentid);},onAdPlay: function (containerId, cvpId, token, mode, id, duration, blockId, adType) {clearTimeout(moveToNextTimeout);if (blockId === 0) {(new Image()).src = “http://traffic.outbrain.com/network/trackpxl?advid=814&action=view”;}CNN.VideoPlayer.hideSpinner(containerId);if (Modernizr && !Modernizr.phone && !Modernizr.mobile && !Modernizr.tablet) {if (typeof videoPinner !== ‘undefined’ && videoPinner !== null) {videoPinner.setIsPlaying(true);videoPinner.handleOnVideoPlay();videoPinner.animateDown();}}},onContentPlay: function (containerId, cvpId, contentId) {/** When the video content starts playing, the companion ad* layout (if it was set when the ad played) should switch* back to epic ad layout. onContentPlay calls updateCompanionLayout* with ‘restoreEpicAds’ layout to make this switch and removes FW* with ‘removeFreewheel’ so you don’t see double ads. If a user* clicks another video midway, onContentBegin will add FW back*/if (CNN.companion && typeof CNN.companion.updateCompanionLayout === ‘function’) {CNN.companion.updateCompanionLayout(‘removeFreewheel’);CNN.companion.updateCompanionLayout(‘restoreEpicAds’);}clearTimeout(moveToNextTimeout);CNN.VideoPlayer.hideSpinner(containerId);var idx,playerInstance,prevVideoId = (window.jsmd && window.jsmd.v && (window.jsmd.v.eVar18 || window.jsmd.v.eVar4)) || ”;if (CNN.VideoPlayer.getLibraryName(configObj.markupId) === ‘fave’) {playerInstance = FAVE.player.getInstance(containerId);} else {playerInstance = containerId && window.cnnVideoManager.getPlayerByContainer(containerId).videoInstance.cvp || null;}if (playerInstance && typeof playerInstance.reportAnalytics === ‘function’) {if (prevVideoId.length === 0 && document.referrer && document.referrer.search(//videos//) >= 0) {prevVideoId = document.referrer.replace(/^(?:http|https)://[^/]/videos/(.+.w+)(?:/video/playlists/.*)?$/, ‘/video/$1’);if (prevVideoId === document.referrer) {prevVideoId = ”;}}if (jQuery.isArray(currentVideoCollection) && currentVideoCollection.length > 0) {idx = getNextVideoIndex(contentId);nextVideoId = currentVideoCollection[idx].videoId;nextVideoUrl = currentVideoCollection[idx].videoUrl;currentVideoCollectionId = (window.jsmd && window.jsmd.v && window.jsmd.v.eVar60) || nextVideoUrl.replace(/^.+/video/playlists/(.+)//, ‘$1’);}playerInstance.reportAnalytics(‘videoPageData’, {videoCollection: currentVideoCollectionId,videoBranding: CNN.omniture.branding_content_page,templateType: CNN.omniture.template_type,nextVideo: nextVideoId,previousVideo: prevVideoId,referrerType: ”,referrerUrl: document.referrer});}if (Modernizr && !Modernizr.phone && !Modernizr.mobile && !Modernizr.tablet) {if (typeof videoPinner !== ‘undefined’ && videoPinner !== null) {videoPinner.setIsPlaying(true);videoPinner.handleOnVideoPlay();videoPinner.animateDown();}}},onContentReplayRequest: function (containerId, cvpId, contentId) {if (Modernizr && !Modernizr.phone && !Modernizr.mobile && !Modernizr.tablet) {if (typeof videoPinner !== ‘undefined’ && videoPinner !== null) {videoPinner.setIsPlaying(true);var $endSlate = jQuery(document.getElementById(containerId)).parent().find(‘.js-video__end-slate’).eq(0);if ($endSlate.length > 0) {$endSlate.removeClass(‘video__end-slate–active’).addClass(‘video__end-slate–inactive’);}}}},onContentMetadata: function (containerId, playerId, metadata, contentId, duration, width, height) {if (CNN.Utils.exists(metadata)) {try {if (CNN.VideoPlayer.getLibraryName(containerId) === ‘fave’) {CNN.Videx.EmbedButton.updateCode(metadata);} else {CNN.Videx.EmbedButton.updateCode(JSON.parse(metadata));}} catch (e) {console.log(‘Invalid video metadata JSON.’);}}},onContentBegin: function (containerId, cvpId, contentId) {CNN.VideoPlayer.reverseAutoMute(containerId);CNN.VideoPlayer.isFirstVideoInCollection(containerId, contentId);/** Before the video ad starts, the freewheel companion ad* html needs to be placed on the page so that it can be* triggered by Freewheel to display the companion ad.* onContentBegin triggers updateCompanionLayout which* handles the logic to switch from epic to companion ads*/if (CNN.companion && typeof CNN.companion.updateCompanionLayout === ‘function’) {CNN.companion.updateCompanionLayout(‘removeEpicAds’);CNN.companion.updateCompanionLayout(‘restoreFreewheel’);}clearTimeout(moveToNextTimeout);fastdom.mutate(function () {CNN.share.reloadShareBar();});updateCurrentlyPlaying(contentId);jQuery(document).triggerVideoContentStarted();},onContentComplete: function (containerId, cvpId, contentId) {navigateToNextVideo(contentId);},onContentEnd: function (containerId, cvpId, contentId) {/** When the video content ends playing, remove the epic ad* and prepare the freewheel companion ad for the next video*/if (CNN.companion && typeof CNN.companion.updateCompanionLayout === ‘function’) {CNN.companion.updateCompanionLayout(‘removeEpicAds’);CNN.companion.updateCompanionLayout(‘restoreFreewheel’);}navigateToNextVideo(contentId);if (Modernizr && !Modernizr.phone && !Modernizr.mobile && !Modernizr.tablet) {if (typeof videoPinner !== ‘undefined’ && videoPinner !== null) {videoPinner.setIsPlaying(false);}}},onCVPVisibilityChange: function (containerId, cvpId, visible) {CNN.VideoPlayer.handleAdOnCVPVisibilityChange(containerId, visible);}};if (typeof configObj.context !== ‘string’ || configObj.context.length