');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-24wnh2m',videoDescriptionDivId: 'js-video_description-24wnh2m',videoDurationDivId: 'js-video_duration-24wnh2m',videoTitleDivId: 'js-leaf-video_headline-24wnh2m'});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 ? decodeURI(videocardContents.headlineText) : '';}}function getCurrentVideoCardContents(currentVideoId) {var containerContents = [{"branding":"","cardContents":{"auxiliaryText":"","bannerText":"","bannerPosition":"","brandingLink":"","brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","cardSectionName":"video","contentType":"","cta":"share","descriptionText":["Team Aguri driver and Mexico City native Salvador Duran gives Nicki Shields some tips on how to survive the megacity's congested streets. "],"descriptionPlainText":"Team Aguri driver and Mexico City native Salvador Duran gives Nicki Shields some tips on how to survive the megacity's congested streets.","headlinePostText":"","headlinePreText":"","headlineText":"Mexico City: Megacity streets 'like a jungle'","headlinePlainText":"Mexico City: Megacity streets 'like a jungle'","iconImageUrl":"","iconType":"video","isMobileBannerText":false,"kickerText":"","media":{"contentType":"image","type":"element","cutFormat":"16:9","elementContents":{"caption":"spc supercharged salvador duran mexico_00000203.jpg","imageAlt":"spc supercharged salvador duran mexico_00000203","imageUrl":"http://i2.cdn.turner.com/cnnnext/dam/assets/160321140734-spc-supercharged-salvador-duran-mexico-00000203-large-169.jpg","label":"","galleryTitle":"","head":"","cuts":{"mini":{"height":124,"width":220,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160321140734-spc-supercharged-salvador-duran-mexico-00000203-small-169.jpg"},"xsmall":{"height":173,"width":307,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160321140734-spc-supercharged-salvador-duran-mexico-00000203-medium-plus-169.jpg"},"small":{"height":259,"width":460,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160321140734-spc-supercharged-salvador-duran-mexico-00000203-large-169.jpg"},"medium":{"height":438,"width":780,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160321140734-spc-supercharged-salvador-duran-mexico-00000203-exlarge-169.jpg"},"large":{"height":619,"width":1100,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160321140734-spc-supercharged-salvador-duran-mexico-00000203-super-169.jpg"},"full16x9":{"height":900,"width":1600,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160321140734-spc-supercharged-salvador-duran-mexico-00000203-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160321140734-spc-supercharged-salvador-duran-mexico-00000203-small-11.jpg"}},"responsiveImage":true},"duration":"2:43"},"overMediaText":"","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusText":"","statusColor":"","targetType":"","timestampDisplay":"","timestampUtc":"","lastModifiedText":"","lastModifiedState":"","type":"card","url":"/videos/sports/2016/03/21/spc-supercharged-salvador-duran-mexico.cnn/video/playlists/supercharged-intl-spc/","width":"","height":"","videoCMSUri":"/video/data/3.0/video/sports/2016/03/21/spc-supercharged-salvador-duran-mexico.cnn/index.xml","videoId":"sports/2016/03/21/spc-supercharged-salvador-duran-mexico.cnn","dateCreated":"6:54 AM ET, Mon March 21, 2016","sourceName":"CNN","sourceLink":"","videoCollectionUrl":"/video/playlists/supercharged-intl-spc/"},"contentType":"video","maximizedBanner":false,"type":"card"},{"branding":"","cardContents":{"auxiliaryText":"","bannerText":"","bannerPosition":"","brandingLink":"","brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","cardSectionName":"video","contentType":"","cta":"share","descriptionText":["CNN's Don Riddell talks to Alejandro Agag, Formula E's CEO about the electric revolution taking place in motorsport."],"descriptionPlainText":"CNN's Don Riddell talks to Alejandro Agag, Formula E's CEO about the electric revolution taking place in motorsport.","headlinePostText":"","headlinePreText":"","headlineText":"Formula E: Unplugging an electric future","headlinePlainText":"Formula E: Unplugging an electric future","iconImageUrl":"","iconType":"video","isMobileBannerText":false,"kickerText":"","media":{"contentType":"image","type":"element","cutFormat":"16:9","elementContents":{"caption":"CEO of Formula E Holdings, Spanish Alejandro Agag attends a press conference in Berlin, on May 22, 2015 on the eve of the 2015 Fia Formula E Berlin championships. The Formula E series features 100 percent electric cars competing over 11 stops. The first six legs were raced in Asia and America, all with different winners. AFP PHOTO / TOBIAS SCHWARZ (Photo credit should read TOBIAS SCHWARZ/AFP/Getty Images)","imageAlt":"CEO of Formula E Holdings, Spanish Alejandro Agag attends a press conference in Berlin, on May 22, 2015 on the eve of the 2015 Fia Formula E Berlin championships. The Formula E series features 100 percent electric cars competing over 11 stops. The first six legs were raced in Asia and America, all with different winners. AFP PHOTO / TOBIAS SCHWARZ (Photo credit should read TOBIAS SCHWARZ/AFP/Getty Images)","imageUrl":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215180740-formula-e-agag-portrait-large-169.jpg","label":"","galleryTitle":"","head":"","cuts":{"mini":{"height":124,"width":220,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215180740-formula-e-agag-portrait-small-169.jpg"},"xsmall":{"height":173,"width":307,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215180740-formula-e-agag-portrait-medium-plus-169.jpg"},"small":{"height":259,"width":460,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215180740-formula-e-agag-portrait-large-169.jpg"},"medium":{"height":438,"width":780,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215180740-formula-e-agag-portrait-exlarge-169.jpg"},"large":{"height":619,"width":1100,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215180740-formula-e-agag-portrait-super-169.jpg"},"full16x9":{"height":900,"width":1600,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215180740-formula-e-agag-portrait-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215180740-formula-e-agag-portrait-small-11.jpg"}},"responsiveImage":true},"duration":"2:06"},"overMediaText":"","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusText":"","statusColor":"","targetType":"","timestampDisplay":"","timestampUtc":"","lastModifiedText":"","lastModifiedState":"","type":"card","url":"/videos/sports/2016/02/15/spc-supercharged-alejandro-agag.cnn/video/playlists/supercharged-intl-spc/","width":"","height":"","videoCMSUri":"/video/data/3.0/video/sports/2016/02/15/spc-supercharged-alejandro-agag.cnn/index.xml","videoId":"sports/2016/02/15/spc-supercharged-alejandro-agag.cnn","dateCreated":"9:54 AM ET, Mon February 15, 2016","sourceName":"CNN","sourceLink":"","videoCollectionUrl":"/video/playlists/supercharged-intl-spc/"},"contentType":"video","maximizedBanner":false,"type":"card"},{"branding":"","cardContents":{"auxiliaryText":"","bannerText":"","bannerPosition":"","brandingLink":"","brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","cardSectionName":"video","contentType":"","cta":"share","descriptionText":["SuperCharged presenter Nicki Shields samples two of Buenos Aires' sustainable transport options -- electric scooters and a pioneering new bus route."],"descriptionPlainText":"SuperCharged presenter Nicki Shields samples two of Buenos Aires' sustainable transport options -- electric scooters and a pioneering new bus route.","headlinePostText":"","headlinePreText":"","headlineText":"Buenos Aires: Switching from grime to green","headlinePlainText":"Buenos Aires: Switching from grime to green","iconImageUrl":"","iconType":"video","isMobileBannerText":false,"kickerText":"","media":{"contentType":"image","type":"element","cutFormat":"16:9","elementContents":{"caption":"spc supercharged how green is your city_00031604.jpg","imageAlt":"spc supercharged how green is your city_00031604","imageUrl":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215150528-spc-supercharged-how-green-is-your-city-00031604-large-169.jpg","label":"","galleryTitle":"","head":"","cuts":{"mini":{"height":124,"width":220,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215150528-spc-supercharged-how-green-is-your-city-00031604-small-169.jpg"},"xsmall":{"height":173,"width":307,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215150528-spc-supercharged-how-green-is-your-city-00031604-medium-plus-169.jpg"},"small":{"height":259,"width":460,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215150528-spc-supercharged-how-green-is-your-city-00031604-large-169.jpg"},"medium":{"height":438,"width":780,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215150528-spc-supercharged-how-green-is-your-city-00031604-exlarge-169.jpg"},"large":{"height":619,"width":1100,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215150528-spc-supercharged-how-green-is-your-city-00031604-super-169.jpg"},"full16x9":{"height":900,"width":1600,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215150528-spc-supercharged-how-green-is-your-city-00031604-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215150528-spc-supercharged-how-green-is-your-city-00031604-small-11.jpg"}},"responsiveImage":true},"duration":"3:18"},"overMediaText":"","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusText":"","statusColor":"","targetType":"","timestampDisplay":"","timestampUtc":"","lastModifiedText":"","lastModifiedState":"","type":"card","url":"/videos/sports/2016/02/15/spc-supercharged-how-green-is-your-city.cnn/video/playlists/supercharged-intl-spc/","width":"","height":"","videoCMSUri":"/video/data/3.0/video/sports/2016/02/15/spc-supercharged-how-green-is-your-city.cnn/index.xml","videoId":"sports/2016/02/15/spc-supercharged-how-green-is-your-city.cnn","dateCreated":"10:01 AM ET, Mon February 15, 2016","sourceName":"CNN","sourceLink":"","videoCollectionUrl":"/video/playlists/supercharged-intl-spc/"},"contentType":"video","maximizedBanner":false,"type":"card"},{"branding":"","cardContents":{"auxiliaryText":"","bannerText":"","bannerPosition":"","brandingLink":"","brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","cardSectionName":"video","contentType":"","cta":"share","descriptionText":["What are the major differences between F1 and Formula E? Here's a quick explainer."],"descriptionPlainText":"What are the major differences between F1 and Formula E? Here's a quick explainer.","headlinePostText":"","headlinePreText":"","headlineText":"Formula E vs. Formula One","headlinePlainText":"Formula E vs. Formula One","iconImageUrl":"","iconType":"video","isMobileBannerText":false,"kickerText":"","media":{"contentType":"image","type":"element","cutFormat":"16:9","elementContents":{"caption":"","imageAlt":"","imageUrl":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215182137-fe-vs-f1-tz-image-large-169.jpg","label":"","galleryTitle":"","head":"","cuts":{"mini":{"height":124,"width":220,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215182137-fe-vs-f1-tz-image-small-169.jpg"},"xsmall":{"height":173,"width":307,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215182137-fe-vs-f1-tz-image-medium-plus-169.jpg"},"small":{"height":259,"width":460,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215182137-fe-vs-f1-tz-image-large-169.jpg"},"medium":{"height":438,"width":780,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215182137-fe-vs-f1-tz-image-exlarge-169.jpg"},"large":{"height":619,"width":1100,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215182137-fe-vs-f1-tz-image-super-169.jpg"},"full16x9":{"height":900,"width":1600,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215182137-fe-vs-f1-tz-image-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215182137-fe-vs-f1-tz-image-small-11.jpg"}},"responsiveImage":true},"duration":"1:33"},"overMediaText":"","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusText":"","statusColor":"","targetType":"","timestampDisplay":"","timestampUtc":"","lastModifiedText":"","lastModifiedState":"","type":"card","url":"/videos/sports/2016/02/15/spc-supercharged-f1-vs-fe.cnn/video/playlists/supercharged-intl-spc/","width":"","height":"","videoCMSUri":"/video/data/3.0/video/sports/2016/02/15/spc-supercharged-f1-vs-fe.cnn/index.xml","videoId":"sports/2016/02/15/spc-supercharged-f1-vs-fe.cnn","dateCreated":"9:47 AM ET, Mon February 15, 2016","sourceName":"CNN","sourceLink":"","videoCollectionUrl":"/video/playlists/supercharged-intl-spc/"},"contentType":"video","maximizedBanner":false,"type":"card"},{"branding":"","cardContents":{"auxiliaryText":"","bannerText":"","bannerPosition":"","brandingLink":"","brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","cardSectionName":"video","contentType":"","cta":"share","descriptionText":["SuperCharged presenter Nicki Shields and Formula E driver Lucas di Grassi take to the Buenos Aires street circuit in the sport's official safety car."],"descriptionPlainText":"SuperCharged presenter Nicki Shields and Formula E driver Lucas di Grassi take to the Buenos Aires street circuit in the sport's official safety car.","headlinePostText":"","headlinePreText":"","headlineText":"Formula E: Taking the BMW i8 out for a spin ","headlinePlainText":"Formula E: Taking the BMW i8 out for a spin ","iconImageUrl":"","iconType":"video","isMobileBannerText":false,"kickerText":"","media":{"contentType":"image","type":"element","cutFormat":"16:9","elementContents":{"caption":"","imageAlt":"","imageUrl":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215174252-formula-e-safety-car-nicki-tz-large-169.jpg","label":"","galleryTitle":"","head":"","cuts":{"mini":{"height":124,"width":220,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215174252-formula-e-safety-car-nicki-tz-small-169.jpg"},"xsmall":{"height":173,"width":307,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215174252-formula-e-safety-car-nicki-tz-medium-plus-169.jpg"},"small":{"height":259,"width":460,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215174252-formula-e-safety-car-nicki-tz-large-169.jpg"},"medium":{"height":438,"width":780,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215174252-formula-e-safety-car-nicki-tz-exlarge-169.jpg"},"large":{"height":619,"width":1100,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215174252-formula-e-safety-car-nicki-tz-super-169.jpg"},"full16x9":{"height":900,"width":1600,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215174252-formula-e-safety-car-nicki-tz-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160215174252-formula-e-safety-car-nicki-tz-small-11.jpg"}},"responsiveImage":true},"duration":"2:18"},"overMediaText":"","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusText":"","statusColor":"","targetType":"","timestampDisplay":"","timestampUtc":"","lastModifiedText":"","lastModifiedState":"","type":"card","url":"/videos/sports/2016/02/15/spc-supercharged-di-grassi.cnn/video/playlists/supercharged-intl-spc/","width":"","height":"","videoCMSUri":"/video/data/3.0/video/sports/2016/02/15/spc-supercharged-di-grassi.cnn/index.xml","videoId":"sports/2016/02/15/spc-supercharged-di-grassi.cnn","dateCreated":"9:57 AM ET, Mon February 15, 2016","sourceName":"CNN","sourceLink":"","videoCollectionUrl":"/video/playlists/supercharged-intl-spc/"},"contentType":"video","maximizedBanner":false,"type":"card"},{"branding":"","cardContents":{"auxiliaryText":"","bannerText":"","bannerPosition":"","brandingLink":"","brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","cardSectionName":"video","contentType":"","cta":"share","descriptionText":["Mahindra driver Bruno Senna takes controls of a drone, while American racer Scott Speed sits behind the wheel of a Formula E car for an epic game of chase."],"descriptionPlainText":"Mahindra driver Bruno Senna takes controls of a drone, while American racer Scott Speed sits behind the wheel of a Formula E car for an epic game of chase.","headlinePostText":"","headlinePreText":"","headlineText":"Formula E car vs. drone - who wins this race?","headlinePlainText":"Formula E car vs. drone - who wins this race?","iconImageUrl":"","iconType":"video","isMobileBannerText":false,"kickerText":"","media":{"contentType":"image","type":"element","cutFormat":"16:9","elementContents":{"caption":"","imageAlt":"","imageUrl":"http://i2.cdn.turner.com/cnnnext/dam/assets/160330192920-formula-e-drone-race-still-for-explainer-large-169.jpg","label":"","galleryTitle":"","head":"","cuts":{"mini":{"height":124,"width":220,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160330192920-formula-e-drone-race-still-for-explainer-small-169.jpg"},"xsmall":{"height":173,"width":307,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160330192920-formula-e-drone-race-still-for-explainer-medium-plus-169.jpg"},"small":{"height":259,"width":460,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160330192920-formula-e-drone-race-still-for-explainer-large-169.jpg"},"medium":{"height":438,"width":780,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160330192920-formula-e-drone-race-still-for-explainer-exlarge-169.jpg"},"large":{"height":619,"width":1100,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160330192920-formula-e-drone-race-still-for-explainer-super-169.jpg"},"full16x9":{"height":900,"width":1600,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160330192920-formula-e-drone-race-still-for-explainer-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160330192920-formula-e-drone-race-still-for-explainer-small-11.jpg"}},"responsiveImage":true},"duration":"1:24"},"overMediaText":"","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusText":"","statusColor":"","targetType":"","timestampDisplay":"","timestampUtc":"","lastModifiedText":"","lastModifiedState":"","type":"card","url":"/videos/tv/2016/03/30/bruno-senna-formula-e-drone-race-orig.cnn/video/playlists/supercharged-intl-spc/","width":"","height":"","videoCMSUri":"/video/data/3.0/video/tv/2016/03/30/bruno-senna-formula-e-drone-race-orig.cnn/index.xml","videoId":"tv/2016/03/30/bruno-senna-formula-e-drone-race-orig.cnn","dateCreated":"2:20 PM ET, Wed March 30, 2016","sourceName":"CNN","sourceLink":"","videoCollectionUrl":"/video/playlists/supercharged-intl-spc/"},"contentType":"video","maximizedBanner":false,"type":"card"},{"branding":"","cardContents":{"auxiliaryText":"","bannerText":"","bannerPosition":"","brandingLink":"","brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","cardSectionName":"video","contentType":"","cta":"share","descriptionText":["Bruno Senna, nephew of legendary F1 driver Ayrton, takes Nicki Shields on a tour of the Mexico circuit including the famous Peraltada corner. "],"descriptionPlainText":"Bruno Senna, nephew of legendary F1 driver Ayrton, takes Nicki Shields on a tour of the Mexico circuit including the famous Peraltada corner.","headlinePostText":"","headlinePreText":"","headlineText":"Bruno Senna revisits scene of uncle's famous crash","headlinePlainText":"Bruno Senna revisits scene of uncle's famous crash","iconImageUrl":"","iconType":"video","isMobileBannerText":false,"kickerText":"","media":{"contentType":"image","type":"element","cutFormat":"16:9","elementContents":{"caption":"spc supercharged track walk bruno senna_00021717.jpg","imageAlt":"spc supercharged track walk bruno senna_00021717","imageUrl":"http://i2.cdn.turner.com/cnnnext/dam/assets/160321162004-spc-supercharged-track-walk-bruno-senna-00021717-large-169.jpg","label":"","galleryTitle":"","head":"","cuts":{"mini":{"height":124,"width":220,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160321162004-spc-supercharged-track-walk-bruno-senna-00021717-small-169.jpg"},"xsmall":{"height":173,"width":307,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160321162004-spc-supercharged-track-walk-bruno-senna-00021717-medium-plus-169.jpg"},"small":{"height":259,"width":460,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160321162004-spc-supercharged-track-walk-bruno-senna-00021717-large-169.jpg"},"medium":{"height":438,"width":780,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160321162004-spc-supercharged-track-walk-bruno-senna-00021717-exlarge-169.jpg"},"large":{"height":619,"width":1100,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160321162004-spc-supercharged-track-walk-bruno-senna-00021717-super-169.jpg"},"full16x9":{"height":900,"width":1600,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160321162004-spc-supercharged-track-walk-bruno-senna-00021717-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160321162004-spc-supercharged-track-walk-bruno-senna-00021717-small-11.jpg"}},"responsiveImage":true},"duration":"2:55"},"overMediaText":"","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusText":"","statusColor":"","targetType":"","timestampDisplay":"","timestampUtc":"","lastModifiedText":"","lastModifiedState":"","type":"card","url":"/videos/sports/2016/03/18/spc-supercharged-track-walk-bruno-senna.cnn/video/playlists/supercharged-intl-spc/","width":"","height":"","videoCMSUri":"/video/data/3.0/video/sports/2016/03/18/spc-supercharged-track-walk-bruno-senna.cnn/index.xml","videoId":"sports/2016/03/18/spc-supercharged-track-walk-bruno-senna.cnn","dateCreated":"3:55 PM ET, Fri March 18, 2016","sourceName":"CNN","sourceLink":"","videoCollectionUrl":"/video/playlists/supercharged-intl-spc/"},"contentType":"video","maximizedBanner":false,"type":"card"},{"branding":"","cardContents":{"auxiliaryText":"","bannerText":"","bannerPosition":"","brandingLink":"","brandingImageUrl":"","brandingTextHead":"","brandingTextSub":"","cardSectionName":"video","contentType":"","cta":"share","descriptionText":["Some famous Formula One names are now racing in the all-electric racing series. "],"descriptionPlainText":"Some famous Formula One names are now racing in the all-electric racing series.","headlinePostText":"","headlinePreText":"","headlineText":"Formula E: Meet the drivers","headlinePlainText":"Formula E: Meet the drivers","iconImageUrl":"","iconType":"video","isMobileBannerText":false,"kickerText":"","media":{"contentType":"image","type":"element","cutFormat":"16:9","elementContents":{"caption":"spc supercharged formula e drivers_00011419.jpg","imageAlt":"spc supercharged formula e drivers_00011419","imageUrl":"http://i2.cdn.turner.com/cnnnext/dam/assets/160321142157-spc-supercharged-formula-e-drivers-00011419-large-169.jpg","label":"","galleryTitle":"","head":"","cuts":{"mini":{"height":124,"width":220,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160321142157-spc-supercharged-formula-e-drivers-00011419-small-169.jpg"},"xsmall":{"height":173,"width":307,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160321142157-spc-supercharged-formula-e-drivers-00011419-medium-plus-169.jpg"},"small":{"height":259,"width":460,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160321142157-spc-supercharged-formula-e-drivers-00011419-large-169.jpg"},"medium":{"height":438,"width":780,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160321142157-spc-supercharged-formula-e-drivers-00011419-exlarge-169.jpg"},"large":{"height":619,"width":1100,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160321142157-spc-supercharged-formula-e-drivers-00011419-super-169.jpg"},"full16x9":{"height":900,"width":1600,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160321142157-spc-supercharged-formula-e-drivers-00011419-full-169.jpg"},"mini1x1":{"height":120,"width":120,"type":"jpg","uri":"http://i2.cdn.turner.com/cnnnext/dam/assets/160321142157-spc-supercharged-formula-e-drivers-00011419-small-11.jpg"}},"responsiveImage":true},"duration":"1:23"},"overMediaText":"","sectionUri":"","showSocialSharebar":false,"shortUrl":"","statusText":"","statusColor":"","targetType":"","timestampDisplay":"","timestampUtc":"","lastModifiedText":"","lastModifiedState":"","type":"card","url":"/videos/sports/2016/03/21/spc-supercharged-formula-e-drivers.cnn/video/playlists/supercharged-intl-spc/","width":"","height":"","videoCMSUri":"/video/data/3.0/video/sports/2016/03/21/spc-supercharged-formula-e-drivers.cnn/index.xml","videoId":"sports/2016/03/21/spc-supercharged-formula-e-drivers.cnn","dateCreated":"6:56 AM ET, Mon March 21, 2016","sourceName":"CNN","sourceLink":"","videoCollectionUrl":"/video/playlists/supercharged-intl-spc/"},"contentType":"video","maximizedBanner":false,"type":"card"}],cardContents;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 () {CNNVIDEOAPI.CNNVideoManager.getInstance().playVideo(configObj.markupId, nextPlay, {videoCollection: currentVideoCollection});}, 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);},onAdPlay: function (containerId, cvpId, token, mode, id, duration, blockId, adType) {clearTimeout(moveToNextTimeout);if (Array.isArray(window._vrq)) {window._vrq.push(['video', 'adroll', configObj.video]);}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();}}},onAdEnd: function (containerId, cvpId, token, mode, id, blockId, adType) {/* Add VisualRevenue event on video ad stop */if (Array.isArray(window._vrq)) {window._vrq.push(['video', 'adstop', configObj.video]);}},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);/* Add VisualRevenue event on video start */if (Array.isArray(window._vrq)) {window._vrq.push(['video', 'play', configObj.video]);}var idx,cvp = containerId && window.cnnVideoManager.getPlayerByContainer(containerId).videoInstance.cvp || null,prevVideoId = (window.jsmd && window.jsmd.v && (window.jsmd.v.eVar18 || window.jsmd.v.eVar4)) || '';if (cvp && typeof cvp.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');}cvp.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 (typeof metadata === 'string' && metadata.length > 0) {try {CNN.Videx.EmbedButton.updateCode(JSON.parse(metadata));} catch (e) {console.log('Invalid video metadata JSON.');}}},onContentBegin: function (containerId, cvpId, 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);updateCurrentlyPlaying(contentId);},onContentComplete: function (containerId, cvpId, contentId) {navigateToNextVideo(contentId);},onContentEnd: function (containerId, cvpId, contentId) {/* Add VisualRevenue event on video end */if (Array.isArray(window._vrq)) {window._vrq.push(['video', 'stop', configObj.video]);}/** 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
Thank you for reading article Megacity streets 'like a jungle'
No comments:
Post a Comment