‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘business/2018/10/30/traffic-city-brain-hangzhou-china.cnn-business’,width: ‘100%’,height: ‘100%’,section: ‘domestic’,profile: ‘expansion’,network: ‘cnn’,markupId: ‘large-media_0’,adsection: ‘cnnbusiness_specialreports_innovativecities_videopage’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: {“mini”:{“width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181030164816-exp-hangzhou-city-brain-controls-traffic-00002001-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181030164816-exp-hangzhou-city-brain-controls-traffic-00002001-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181030164816-exp-hangzhou-city-brain-controls-traffic-00002001-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181030164816-exp-hangzhou-city-brain-controls-traffic-00002001-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181030164816-exp-hangzhou-city-brain-controls-traffic-00002001-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181030164816-exp-hangzhou-city-brain-controls-traffic-00002001-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181030164816-exp-hangzhou-city-brain-controls-traffic-00002001-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:””City Brain” is an innovative cloud computing and AI solution to help cities with resource management in Hangzhou, China.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181030164816-exp-hangzhou-city-brain-controls-traffic-00002001-large-169.jpg”,”title”:”Urban digitization eases traffic in Hangzhou”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/business/2018/10/30/traffic-city-brain-hangzhou-china.cnn-business/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/business/2018/10/30/traffic-city-brain-hangzhou-china.cnn-business”,”videoId”:”business/2018/10/30/traffic-city-brain-hangzhou-china.cnn-business”,”videoUrl”:”http://rss.cnn.com/videos/business/2018/10/30/traffic-city-brain-hangzhou-china.cnn-business/video/playlists/business-innovative-cities/”},{“descriptionPlainText”:”With much of their country below sea level, the Dutch have always had to innovate to keep themselves dry. Part of the solution lies in living with the water, rather than resisting it.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180924140648-rotterdam-innovatice-cities-large-169.jpg”,”title”:”Rotterdam’s continuous fight against floods”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/business/2018/09/24/rotterdam-flood-protection-innovative-cities.cnn-business/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/business/2018/09/24/rotterdam-flood-protection-innovative-cities.cnn-business”,”videoId”:”business/2018/09/24/rotterdam-flood-protection-innovative-cities.cnn-business”,”videoUrl”:”http://rss.cnn.com/videos/business/2018/09/24/rotterdam-flood-protection-innovative-cities.cnn-business/video/playlists/business-innovative-cities/”},{“descriptionPlainText”:”The cool roofs initiative is a simple solution with the potential to save lives and protect those most vulnerable to the harmful effects of climate change in Ahmedabad, India.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180924142317-ahmedabad-cool-roofs-innovative-cities-00004817-large-169.jpg”,”title”:”Ahmedabad’s plan to reduce heat-related deaths”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/business/2018/09/24/ahmedabad-cool-roofs-innovative-cities.cnn-business/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/business/2018/09/24/ahmedabad-cool-roofs-innovative-cities.cnn-business”,”videoId”:”business/2018/09/24/ahmedabad-cool-roofs-innovative-cities.cnn-business”,”videoUrl”:”http://rss.cnn.com/videos/business/2018/09/24/ahmedabad-cool-roofs-innovative-cities.cnn-business/video/playlists/business-innovative-cities/”},{“descriptionPlainText”:”Central Park is a mixed-use development in Sydney, Australia. The award-winning complex with an emphasis on sustainability, boasts one of the world’s tallest vertical gardens.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180924144500-sydney-innovative-cities-large-169.jpg”,”title”:”Sydney’s Central Park redefines high-density living”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/business/2018/09/24/sydney-central-park-innovative-cities.cnn-business/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/business/2018/09/24/sydney-central-park-innovative-cities.cnn-business”,”videoId”:”business/2018/09/24/sydney-central-park-innovative-cities.cnn-business”,”videoUrl”:”http://rss.cnn.com/videos/business/2018/09/24/sydney-central-park-innovative-cities.cnn-business/video/playlists/business-innovative-cities/”},{“descriptionPlainText”:”For decades a beach called Lavender Hill has been a dumping site for Accra’s raw sewage. Now, the first fecal treatment plant in Ghana’s capital is not only helping people keep their city safe and clean, it’s generating green electricity.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180924145338-ghana-innovative-cities-large-169.jpg”,”title”:”Accra turns human waste into green energy”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/business/2018/09/24/accra-waste-management-innovative-cities.cnn-business/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/business/2018/09/24/accra-waste-management-innovative-cities.cnn-business”,”videoId”:”business/2018/09/24/accra-waste-management-innovative-cities.cnn-business”,”videoUrl”:”http://rss.cnn.com/videos/business/2018/09/24/accra-waste-management-innovative-cities.cnn-business/video/playlists/business-innovative-cities/”},{“descriptionPlainText”:”London architecture firm Waugh Thistleton is turning to cross laminated timber (CLT), as a low-carbon alternative to cement and steel.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170925123412-cross-laminated-timber-large-169.jpg”,”title”:”Architects embrace sustainable timber”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/cnnmoney/2017/09/25/timber-construction-london.cnnmoney/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/cnnmoney/2017/09/25/timber-construction-london.cnnmoney”,”videoId”:”cnnmoney/2017/09/25/timber-construction-london.cnnmoney”,”videoUrl”:”http://rss.cnn.com/videos/cnnmoney/2017/09/25/timber-construction-london.cnnmoney/video/playlists/business-innovative-cities/”},{“descriptionPlainText”:”A solar energy farm the size of 160 football fields is part of China’s push to develop clean energy.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170718004209-china-largest-floating-solar-farm-rivers-pkg-00011719-large-169.jpg”,”title”:”This solar farm floats atop a flooded coal mine”,”videoCMSUrl”:”http://rss.cnn.com/video/data/3.0/video/cnnmoney/2017/07/18/china-floating-solar-farm-orig.cnn/index.xml”,”videoLeafUrl”:”http://rss.cnn.com/videos/cnnmoney/2017/07/18/china-floating-solar-farm-orig.cnn”,”videoId”:”cnnmoney/2017/07/18/china-floating-solar-farm-orig.cnn”,”videoUrl”:”http://rss.cnn.com/videos/cnnmoney/2017/07/18/china-floating-solar-farm-orig.cnn/video/playlists/business-innovative-cities/”}],currentVideoCollectionId = ”,isLivePlayer = false,mediaMetadataCallbacks,mobilePinnedView = null,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 = CNN.Features.enableAutoplayBlock ? false : 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:”business/2018/10/30/traffic-city-brain-hangzhou-china.cnn-business”, 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-njgee5’,videoDescriptionDivId: ‘js-video_description-njgee5’,videoDurationDivId: ‘js-video_duration-njgee5’,videoTitleDivId: ‘js-leaf-video_headline-njgee5’,videoSourceDivId: ‘js-video_sourceName-njgee5’});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”:{“additionalSections”:[],”auxiliaryText”:””,”bannerText”:[],”bannerHasATag”:false,”bannerPosition”:””,”brandingLink”:””,”brandingImageUrl”:””,”brandingTextHead”:””,”brandingTextSub”:””,”cardSectionName”:”business”,”contentType”:””,”cta”:”share”,”descriptionText”:[” “City Brain” is an innovative cloud computing and AI solution to help cities with resource management in Hangzhou, China. “],”descriptionPlainText”:””City Brain” is an innovative cloud computing and AI solution to help cities with resource management in Hangzhou, China.”,”headlinePostText”:””,”headlinePreText”:””,”headlineText”:”Urban digitization eases traffic in Hangzhou”,”headlinePlainText”:”Urban digitization eases traffic in Hangzhou”,”iconImageUrl”:””,”iconType”:”video”,”isMobileBannerText”:false,”kickerText”:””,”maximizedBannerSize”:[],”media”:{“contentType”:”image”,”type”:”element”,”cutFormat”:”16:9″,”elementContents”:{“caption”:”exp Hangzhou City Brain controls traffic_00002001.jpg”,”imageAlt”:”exp Hangzhou City Brain controls traffic_00002001″,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181030164816-exp-hangzhou-city-brain-controls-traffic-00002001-large-169.jpg”,”label”:””,”galleryTitle”:””,”head”:””,”source”:””,”photographer”:””,”cuts”:{“mini”:{“width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181030164816-exp-hangzhou-city-brain-controls-traffic-00002001-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181030164816-exp-hangzhou-city-brain-controls-traffic-00002001-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181030164816-exp-hangzhou-city-brain-controls-traffic-00002001-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181030164816-exp-hangzhou-city-brain-controls-traffic-00002001-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181030164816-exp-hangzhou-city-brain-controls-traffic-00002001-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181030164816-exp-hangzhou-city-brain-controls-traffic-00002001-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181030164816-exp-hangzhou-city-brain-controls-traffic-00002001-small-11.jpg”,”height”:120}},”responsiveImage”:true,”originalImageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181030164816-exp-hangzhou-city-brain-controls-traffic-00002001.jpg”},”duration”:”2:46″},”noFollow”:false,”overMediaText”:””,”sectionUri”:””,”showSocialSharebar”:false,”shortUrl”:””,”statusText”:””,”statusColor”:””,”targetType”:””,”timestampDisplay”:””,”timestampUtc”:””,”lastModifiedText”:””,”lastModifiedState”:””,”type”:”card”,”url”:”http://rss.cnn.com/videos/business/2018/10/30/traffic-city-brain-hangzhou-china.cnn-business/video/playlists/business-innovative-cities/”,”width”:””,”webDisplayName”:”Business”,”height”:””,”videoCMSUri”:”http://rss.cnn.com/video/data/3.0/video/business/2018/10/30/traffic-city-brain-hangzhou-china.cnn-business/index.xml”,”videoId”:”business/2018/10/30/traffic-city-brain-hangzhou-china.cnn-business”,”adSection”:”const-video-leaf”,”dateCreated”:”9:21 AM ET, Tue October 30, 2018″,”sourceName”:”CNN Business”,”sourceLink”:””,”videoCollectionUrl”:”http://rss.cnn.com/video/playlists/business-innovative-cities/”},”contentType”:”video”,”maximizedBanner”:false,”type”:”card”,”autoStartVideo”:false},{“branding”:””,”cardContents”:{“additionalSections”:[],”auxiliaryText”:””,”bannerText”:[],”bannerHasATag”:false,”bannerPosition”:””,”brandingLink”:””,”brandingImageUrl”:””,”brandingTextHead”:””,”brandingTextSub”:””,”cardSectionName”:”business”,”contentType”:””,”cta”:”share”,”descriptionText”:[“With much of their country below sea level, the Dutch have always had to innovate to keep themselves dry. Part of the solution lies in living with the water, rather than resisting it.”],”descriptionPlainText”:”With much of their country below sea level, the Dutch have always had to innovate to keep themselves dry. Part of the solution lies in living with the water, rather than resisting it.”,”headlinePostText”:””,”headlinePreText”:””,”headlineText”:”Rotterdam’s continuous fight against floods”,”headlinePlainText”:”Rotterdam’s continuous fight against floods”,”iconImageUrl”:””,”iconType”:”video”,”isMobileBannerText”:false,”kickerText”:””,”maximizedBannerSize”:[],”media”:{“contentType”:”image”,”type”:”element”,”cutFormat”:”16:9″,”elementContents”:{“caption”:””,”imageAlt”:””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180924140648-rotterdam-innovatice-cities-large-169.jpg”,”label”:””,”galleryTitle”:””,”head”:””,”source”:”CNN”,”photographer”:””,”cuts”:{“mini”:{“width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180924140648-rotterdam-innovatice-cities-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180924140648-rotterdam-innovatice-cities-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180924140648-rotterdam-innovatice-cities-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180924140648-rotterdam-innovatice-cities-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180924140648-rotterdam-innovatice-cities-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180924140648-rotterdam-innovatice-cities-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180924140648-rotterdam-innovatice-cities-small-11.jpg”,”height”:120}},”responsiveImage”:true,”originalImageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180924140648-rotterdam-innovatice-cities.jpg”},”duration”:”2:42″},”noFollow”:false,”overMediaText”:””,”sectionUri”:””,”showSocialSharebar”:false,”shortUrl”:””,”statusText”:””,”statusColor”:””,”targetType”:””,”timestampDisplay”:””,”timestampUtc”:””,”lastModifiedText”:””,”lastModifiedState”:””,”type”:”card”,”url”:”http://rss.cnn.com/videos/business/2018/09/24/rotterdam-flood-protection-innovative-cities.cnn-business/video/playlists/business-innovative-cities/”,”width”:””,”webDisplayName”:”Business”,”height”:””,”videoCMSUri”:”http://rss.cnn.com/video/data/3.0/video/business/2018/09/24/rotterdam-flood-protection-innovative-cities.cnn-business/index.xml”,”videoId”:”business/2018/09/24/rotterdam-flood-protection-innovative-cities.cnn-business”,”adSection”:”const-video-leaf”,”dateCreated”:”12:50 PM ET, Mon September 24, 2018″,”sourceName”:”CNN Business”,”sourceLink”:””,”videoCollectionUrl”:”http://rss.cnn.com/video/playlists/business-innovative-cities/”},”contentType”:”video”,”maximizedBanner”:false,”type”:”card”,”autoStartVideo”:false},{“branding”:””,”cardContents”:{“additionalSections”:[],”auxiliaryText”:””,”bannerText”:[],”bannerHasATag”:false,”bannerPosition”:””,”brandingLink”:””,”brandingImageUrl”:””,”brandingTextHead”:””,”brandingTextSub”:””,”cardSectionName”:”business”,”contentType”:””,”cta”:”share”,”descriptionText”:[“The cool roofs initiative is a simple solution with the potential to save lives and protect those most vulnerable to the harmful effects of climate change in Ahmedabad, India.”],”descriptionPlainText”:”The cool roofs initiative is a simple solution with the potential to save lives and protect those most vulnerable to the harmful effects of climate change in Ahmedabad, India.”,”headlinePostText”:””,”headlinePreText”:””,”headlineText”:”Ahmedabad’s plan to reduce heat-related deaths”,”headlinePlainText”:”Ahmedabad’s plan to reduce heat-related deaths”,”iconImageUrl”:””,”iconType”:”video”,”isMobileBannerText”:false,”kickerText”:””,”maximizedBannerSize”:[],”media”:{“contentType”:”image”,”type”:”element”,”cutFormat”:”16:9″,”elementContents”:{“caption”:”ahmedabad cool roofs innovative cities_00004817.jpg”,”imageAlt”:”ahmedabad cool roofs innovative cities_00004817″,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180924142317-ahmedabad-cool-roofs-innovative-cities-00004817-large-169.jpg”,”label”:””,”galleryTitle”:””,”head”:””,”source”:””,”photographer”:””,”cuts”:{“mini”:{“width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180924142317-ahmedabad-cool-roofs-innovative-cities-00004817-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180924142317-ahmedabad-cool-roofs-innovative-cities-00004817-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180924142317-ahmedabad-cool-roofs-innovative-cities-00004817-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180924142317-ahmedabad-cool-roofs-innovative-cities-00004817-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180924142317-ahmedabad-cool-roofs-innovative-cities-00004817-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180924142317-ahmedabad-cool-roofs-innovative-cities-00004817-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180924142317-ahmedabad-cool-roofs-innovative-cities-00004817-small-11.jpg”,”height”:120}},”responsiveImage”:true,”originalImageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180924142317-ahmedabad-cool-roofs-innovative-cities-00004817.jpg”},”duration”:”2:40″},”noFollow”:false,”overMediaText”:””,”sectionUri”:””,”showSocialSharebar”:false,”shortUrl”:””,”statusText”:””,”statusColor”:””,”targetType”:””,”timestampDisplay”:””,”timestampUtc”:””,”lastModifiedText”:””,”lastModifiedState”:””,”type”:”card”,”url”:”http://rss.cnn.com/videos/business/2018/09/24/ahmedabad-cool-roofs-innovative-cities.cnn-business/video/playlists/business-innovative-cities/”,”width”:””,”webDisplayName”:”Business”,”height”:””,”videoCMSUri”:”http://rss.cnn.com/video/data/3.0/video/business/2018/09/24/ahmedabad-cool-roofs-innovative-cities.cnn-business/index.xml”,”videoId”:”business/2018/09/24/ahmedabad-cool-roofs-innovative-cities.cnn-business”,”adSection”:”const-video-leaf”,”dateCreated”:”2:08 PM ET, Mon September 24, 2018″,”sourceName”:”CNN Business”,”sourceLink”:””,”videoCollectionUrl”:”http://rss.cnn.com/video/playlists/business-innovative-cities/”},”contentType”:”video”,”maximizedBanner”:false,”type”:”card”,”autoStartVideo”:false},{“branding”:””,”cardContents”:{“additionalSections”:[],”auxiliaryText”:””,”bannerText”:[],”bannerHasATag”:false,”bannerPosition”:””,”brandingLink”:””,”brandingImageUrl”:””,”brandingTextHead”:””,”brandingTextSub”:””,”cardSectionName”:”business”,”contentType”:””,”cta”:”share”,”descriptionText”:[“Central Park is a mixed-use development in Sydney, Australia. The award-winning complex with an emphasis on sustainability, boasts one of the world’s tallest vertical gardens.”],”descriptionPlainText”:”Central Park is a mixed-use development in Sydney, Australia. The award-winning complex with an emphasis on sustainability, boasts one of the world’s tallest vertical gardens.”,”headlinePostText”:””,”headlinePreText”:””,”headlineText”:”Sydney’s Central Park redefines high-density living”,”headlinePlainText”:”Sydney’s Central Park redefines high-density living”,”iconImageUrl”:””,”iconType”:”video”,”isMobileBannerText”:false,”kickerText”:””,”maximizedBannerSize”:[],”media”:{“contentType”:”image”,”type”:”element”,”cutFormat”:”16:9″,”elementContents”:{“caption”:””,”imageAlt”:””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180924144500-sydney-innovative-cities-large-169.jpg”,”label”:””,”galleryTitle”:””,”head”:””,”source”:”CNN”,”photographer”:””,”cuts”:{“mini”:{“width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180924144500-sydney-innovative-cities-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180924144500-sydney-innovative-cities-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180924144500-sydney-innovative-cities-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180924144500-sydney-innovative-cities-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180924144500-sydney-innovative-cities-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180924144500-sydney-innovative-cities-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180924144500-sydney-innovative-cities-small-11.jpg”,”height”:120}},”responsiveImage”:true,”originalImageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180924144500-sydney-innovative-cities.jpg”},”duration”:”2:30″},”noFollow”:false,”overMediaText”:””,”sectionUri”:””,”showSocialSharebar”:false,”shortUrl”:””,”statusText”:””,”statusColor”:””,”targetType”:””,”timestampDisplay”:””,”timestampUtc”:””,”lastModifiedText”:””,”lastModifiedState”:””,”type”:”card”,”url”:”http://rss.cnn.com/videos/business/2018/09/24/sydney-central-park-innovative-cities.cnn-business/video/playlists/business-innovative-cities/”,”width”:””,”webDisplayName”:”Business”,”height”:””,”videoCMSUri”:”http://rss.cnn.com/video/data/3.0/video/business/2018/09/24/sydney-central-park-innovative-cities.cnn-business/index.xml”,”videoId”:”business/2018/09/24/sydney-central-park-innovative-cities.cnn-business”,”adSection”:”const-video-leaf”,”dateCreated”:”2:23 PM ET, Mon September 24, 2018″,”sourceName”:”CNN Business”,”sourceLink”:””,”videoCollectionUrl”:”http://rss.cnn.com/video/playlists/business-innovative-cities/”},”contentType”:”video”,”maximizedBanner”:false,”type”:”card”,”autoStartVideo”:false},{“branding”:””,”cardContents”:{“additionalSections”:[],”auxiliaryText”:””,”bannerText”:[],”bannerHasATag”:false,”bannerPosition”:””,”brandingLink”:””,”brandingImageUrl”:””,”brandingTextHead”:””,”brandingTextSub”:””,”cardSectionName”:”business”,”contentType”:””,”cta”:”share”,”descriptionText”:[“For decades a beach called Lavender Hill has been a dumping site for Accra’s raw sewage. Now, the first fecal treatment plant in Ghana’s capital is not only helping people keep their city safe and clean, it’s generating green electricity.”],”descriptionPlainText”:”For decades a beach called Lavender Hill has been a dumping site for Accra’s raw sewage. Now, the first fecal treatment plant in Ghana’s capital is not only helping people keep their city safe and clean, it’s generating green electricity.”,”headlinePostText”:””,”headlinePreText”:””,”headlineText”:”Accra turns human waste into green energy”,”headlinePlainText”:”Accra turns human waste into green energy”,”iconImageUrl”:””,”iconType”:”video”,”isMobileBannerText”:false,”kickerText”:””,”maximizedBannerSize”:[],”media”:{“contentType”:”image”,”type”:”element”,”cutFormat”:”16:9″,”elementContents”:{“caption”:””,”imageAlt”:””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180924145338-ghana-innovative-cities-large-169.jpg”,”label”:””,”galleryTitle”:””,”head”:””,”source”:”CNN”,”photographer”:””,”cuts”:{“mini”:{“width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180924145338-ghana-innovative-cities-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180924145338-ghana-innovative-cities-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180924145338-ghana-innovative-cities-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180924145338-ghana-innovative-cities-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180924145338-ghana-innovative-cities-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180924145338-ghana-innovative-cities-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180924145338-ghana-innovative-cities-small-11.jpg”,”height”:120}},”responsiveImage”:true,”originalImageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180924145338-ghana-innovative-cities.jpg”},”duration”:”3:16″},”noFollow”:false,”overMediaText”:””,”sectionUri”:””,”showSocialSharebar”:false,”shortUrl”:””,”statusText”:””,”statusColor”:””,”targetType”:””,”timestampDisplay”:””,”timestampUtc”:””,”lastModifiedText”:””,”lastModifiedState”:””,”type”:”card”,”url”:”http://rss.cnn.com/videos/business/2018/09/24/accra-waste-management-innovative-cities.cnn-business/video/playlists/business-innovative-cities/”,”width”:””,”webDisplayName”:”Business”,”height”:””,”videoCMSUri”:”http://rss.cnn.com/video/data/3.0/video/business/2018/09/24/accra-waste-management-innovative-cities.cnn-business/index.xml”,”videoId”:”business/2018/09/24/accra-waste-management-innovative-cities.cnn-business”,”adSection”:”const-video-leaf”,”dateCreated”:”2:54 PM ET, Mon September 24, 2018″,”sourceName”:”CNN Business”,”sourceLink”:””,”videoCollectionUrl”:”http://rss.cnn.com/video/playlists/business-innovative-cities/”},”contentType”:”video”,”maximizedBanner”:false,”type”:”card”,”autoStartVideo”:false},{“branding”:””,”cardContents”:{“additionalSections”:[],”auxiliaryText”:””,”bannerText”:[],”bannerHasATag”:false,”bannerPosition”:””,”brandingLink”:””,”brandingImageUrl”:””,”brandingTextHead”:””,”brandingTextSub”:””,”cardSectionName”:”cnnmoney”,”contentType”:””,”cta”:”share”,”descriptionText”:[“London architecture firm Waugh Thistleton is turning to cross laminated timber (CLT), as a low-carbon alternative to cement and steel.”],”descriptionPlainText”:”London architecture firm Waugh Thistleton is turning to cross laminated timber (CLT), as a low-carbon alternative to cement and steel.”,”headlinePostText”:””,”headlinePreText”:””,”headlineText”:”Architects embrace sustainable timber”,”headlinePlainText”:”Architects embrace sustainable timber”,”iconImageUrl”:””,”iconType”:”video”,”isMobileBannerText”:false,”kickerText”:””,”maximizedBannerSize”:[],”media”:{“contentType”:”image”,”type”:”element”,”cutFormat”:”16:9″,”elementContents”:{“caption”:””,”imageAlt”:””,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170925123412-cross-laminated-timber-large-169.jpg”,”label”:””,”galleryTitle”:””,”head”:””,”source”:”CNNMoney”,”photographer”:””,”cuts”:{“mini”:{“height”:124,”width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/170925123412-cross-laminated-timber-small-169.jpg”},”xsmall”:{“height”:173,”width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/170925123412-cross-laminated-timber-medium-plus-169.jpg”},”small”:{“height”:259,”width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/170925123412-cross-laminated-timber-large-169.jpg”},”medium”:{“height”:438,”width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/170925123412-cross-laminated-timber-exlarge-169.jpg”},”large”:{“height”:619,”width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/170925123412-cross-laminated-timber-super-169.jpg”},”full16x9″:{“height”:900,”width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/170925123412-cross-laminated-timber-full-169.jpg”},”mini1x1″:{“height”:120,”width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/170925123412-cross-laminated-timber-small-11.jpg”}},”responsiveImage”:true,”originalImageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170925123412-cross-laminated-timber.jpg”},”duration”:”2:55″},”noFollow”:false,”overMediaText”:””,”sectionUri”:””,”showSocialSharebar”:false,”shortUrl”:””,”statusText”:””,”statusColor”:””,”targetType”:””,”timestampDisplay”:””,”timestampUtc”:””,”lastModifiedText”:””,”lastModifiedState”:””,”type”:”card”,”url”:”http://rss.cnn.com/videos/cnnmoney/2017/09/25/timber-construction-london.cnnmoney/video/playlists/business-innovative-cities/”,”width”:””,”webDisplayName”:””,”height”:””,”videoCMSUri”:”http://rss.cnn.com/video/data/3.0/video/cnnmoney/2017/09/25/timber-construction-london.cnnmoney/index.xml”,”videoId”:”cnnmoney/2017/09/25/timber-construction-london.cnnmoney”,”adSection”:”const-video-leaf”,”dateCreated”:”10:37 AM ET, Mon September 25, 2017″,”sourceName”:”CNNMoney”,”sourceLink”:”http://money.cnn.com/”,”videoCollectionUrl”:”http://rss.cnn.com/video/playlists/business-innovative-cities/”},”contentType”:”video”,”maximizedBanner”:false,”type”:”card”,”autoStartVideo”:false},{“branding”:””,”cardContents”:{“additionalSections”:[],”auxiliaryText”:””,”bannerText”:[],”bannerHasATag”:false,”bannerPosition”:””,”brandingLink”:””,”brandingImageUrl”:””,”brandingTextHead”:””,”brandingTextSub”:””,”cardSectionName”:”cnnmoney”,”contentType”:””,”cta”:”share”,”descriptionText”:[“A solar energy farm the size of 160 football fields is part of China’s push to develop clean energy.”],”descriptionPlainText”:”A solar energy farm the size of 160 football fields is part of China’s push to develop clean energy.”,”headlinePostText”:””,”headlinePreText”:””,”headlineText”:”This solar farm floats atop a flooded coal mine”,”headlinePlainText”:”This solar farm floats atop a flooded coal mine”,”iconImageUrl”:””,”iconType”:”video”,”isMobileBannerText”:false,”kickerText”:””,”maximizedBannerSize”:[],”media”:{“contentType”:”image”,”type”:”element”,”cutFormat”:”16:9″,”elementContents”:{“caption”:”china largest floating solar farm rivers pkg_00011719.jpg”,”imageAlt”:”china largest floating solar farm rivers pkg_00011719″,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170718004209-china-largest-floating-solar-farm-rivers-pkg-00011719-large-169.jpg”,”label”:””,”galleryTitle”:””,”head”:””,”source”:””,”photographer”:””,”cuts”:{“mini”:{“height”:124,”width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/170718004209-china-largest-floating-solar-farm-rivers-pkg-00011719-small-169.jpg”},”xsmall”:{“height”:173,”width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/170718004209-china-largest-floating-solar-farm-rivers-pkg-00011719-medium-plus-169.jpg”},”small”:{“height”:259,”width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/170718004209-china-largest-floating-solar-farm-rivers-pkg-00011719-large-169.jpg”},”medium”:{“height”:438,”width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/170718004209-china-largest-floating-solar-farm-rivers-pkg-00011719-exlarge-169.jpg”},”large”:{“height”:619,”width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/170718004209-china-largest-floating-solar-farm-rivers-pkg-00011719-super-169.jpg”},”full16x9″:{“height”:900,”width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/170718004209-china-largest-floating-solar-farm-rivers-pkg-00011719-full-169.jpg”},”mini1x1″:{“height”:120,”width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/170718004209-china-largest-floating-solar-farm-rivers-pkg-00011719-small-11.jpg”}},”responsiveImage”:true,”originalImageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170718004209-china-largest-floating-solar-farm-rivers-pkg-00011719.jpg”},”duration”:”0:58″},”noFollow”:false,”overMediaText”:””,”sectionUri”:””,”showSocialSharebar”:false,”shortUrl”:””,”statusText”:””,”statusColor”:””,”targetType”:””,”timestampDisplay”:””,”timestampUtc”:””,”lastModifiedText”:””,”lastModifiedState”:””,”type”:”card”,”url”:”http://rss.cnn.com/videos/cnnmoney/2017/07/18/china-floating-solar-farm-orig.cnn/video/playlists/business-innovative-cities/”,”width”:””,”webDisplayName”:”CNN Money Videos on CNN”,”height”:””,”videoCMSUri”:”http://rss.cnn.com/video/data/3.0/video/cnnmoney/2017/07/18/china-floating-solar-farm-orig.cnn/index.xml”,”videoId”:”cnnmoney/2017/07/18/china-floating-solar-farm-orig.cnn”,”adSection”:”const-video-leaf”,”dateCreated”:”2:57 AM ET, Tue July 18, 2017″,”sourceName”:”CNN”,”sourceLink”:””,”videoCollectionUrl”:”http://rss.cnn.com/video/playlists/business-innovative-cities/”},”contentType”:”video”,”maximizedBanner”:false,”type”:”card”,”autoStartVideo”:false}],cardContents,i;for (i = 0; i 0) {for (i = 0; i 0) {for (i = 0; i 0) {for (i = 0; i 0) {currentVidObj = currentVideoCollection[getNextVideoIndex(currentVideoId)];nextPlay = currentVidObj.videoId;nextVideoUrl = domain + currentVidObj.videoUrl;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);}if (typeof window.recallProximic !== ‘undefined’ && nextPlay !== null) {window.recallProximic(nextVideoUrl);}}, nextVideoPlayTimeout);}}var decorateVideoApi = function(){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.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);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();}}},onTrackingFullscreen: function (containerId, PlayerId, dataObj) {CNN.VideoPlayer.handleFullscreenChange(containerId, dataObj);},onContentPlay: function (containerId, cvpId, contentId) {if (CNN.companion && typeof CNN.companion.updateCompanionLayout === ‘function’) {CNN.companion.updateCompanionLayout(‘removeFreewheel’);CNN.companion.updateCompanionLayout(‘restoreEpicAds’);}clearTimeout(moveToNextTimeout);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();}}},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);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) {if (CNN.companion && typeof CNN.companion.updateCompanionLayout === ‘function’) {CNN.companion.updateCompanionLayout(‘removeEpicAds’);CNN.companion.updateCompanionLayout(‘restoreFreewheel’);}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);}};mediaMetadataCallbacks = {nextTrack: function (containerId, playerId, contentId) {navigateToNextVideo(contentId);}};if (typeof configObj.context !== ‘string’ || configObj.context.length
Innovative Cities (7 Videos)