Episode 4.2: The 2018 Marrakesh ePrix

0
32


‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘sports/2018/01/22/marrakesh-morocco-fia-formula-e-sam-bird-jean-eric-vergne-virgin-techeetah-supercharged-spc.cnn’,width: ‘100%’,height: ‘100%’,section: ‘domestic’,profile: ‘expansion’,network: ‘cnn’,markupId: ‘large-media_0’,adsection: ‘cnn.com_specialreports_formulaesupercharged_videopage’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: {“mini”:{“height”:124,”width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180113182708-rosenqvist-marrakech-2018-small-169.jpg”},”xsmall”:{“height”:173,”width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180113182708-rosenqvist-marrakech-2018-medium-plus-169.jpg”},”small”:{“height”:259,”width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180113182708-rosenqvist-marrakech-2018-large-169.jpg”},”medium”:{“height”:438,”width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180113182708-rosenqvist-marrakech-2018-exlarge-169.jpg”},”large”:{“height”:619,”width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180113182708-rosenqvist-marrakech-2018-super-169.jpg”},”full16x9″:{“height”:900,”width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180113182708-rosenqvist-marrakech-2018-full-169.jpg”},”mini1x1″:{“height”:120,”width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/180113182708-rosenqvist-marrakech-2018-small-11.jpg”}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”In the January 2018 Supercharged, Nicki Shields heads to Morocco for the 2018 Marrakesh ePrix, while DS Virgin’s Sam Bird visits the CNN offices in London.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180113182708-rosenqvist-marrakech-2018-large-169.jpg”,”title”:”The 2018 Marrakesh ePrix”,”videoCMSUrl”:”/videos/sports/2018/01/22/marrakesh-morocco-fia-formula-e-sam-bird-jean-eric-vergne-virgin-techeetah-supercharged-spc.cnn”,”videoId”:”sports/2018/01/22/marrakesh-morocco-fia-formula-e-sam-bird-jean-eric-vergne-virgin-techeetah-supercharged-spc.cnn”,”videoUrl”:”/videos/sports/2018/01/22/marrakesh-morocco-fia-formula-e-sam-bird-jean-eric-vergne-virgin-techeetah-supercharged-spc.cnn”},{“descriptionPlainText”:”What is that noise?! Is it a bird? Is it a plane? No, it’s Formula E drivers impersonating the sound of their cars!”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170611152618-rosenqvist-formula-e-berlin-sunday-race-large-169.jpg”,”title”:”Impersonating a Formula E car”,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/08/11/formula-e-car-impressions-lucas-di-grassi-sebastien-buemi-supercharged-orig.cnn/index.xml”,”videoId”:”sports/2017/08/11/formula-e-car-impressions-lucas-di-grassi-sebastien-buemi-supercharged-orig.cnn”,”videoUrl”:”/videos/sports/2017/08/11/formula-e-car-impressions-lucas-di-grassi-sebastien-buemi-supercharged-orig.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”The reigning Formula E champion, and newly appointed Roborace CEO, explains the ambitions of the autonomous racing series.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171012094326-roborace-2017-di-grassi-large-169.jpg”,”title”:”Lucas di Grassi’s new Roborace challenge”,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/10/11/roborace-lucas-di-grassi-formula-e-electric-racing-nicki-shields-supercharged-spc.cnn/index.xml”,”videoId”:”sports/2017/10/11/roborace-lucas-di-grassi-formula-e-electric-racing-nicki-shields-supercharged-spc.cnn”,”videoUrl”:”/videos/sports/2017/10/11/roborace-lucas-di-grassi-formula-e-electric-racing-nicki-shields-supercharged-spc.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”Formula E is back for another exciting season! Its fourth year promises to be its biggest yet with more crashes, driver spats and wheel-to-wheel action.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171127102015-formula-e-tease-di-grassi-hong-kong-large-169.jpg”,”title”:”Formula E: ‘You never know what’s going to happen'”,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/11/27/formula-e-future-of-motorsport-why-you-should-watch-fia-electric-cars-supercharged-orig.cnn/index.xml”,”videoId”:”sports/2017/11/27/formula-e-future-of-motorsport-why-you-should-watch-fia-electric-cars-supercharged-orig.cnn”,”videoUrl”:”/videos/sports/2017/11/27/formula-e-future-of-motorsport-why-you-should-watch-fia-electric-cars-supercharged-orig.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”Supercharged host Nicki Shields walks you through her top tips for the Big Apple, including the Statue of Liberty, Brooklyn and the Empire State Building.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/160520114219-fe-new-york-skyline-large-169.jpg”,”title”:”Supercharged’s guide to NYC”,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/07/26/new-york-guide-formula-e-supercharged-lon-orig.cnn/index.xml”,”videoId”:”sports/2017/07/26/new-york-guide-formula-e-supercharged-lon-orig.cnn”,”videoUrl”:”/videos/sports/2017/07/26/new-york-guide-formula-e-supercharged-lon-orig.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”Berlin is the site of two Formula E races – there’s so much to do! But what are the best things to do in Berlin? ABT Schaeffler driver Daniel Abt tells you”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170616174617-top-5-berlin-tease-large-169.jpg”,”title”:”Currywurst & Teledisko: Top 5 things in Berlin”,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/06/16/top-five-things-to-do-in-berlin-supercharged-daniel-abt-fia-formula-e-orig.cnn/index.xml”,”videoId”:”sports/2017/06/16/top-five-things-to-do-in-berlin-supercharged-daniel-abt-fia-formula-e-orig.cnn”,”videoUrl”:”/videos/sports/2017/06/16/top-five-things-to-do-in-berlin-supercharged-daniel-abt-fia-formula-e-orig.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”Monaco is one of the world’s most glamorous race venues, but what should you do while in the principality? Let Formula E driver Nelson Piquet Jr. guide you”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170525144122-monaco-harbor-f1-view-large-169.jpg”,”title”:”The high life: Supercharged’s guide to Monaco”,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/05/26/nelson-piquet-jr-top-tips-monaco-eprix-grand-prix-fia-formula-e-cnn-supercharged-orig.cnn/index.xml”,”videoId”:”sports/2017/05/26/nelson-piquet-jr-top-tips-monaco-eprix-grand-prix-fia-formula-e-cnn-supercharged-orig.cnn”,”videoUrl”:”/videos/sports/2017/05/26/nelson-piquet-jr-top-tips-monaco-eprix-grand-prix-fia-formula-e-cnn-supercharged-orig.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”2015 Formula E World Champion Nelson Piquet Jr. talks to CNN’s Amanda Davies about his recent move to Jaguar and the search for a second title.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170922070736-ws-nelson-piquet-intv-00004504-large-169.jpg”,”title”:”Nelson Piquet Jr. looks to get back on top”,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/09/22/ws-nelson-piquet-intv.cnn/index.xml”,”videoId”:”sports/2017/09/22/ws-nelson-piquet-intv.cnn”,”videoUrl”:”/videos/sports/2017/09/22/ws-nelson-piquet-intv.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”The Formula E title rivals indulged in a war of words ahead of the two championship-deciding races in Montreal.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170807100215-di-grassi-buemi-tweet-montreal-large-169.jpg”,”title”:”Formula E: Di Grassi and Buemi trade verbal blows”,”videoCMSUrl”:”/video/data/3.0/video/tv/2017/08/07/buemi-di-grassi-montreal-showdown.cnn/index.xml”,”videoId”:”tv/2017/08/07/buemi-di-grassi-montreal-showdown.cnn”,”videoUrl”:”/videos/tv/2017/08/07/buemi-di-grassi-montreal-showdown.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”The Mahindra Racing driver reflects on his maiden win in the all-electric race series.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170817110552-rosenqvist-interview-new-york-formula-e-large-169.jpg”,”title”:”Felix Rosenqvist: Formula E’s rising star “,”videoCMSUrl”:”/video/data/3.0/video/tv/2017/08/17/formula-e-rosenqvist-new-york.cnn/index.xml”,”videoId”:”tv/2017/08/17/formula-e-rosenqvist-new-york.cnn”,”videoUrl”:”/videos/tv/2017/08/17/formula-e-rosenqvist-new-york.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”Formula E CEO Alejandro Agag talks to Supercharged’s Nicki Shields about the upcoming season which will feature four new cities.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/171013103027-formula-e-season-4-calendar-large-169.jpg”,”title”:”Formula E gears up for season 4 “,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/10/12/alejandro-agag-formula-e-season-preview-2017-2018-supercharged-spc.cnn/index.xml”,”videoId”:”sports/2017/10/12/alejandro-agag-formula-e-season-preview-2017-2018-supercharged-spc.cnn”,”videoUrl”:”/videos/sports/2017/10/12/alejandro-agag-formula-e-season-preview-2017-2018-supercharged-spc.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”Nicki Shields pays a visit to the Berlin Wall memorial with Alejandro Agag, CEO of Formula E.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170616145655-supercharged-berlin-agag-formula-e-spc-00003114-large-169.jpg”,”title”:”Alejandro Agag: The man putting the E into CEO”,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/06/16/supercharged-berlin-agag-formula-e-spc.cnn/index.xml”,”videoId”:”sports/2017/06/16/supercharged-berlin-agag-formula-e-spc.cnn”,”videoUrl”:”/videos/sports/2017/06/16/supercharged-berlin-agag-formula-e-spc.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”Nicki Shields joins the Renault team — led by four-time Formula One world champion Alain Prost — to learn what makes the perfect Formula E car swap.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170616151501-supercharged-berlin-renault-car-swap-prost-spc-00002425-large-169.jpg”,”title”:”Perfecting the art of the car swap”,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/06/16/supercharged-berlin-renault-car-swap-prost-spc.cnn/index.xml”,”videoId”:”sports/2017/06/16/supercharged-berlin-renault-car-swap-prost-spc.cnn”,”videoUrl”:”/videos/sports/2017/06/16/supercharged-berlin-renault-car-swap-prost-spc.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”This month Supercharged makes its way to Berlin’s Tempelhof airport for a weekend of electric racing in the German capital.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170616125212-supercharged-june-2017-show-collage-large-169.jpg”,”title”:”Formula E takes off in Berlin”,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/06/16/supercharged-berlin-formula-e-spc.cnn/index.xml”,”videoId”:”sports/2017/06/16/supercharged-berlin-formula-e-spc.cnn”,”videoUrl”:”/videos/sports/2017/06/16/supercharged-berlin-formula-e-spc.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”The Yacht Club de Monaco is home to the world’s most expensive super yachts but also harbors some surprising clean technology.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170526161520-supercharged-yacht-club-monaco-solar-boat-spc-00030016-large-169.jpg”,”title”:”Catching rays with solar boats”,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/05/25/supercharged-yacht-club-monaco-solar-boat-spc.cnn/index.xml”,”videoId”:”sports/2017/05/25/supercharged-yacht-club-monaco-solar-boat-spc.cnn”,”videoUrl”:”/videos/sports/2017/05/25/supercharged-yacht-club-monaco-solar-boat-spc.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”As the Formula E season moves to Europe, this edition of Supercharged covers not one, but two races of the all-electric motorsport.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170526165941-supercharged-monaco-paris-large-169.jpg”,”title”:”Double the bubbles in Paris and Monaco”,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/05/25/supercharged-paris-monaco-2017-spc.cnn/index.xml”,”videoId”:”sports/2017/05/25/supercharged-paris-monaco-2017-spc.cnn”,”videoUrl”:”/videos/sports/2017/05/25/supercharged-paris-monaco-2017-spc.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”From tango dancing to fine dining, the latest episode of CNN Supercharged took in the best of Buenos Aires.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170223153709-supercharged-tease-image-argentina-large-169.jpg”,”title”:”Supercharged takes a trip to Argentina”,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/02/24/spc-supercharged-buenos-aires-2017.cnn/index.xml”,”videoId”:”sports/2017/02/24/spc-supercharged-buenos-aires-2017.cnn”,”videoUrl”:”/videos/sports/2017/02/24/spc-supercharged-buenos-aires-2017.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”In his rookie Formula E season, Mahindra driver Felix Rosenqvist has already stood upon the podium. He chats to Nicki Shields in Buenos Aires.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170224152322-spc-supercharged-buenos-aires-steak-00021018-large-169.jpg”,”title”:”Eating Steak with Felix Rosenqvist in Buenos Aires”,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/02/24/spc-supercharged-buenos-aires-steak.cnn/index.xml”,”videoId”:”sports/2017/02/24/spc-supercharged-buenos-aires-steak.cnn”,”videoUrl”:”/videos/sports/2017/02/24/spc-supercharged-buenos-aires-steak.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”It takes two to tango. Has Argentinian DS Virgin Racing driver Jose Maria Lopez got what it takes?”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170224152352-spc-supercharged-buenos-aires-tango-00012529-large-169.jpg”,”title”:”Tango dancing with a Formula E driver”,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/02/24/spc-supercharged-buenos-aires-tango.cnn/index.xml”,”videoId”:”sports/2017/02/24/spc-supercharged-buenos-aires-tango.cnn”,”videoUrl”:”/videos/sports/2017/02/24/spc-supercharged-buenos-aires-tango.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”New Zealand driver Mitch Evans took to a frozen lake in Swedish Lapland for CNN’s Formula E show Supercharged.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170224170227-spc-supercharged-ice-drive-00014228-large-169.jpg”,”title”:”Formula E driver Mitch Evans goes ice driving in Sweden”,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/02/24/spc-supercharged-ice-drive.cnn/index.xml”,”videoId”:”sports/2017/02/24/spc-supercharged-ice-drive.cnn”,”videoUrl”:”/videos/sports/2017/02/24/spc-supercharged-ice-drive.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”Current DS Virgin Racing driver and native Argentinian Jose Maria “Pechito” Lopez tells Nicki Shields what the 5 can’t miss things are in Buenos Aires.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170223153709-supercharged-tease-image-argentina-large-169.jpg”,”title”:”Supercharged’s guide to Buenos Aires”,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/02/23/jose-maria-lopez-formula-e-top-five-things-buenos-aires-supercharged.cnn/index.xml”,”videoId”:”sports/2017/02/23/jose-maria-lopez-formula-e-top-five-things-buenos-aires-supercharged.cnn”,”videoUrl”:”/videos/sports/2017/02/23/jose-maria-lopez-formula-e-top-five-things-buenos-aires-supercharged.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”Racing driver Lucas di Grassi explains why simulators are so vital in motorsport and, in particular, Formula E.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170109132949-di-grassi-simulator-large-169.jpg”,”title”:”Simulators a virtual necessity in Formula E “,”videoCMSUrl”:”/video/data/3.0/video/sports/2016/07/12/spc-supercharged-simulator.cnn/index.xml”,”videoId”:”sports/2016/07/12/spc-supercharged-simulator.cnn”,”videoUrl”:”/videos/sports/2016/07/12/spc-supercharged-simulator.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”Formula E CEO Alejandro Agag explains some of the logistical problems of staging races in city centers.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170127162959-supercharged-logistics-large-169.jpg”,”title”:”Staging Formula E ‘like death by 1000 cuts'”,”videoCMSUrl”:”/video/data/3.0/video/tv/2017/01/27/supercharged-logistics-one-minute-cut.cnn/index.xml”,”videoId”:”tv/2017/01/27/supercharged-logistics-one-minute-cut.cnn”,”videoUrl”:”/videos/tv/2017/01/27/supercharged-logistics-one-minute-cut.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”In the first show of 2017, Nicki Shields reports on Formula E’s million-dollar eRace and gets an exclusive look inside Faraday Future’s luxurious FF 91 car.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170121103027-erace-vegas-large-169.jpg”,”title”:”Supercharged hits Las Vegas CES”,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/01/20/spc-supercharged-las-vegas.cnn/index.xml”,”videoId”:”sports/2017/01/20/spc-supercharged-las-vegas.cnn”,”videoUrl”:”/videos/sports/2017/01/20/spc-supercharged-las-vegas.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”Ahead of the $1 million Vegas eRace, Nicki Shields gets some tips from Finland’s Olli Pahkala on how to master the art of e-racing.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170123132851-e-racing-vegas-ces-large-169.jpg”,”title”:”What does it take to become a pro gamer?”,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/01/20/spc-supercharged-sim-racing.cnn/index.xml”,”videoId”:”sports/2017/01/20/spc-supercharged-sim-racing.cnn”,”videoUrl”:”/videos/sports/2017/01/20/spc-supercharged-sim-racing.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”Ahead of the Vegas eRace, the 2015 Formula E world champion joins Nicki Shields at the Las Vegas Motor Speedway for a two-wheeled trip down memory lane.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170123101825-piquet-jr-vegas-speedway-large-169.jpg”,”title”:”Nelson Piquet Jr swaps NASCAR for Segways “,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/01/20/spc-supercharged-nelson-piquet-vegas.cnn/index.xml”,”videoId”:”sports/2017/01/20/spc-supercharged-nelson-piquet-vegas.cnn”,”videoUrl”:”/videos/sports/2017/01/20/spc-supercharged-nelson-piquet-vegas.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”With its vast array of solar panels, the Mandalay Bay hotel is helping put Las Vegas on the road to a cleaner energy future.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170123103202-madalay-solar-panels-vegas-large-169.jpg”,”title”:”Vegas hotel bets on solar power “,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/01/20/spc-supercharged-vegas-solar-power.cnn/index.xml”,”videoId”:”sports/2017/01/20/spc-supercharged-vegas-solar-power.cnn”,”videoUrl”:”/videos/sports/2017/01/20/spc-supercharged-vegas-solar-power.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”Formula E has pioneered all-electric racing in the real world, and now it’s set to take over the digital one with the $1 million Vegas eRace.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170104183314-nelson-piquet-jr-tease-large-169.jpg”,”title”:”Vegas eRace: The $1 million simulated showdown”,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/01/04/formula-e-vegas-erace-esports-million-dollar-sim-race-supercharged-orig.cnn/index.xml”,”videoId”:”sports/2017/01/04/formula-e-vegas-erace-esports-million-dollar-sim-race-supercharged-orig.cnn”,”videoUrl”:”/videos/sports/2017/01/04/formula-e-vegas-erace-esports-million-dollar-sim-race-supercharged-orig.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”The Formula E grid give Supercharged presenter Nicki Shields an insight into the complexities of driving an all-electric race car.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/161223085634-formula-e-di-grassi-hong-kong-large-169.jpg”,”title”:”Formula E: Driving at perfection”,”videoCMSUrl”:”/video/data/3.0/video/sports/2016/12/22/spc-supercharged-driver-tips.cnn/index.xml”,”videoId”:”sports/2016/12/22/spc-supercharged-driver-tips.cnn”,”videoUrl”:”/videos/sports/2016/12/22/spc-supercharged-driver-tips.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”Supercharged presenter Nicki Shields gets an exclusive look inside Faraday Future’s FF 91 electric car.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/170123093936-faraday-future-interior-shields-large-169.jpg”,”title”:”A new breed of autonomous car?”,”videoCMSUrl”:”/video/data/3.0/video/sports/2017/01/20/spc-supercharged-vegas-ces.cnn/index.xml”,”videoId”:”sports/2017/01/20/spc-supercharged-vegas-ces.cnn”,”videoUrl”:”/videos/sports/2017/01/20/spc-supercharged-vegas-ces.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”Supercharged presenter Nicki Shields looks back on some of the year’s best innovations in electric car technology.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/161223091635-sam-bird-steering-wheel-formula-e-large-169.jpg”,”title”:”The best tech of 2016 “,”videoCMSUrl”:”/video/data/3.0/video/sports/2016/12/22/spc-supercharged-best-of-tech.cnn/index.xml”,”videoId”:”sports/2016/12/22/spc-supercharged-best-of-tech.cnn”,”videoUrl”:”/videos/sports/2016/12/22/spc-supercharged-best-of-tech.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”The Supercharged presenter gets a taste of what it’s like to be a Formula E racing driver at the UK’s Donnington Park circuit.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/161223084426-nicki-shields-virgin-formula-e-race-car-large-169.jpg”,”title”:”Nicki Shields realizes a driving dream “,”videoCMSUrl”:”/video/data/3.0/video/sports/2016/12/22/spc-supercharged-nicki-drives-formula-e-car.cnn/index.xml”,”videoId”:”sports/2016/12/22/spc-supercharged-nicki-drives-formula-e-car.cnn”,”videoUrl”:”/videos/sports/2016/12/22/spc-supercharged-nicki-drives-formula-e-car.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”From Casablanca to COP22, Nicki Shields explores the sights and sounds of Morocco as Marrakech hosted the first-ever Formula E race on African soil.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/161125175836-marrakech-formula-e-large-169.jpg”,”title”:”Formula E breaks new ground in Africa”,”videoCMSUrl”:”/video/data/3.0/video/sports/2016/11/25/spc-supercharged-marrakech.cnn/index.xml”,”videoId”:”sports/2016/11/25/spc-supercharged-marrakech.cnn”,”videoUrl”:”/videos/sports/2016/11/25/spc-supercharged-marrakech.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”Techeetah driver Jean-Eric Vergne joins Nicki Shields for a camel ride and a spot of tea ahead of the Marrakech ePrix.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/161128142455-marrakech-nicki-shields-large-169.jpg”,”title”:”Swapping four wheels for two humps “,”videoCMSUrl”:”/video/data/3.0/video/sports/2016/11/25/spc-supercharged-marrakech-jev.cnn/index.xml”,”videoId”:”sports/2016/11/25/spc-supercharged-marrakech-jev.cnn”,”videoUrl”:”/videos/sports/2016/11/25/spc-supercharged-marrakech-jev.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”Swiss explorer and environmentalist Bertrand Piccard talks to CNN Supercharged about his round-the-world flight and his vision for a clean energy future.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/161125163319-solar-impulse-large-169.jpg”,”title”:”Flying Solar Impulse ‘feels like science fiction'”,”videoCMSUrl”:”/video/data/3.0/video/sports/2016/11/25/spc-supercharged-cop22.cnn/index.xml”,”videoId”:”sports/2016/11/25/spc-supercharged-cop22.cnn”,”videoUrl”:”/videos/sports/2016/11/25/spc-supercharged-cop22.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”There was a first pole start for Formula E newcomer, Felix Rosenqvist but once again Sebastien Buemi showed why he’s still the man to beat.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/161128135347-buemi-marrakech-e-prix-large-169.jpg”,”title”:”Marrakech ePrix: Unstoppable Buemi wins again “,”videoCMSUrl”:”/video/data/3.0/video/sports/2016/11/25/spc-supercharged-marrakech-race.cnn/index.xml”,”videoId”:”sports/2016/11/25/spc-supercharged-marrakech-race.cnn”,”videoUrl”:”/videos/sports/2016/11/25/spc-supercharged-marrakech-race.cnn/video/playlists/supercharged/”},{“descriptionPlainText”:”Swiss explorer Bertrand Piccard talks about his record-breaking solar powered flight around the world and his hopes for a clean energy future.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/161125162642-solar-impulse-11-large-169.jpg”,”title”:”Solar Impulse: ‘It feels like science fiction'”,”videoCMSUrl”:”/video/data/3.0/video/tv/2016/11/24/piccard-solar-impulse-electric-supercharged.cnn/index.xml”,”videoId”:”tv/2016/11/24/piccard-solar-impulse-electric-supercharged.cnn”,”videoUrl”:”/videos/tv/2016/11/24/piccard-solar-impulse-electric-supercharged.cnn/video/playlists/supercharged/”}],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, isVideoReplayClicked, 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) {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:”sports/2018/01/22/marrakesh-morocco-fia-formula-e-sam-bird-jean-eric-vergne-virgin-techeetah-supercharged-spc.cnn”, 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-1h0xvyy’,videoDescriptionDivId: ‘js-video_description-1h0xvyy’,videoDurationDivId: ‘js-video_duration-1h0xvyy’,videoTitleDivId: ‘js-leaf-video_headline-1h0xvyy’,videoSourceDivId: ‘js-video_sourceName-1h0xvyy’});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(‘



Source link

LEAVE A REPLY