United completes first successful flight on 100 percent sustainable fuel – CNN

‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘business/2021/12/02/climate-aviation-fuel-lead-muntean-pkg-vpx.cnn’,width: ‘100%’,height: ‘100%’,section: ‘domestic’,profile: ‘expansion’,network: ‘cnn’,markupId: ‘large-media_0’,adsection: ‘const-video-leaf’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: {“mini”:{“width”:220,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211202181618-united-fuel-flight-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211202181618-united-fuel-flight-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211202181618-united-fuel-flight-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211202181618-united-fuel-flight-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211202181618-united-fuel-flight-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211202181618-united-fuel-flight-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/211202181618-united-fuel-flight-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”CNN’s Pete Muntean reports on United Airlines’ first successful flight completed by 100 percent sustainable fuel.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211202181618-united-fuel-flight-large-169.jpg”,”title”:”United completes first successful flight on 100 percent sustainable fuel”,”videoCMSUrl”:”/videos/business/2021/12/02/climate-aviation-fuel-lead-muntean-pkg-vpx.cnn”,”videoLeafUrl”:”/videos/business/2021/12/02/climate-aviation-fuel-lead-muntean-pkg-vpx.cnn”,”videoId”:”business/2021/12/02/climate-aviation-fuel-lead-muntean-pkg-vpx.cnn”,”videoUrl”:”/videos/business/2021/12/02/climate-aviation-fuel-lead-muntean-pkg-vpx.cnn”,”surrogateKey”:”video_2AF9CECA-1BA7-F4FF-6316-7D62701E1D7B”},{“descriptionPlainText”:”What’s it like to be in the courtroom as Elizabeth Holmes takes the stand? CNN Business’ Sara Ashley O’Brien talks about her experience covering the high-profile trial for months.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211122115116-02-elizabeth-holmes-theranos-fraud-trial-1122-large-169.jpg”,”title”:”Elizabeth Holmes took the stand. This CNN reporter was in the courtroom”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/12/01/elizabeth-holmes-courtroom-sara-ashley-obrien-sb-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2021/12/01/elizabeth-holmes-courtroom-sara-ashley-obrien-sb-orig.cnn-business”,”videoId”:”business/2021/12/01/elizabeth-holmes-courtroom-sara-ashley-obrien-sb-orig.cnn-business”,”videoUrl”:”/videos/business/2021/12/01/elizabeth-holmes-courtroom-sara-ashley-obrien-sb-orig.cnn-business/video/playlists/business-news/”,”surrogateKey”:”video_A9C32DCC-F680-41EB-D8B4-772D2C505D7A”},{“descriptionPlainText”:”Facebook’s parent company Meta said it has evidence that Belarusian KGB created fake Facebook and Instagram accounts to post false content and stir tension about crisis at the Poland border. Fake accounts from Poland discouraging migrants from entering the EU were also found, according to Meta. CNN’s Donie O’Sullivan reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211122095853-01-poland-belarus-border-11-22-2021-grodno-large-169.jpg”,”title”:”Facebook: Belarusian KGB made fake accounts to stir tension at Poland border”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/12/01/facebook-meta-belarus-border-poland-kgb-fake-accounts.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/12/01/facebook-meta-belarus-border-poland-kgb-fake-accounts.cnnbusiness”,”videoId”:”business/2021/12/01/facebook-meta-belarus-border-poland-kgb-fake-accounts.cnnbusiness”,”videoUrl”:”/videos/business/2021/12/01/facebook-meta-belarus-border-poland-kgb-fake-accounts.cnnbusiness/video/playlists/business-news/”,”surrogateKey”:”video_123CA653-7CC3-32F4-35E6-7813915B5C3C”},{“descriptionPlainText”:”While A-list celebrities like Kim Kardashian and Matt Damon are being paid to promote crypto, one actor is publicly bucking the trend. Ben McKenzie, of “The OC” and “Gotham,” has become one of the most prominent critics of celebrities endorsing the controversial and booming industry. CNN’s Jon Sarlin talks with McKenzie about his journey from TV star to crypto critic.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211130101548-ben-mckenzie-crypto-large-169.jpg”,”title”:”TV star has new role: Crypto critic”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/11/23/kim-kardashian-crypto-ben-mckenzie-js-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/11/23/kim-kardashian-crypto-ben-mckenzie-js-orig.cnn”,”videoId”:”business/2021/11/23/kim-kardashian-crypto-ben-mckenzie-js-orig.cnn”,”videoUrl”:”/videos/business/2021/11/23/kim-kardashian-crypto-ben-mckenzie-js-orig.cnn/video/playlists/business-news/”,”surrogateKey”:”video_E02A9DF0-E1BA-FB2D-8551-4EF12FB4FCC0″},{“descriptionPlainText”:”The company Flashfood works with supermarkets to sell groceries that are approaching their sell by date at steep discounts”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211130213022-flashfood-01-large-169.jpg”,”title”:”This company wants to cut your grocery bill in half”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/12/01/flashfood-grocery-store-rising-prices-inflation-food-waste-climate-change.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/12/01/flashfood-grocery-store-rising-prices-inflation-food-waste-climate-change.cnn”,”videoId”:”business/2021/12/01/flashfood-grocery-store-rising-prices-inflation-food-waste-climate-change.cnn”,”videoUrl”:”/videos/business/2021/12/01/flashfood-grocery-store-rising-prices-inflation-food-waste-climate-change.cnn/video/playlists/business-news/”,”surrogateKey”:”video_25D08FCD-DF9B-33D6-2E8E-7476689D24F1″},{“descriptionPlainText”:”Jack Dorsey is stepping down as CEO of Twitter and Parag Agrawal, Twitter’s chief technology officer, will take over. CNN’s Paul R. La Monica reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210413125924-01-jack-dorsey-file-large-169.jpg”,”title”:”Twitter’s Jack Dorsey resigns as CEO”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/11/29/jack-dorsey-twitter-ceo-stepping-down.cnnbusiness/index.xml”,”videoLeafUrl”:”/videos/business/2021/11/29/jack-dorsey-twitter-ceo-stepping-down.cnnbusiness”,”videoId”:”business/2021/11/29/jack-dorsey-twitter-ceo-stepping-down.cnnbusiness”,”videoUrl”:”/videos/business/2021/11/29/jack-dorsey-twitter-ceo-stepping-down.cnnbusiness/video/playlists/business-news/”,”surrogateKey”:”video_DB5CEBCE-76C8-555E-D437-6C6C569E15E1″},{“descriptionPlainText”:”At 17, Mate Rimac started his electric supercar company out of his garage. Now he’s tasked with bringing his visionary thinking to one of the most legendary brands in history.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211124103624-risk-takers-series-07-mate-rimac—bugatti-rimac-large-169.jpg”,”title”:”This 33-year-old made the world’s fastest electric car. Now he’s running Bugatti”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/11/26/rimac-bugatti-electric-ev-supercars-rt-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2021/11/26/rimac-bugatti-electric-ev-supercars-rt-orig.cnn-business”,”videoId”:”business/2021/11/26/rimac-bugatti-electric-ev-supercars-rt-orig.cnn-business”,”videoUrl”:”/videos/business/2021/11/26/rimac-bugatti-electric-ev-supercars-rt-orig.cnn-business/video/playlists/business-news/”,”surrogateKey”:”video_3C5D06A8-EC9B-EF42-4706-5E8B8D607FA7″},{“descriptionPlainText”:”Elizabeth Holmes, the disgraced CEO and founder of Theranos, took the stand at her criminal trial where prosecutors have charged her with 11 counts of criminal fraud.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211123193653-07-elizabeth-holmes-theranos-fraud-trial-1123-sketch-large-169.jpeg”,”title”:”Disgraced CEO takes the stand during criminal trial”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/11/27/elizabeth-holmes-testifies-trial-bernal-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/11/27/elizabeth-holmes-testifies-trial-bernal-vpx.cnn”,”videoId”:”business/2021/11/27/elizabeth-holmes-testifies-trial-bernal-vpx.cnn”,”videoUrl”:”/videos/business/2021/11/27/elizabeth-holmes-testifies-trial-bernal-vpx.cnn/video/playlists/business-news/”,”surrogateKey”:”video_D02950CE-250B-1B65-3121-6305B157FB0A”},{“descriptionPlainText”:”Americans’ mass exodus from their place of work, coined as the “Great Resignation,” resulted in 4.4 million people quitting their jobs in September. CNN’s Vanessa Yurkevich speaks to individuals about what led them to leave.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/210707150430-job-resignation-stock-large-169.jpg”,”title”:”Why are people quitting their jobs?”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/11/27/great-resignation-covid-19-pandemic-yurkevich-dnt-ndwknd-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/11/27/great-resignation-covid-19-pandemic-yurkevich-dnt-ndwknd-vpx.cnn”,”videoId”:”business/2021/11/27/great-resignation-covid-19-pandemic-yurkevich-dnt-ndwknd-vpx.cnn”,”videoUrl”:”/videos/business/2021/11/27/great-resignation-covid-19-pandemic-yurkevich-dnt-ndwknd-vpx.cnn/video/playlists/business-news/”,”surrogateKey”:”video_FDB9E1CD-AE97-AA78-0731-61602F1A7D46″},{“descriptionPlainText”:”More “smash & grab” robberies have occurred around the US at a wide range of retail stores and authorities are now trying to increase security to prevent more from happening.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211125084140-smash-and-grab-dnt-watt-large-169.jpg”,”title”:”Videos show brazen smash and grab robberies”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/11/25/smash-and-grab-robberies-retail-store-newday-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/11/25/smash-and-grab-robberies-retail-store-newday-vpx.cnn”,”videoId”:”business/2021/11/25/smash-and-grab-robberies-retail-store-newday-vpx.cnn”,”videoUrl”:”/videos/business/2021/11/25/smash-and-grab-robberies-retail-store-newday-vpx.cnn/video/playlists/business-news/”,”surrogateKey”:”video_7BC5BCA6-84EF-118C-4565-57C2E304F411″},{“descriptionPlainText”:”Between supply chain issues and shipping delays, many retailers want you to shop in their brick-and-mortar locations instead of ordering online. And they’re not wrong. CNN Business’ Nathaniel Meyersohn reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211123160127-shopping-in-store-large-169.jpg”,”title”:”Retailers want you to shop in stores this year (and they have a point)”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/11/23/holiday-shopping-in-store-pickup-sb-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2021/11/23/holiday-shopping-in-store-pickup-sb-orig.cnn-business”,”videoId”:”business/2021/11/23/holiday-shopping-in-store-pickup-sb-orig.cnn-business”,”videoUrl”:”/videos/business/2021/11/23/holiday-shopping-in-store-pickup-sb-orig.cnn-business/video/playlists/business-news/”,”surrogateKey”:”video_79261ED4-46CE-C08A-1B3F-4E90444452A0″},{“descriptionPlainText”:”Atomo Coffee, a startup based in Seattle, is looking to make a greener coffee by taking the coffee bean out of the equation. But is it good enough to stand the taste test?”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211123210042-atomo-coffee-01-large-169.jpg”,”title”:”Your next cup of coffee could be made without coffee beans”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/11/24/atomo-coffee-company-jg-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2021/11/24/atomo-coffee-company-jg-orig.cnn-business”,”videoId”:”business/2021/11/24/atomo-coffee-company-jg-orig.cnn-business”,”videoUrl”:”/videos/business/2021/11/24/atomo-coffee-company-jg-orig.cnn-business/video/playlists/business-news/”,”surrogateKey”:”video_58E40B34-4882-60C2-0F44-4FA739F129F4″},{“descriptionPlainText”:”Women’s Tennis Association Chairman and CEO Steve Simon tells CNN’s Erin Burnett the WTA is willing to pull out of China if tennis star Peng Shuai is not fully accounted for.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211118220305-steve-simon-large-169.jpeg”,”title”:”Women’s Tennis Association could pull out of China over missing tennis star”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/11/19/steve-simon-womens-tennis-association-chairman-peng-shuai-ebof-sot-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/11/19/steve-simon-womens-tennis-association-chairman-peng-shuai-ebof-sot-vpx.cnn”,”videoId”:”business/2021/11/19/steve-simon-womens-tennis-association-chairman-peng-shuai-ebof-sot-vpx.cnn”,”videoUrl”:”/videos/business/2021/11/19/steve-simon-womens-tennis-association-chairman-peng-shuai-ebof-sot-vpx.cnn/video/playlists/business-news/”,”surrogateKey”:”video_5D2D71EE-4162-0E6C-62F2-36180A0B9806″},{“descriptionPlainText”:”Tesla has given some drivers access to its “full self-driving” beta software. CNN went to one of the busiest streets in Brooklyn to see how it works.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211117172917-tesla-model-3-thumb-2-large-169.jpg”,”title”:”CNN tried Tesla’s ‘full self-driving’ mode on NYC streets. It didn’t go great”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/11/17/tesla-3-full-self-driving-mode-test-mc-zw-orig.cnn-business/index.xml”,”videoLeafUrl”:”/videos/business/2021/11/17/tesla-3-full-self-driving-mode-test-mc-zw-orig.cnn-business”,”videoId”:”business/2021/11/17/tesla-3-full-self-driving-mode-test-mc-zw-orig.cnn-business”,”videoUrl”:”/videos/business/2021/11/17/tesla-3-full-self-driving-mode-test-mc-zw-orig.cnn-business/video/playlists/business-news/”,”surrogateKey”:”video_7E145A96-5769-3F1B-2650-2FD390BCE445″},{“descriptionPlainText”:”One of the first challenges for Amazon Web Services’ new CEO Adam Selipsky is a lack of skilled workers that threatens to slow growth in the cloud computing industry. He tells CNN Business writer Clare Duffy how a new, in-person training center could help.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211117191857-01-amazon-web-services-cloud-training-large-169.jpg”,”title”:”Hear why Amazon is opening a free cloud training center”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/11/18/aws-ceo-adam-selipsky-amazon-cloud-computing-gr-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/11/18/aws-ceo-adam-selipsky-amazon-cloud-computing-gr-orig.cnn”,”videoId”:”business/2021/11/18/aws-ceo-adam-selipsky-amazon-cloud-computing-gr-orig.cnn”,”videoUrl”:”/videos/business/2021/11/18/aws-ceo-adam-selipsky-amazon-cloud-computing-gr-orig.cnn/video/playlists/business-news/”,”surrogateKey”:”video_6FEF04C6-C5CB-6BFA-B790-307F94050993″},{“descriptionPlainText”:”Electronics, clothing, jewelry and pet supplies among hardest items to find as holidays near. Experts advice to start your holiday shopping now. CNN’s Tom Foreman reports.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/211001104901-01-us-christmas-shopping-file-large-169.jpg”,”title”:”Attention holiday shoppers: Buy now before it is out of stock”,”videoCMSUrl”:”/video/data/3.0/video/business/2021/11/16/holiday-shopping-shortage-foreman-lead-dnt-vpx.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2021/11/16/holiday-shopping-shortage-foreman-lead-dnt-vpx.cnn”,”videoId”:”business/2021/11/16/holiday-shopping-shortage-foreman-lead-dnt-vpx.cnn”,”videoUrl”:”/videos/business/2021/11/16/holiday-shopping-shortage-foreman-lead-dnt-vpx.cnn/video/playlists/business-news/”,”surrogateKey”:”video_5DCCCD18-1999-C2F5-9C44-2B141F4D579E”}],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/2021/12/02/climate-aviation-fuel-lead-muntean-pkg-vpx.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-hpt3e7’,videoDescriptionDivId: ‘js-video_description-hpt3e7’,videoDurationDivId: ‘js-video_duration-hpt3e7’,videoTitleDivId: ‘js-leaf-video_headline-hpt3e7’,videoSourceDivId: ‘js-video_sourceName-hpt3e7’});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(‘

Leave a comment

Your email address will not be published. Required fields are marked *