‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘travel/2018/10/12/worlds-longest-flight-quest-4-flight-attendant-intv-travel-orig.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/181011231847-hennie-chin-small-169.jpg”,”height”:124},”xsmall”:{“width”:307,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181011231847-hennie-chin-medium-plus-169.jpg”,”height”:173},”small”:{“width”:460,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181011231847-hennie-chin-large-169.jpg”,”height”:259},”medium”:{“width”:780,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181011231847-hennie-chin-exlarge-169.jpg”,”height”:438},”large”:{“width”:1100,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181011231847-hennie-chin-super-169.jpg”,”height”:619},”full16x9″:{“width”:1600,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181011231847-hennie-chin-full-169.jpg”,”height”:900},”mini1x1″:{“width”:120,”type”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/assets/181011231847-hennie-chin-small-11.jpg”,”height”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [{“descriptionPlainText”:”Hennie Chin, lead stewardess on the world’s longest flight, explains to CNN’s Richard Quest what sets the cabin of the Airbus A350-900ULR apart from other aircraft.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181011231847-hennie-chin-large-169.jpg”,”title”:”Flight attendant details perks of the A350-900ULR “,”videoCMSUrl”:”/video/data/3.0/video/travel/2018/10/12/worlds-longest-flight-quest-4-flight-attendant-intv-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2018/10/12/worlds-longest-flight-quest-4-flight-attendant-intv-travel-orig.cnn”,”videoId”:”travel/2018/10/12/worlds-longest-flight-quest-4-flight-attendant-intv-travel-orig.cnn”,”videoUrl”:”/videos/travel/2018/10/12/worlds-longest-flight-quest-4-flight-attendant-intv-travel-orig.cnn/video/playlists/worlds-longest-flight/”},{“descriptionPlainText”:”Singapore Airlines has redesigned its premium economy seats to prepare for its new 19-hour flight route between Singapore and New York.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180612140229-zodiacsq-14-large-169.jpg”,”title”:”The world’s comfiest premium economy seats? “,”videoCMSUrl”:”/video/data/3.0/video/travel/2018/06/07/worlds-longest-flight-seats.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2018/06/07/worlds-longest-flight-seats.cnn”,”videoId”:”travel/2018/06/07/worlds-longest-flight-seats.cnn”,”videoUrl”:”/videos/travel/2018/06/07/worlds-longest-flight-seats.cnn/video/playlists/worlds-longest-flight/”},{“descriptionPlainText”:”To the delight of aviation geeks everywhere, the Airbus A350 has made its first passenger flight. CNN’s Richard Quest was on board.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/150115172306-pkg-quest-airbus-a350-first-passenger-flight-00002723-large-169.jpg”,”title”:”A350’s first flight in 2015 “,”videoCMSUrl”:”/video/data/3.0/video/business/2015/01/15/pkg-quest-airbus-a350-first-passenger-flight.cnn/index.xml”,”videoLeafUrl”:”/videos/business/2015/01/15/pkg-quest-airbus-a350-first-passenger-flight.cnn”,”videoId”:”business/2015/01/15/pkg-quest-airbus-a350-first-passenger-flight.cnn”,”videoUrl”:”/videos/business/2015/01/15/pkg-quest-airbus-a350-first-passenger-flight.cnn/video/playlists/worlds-longest-flight/”},{“descriptionPlainText”:”New, innovative aircraft interiors are coming from designers who work with every inch of space to make you more comfortable during flights.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/180906173837-priestmangoode-interiors-v4-clean-00-03-34-22-still004-large-169.jpg”,”title”:”Aircraft interiors: Innovative cabin designs “,”videoCMSUrl”:”/video/data/3.0/video/travel/2018/09/05/aircraft-interiors-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2018/09/05/aircraft-interiors-travel-orig.cnn”,”videoId”:”travel/2018/09/05/aircraft-interiors-travel-orig.cnn”,”videoUrl”:”/videos/travel/2018/09/05/aircraft-interiors-travel-orig.cnn/video/playlists/worlds-longest-flight/”},{“descriptionPlainText”:”Air shows across North America have been entertaining audiences from all over the world for about a century.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181006124036-f22-raptor-thumbnail-large-169.jpg”,”title”:”These air shows bring in $110 million a year”,”videoCMSUrl”:”/video/data/3.0/video/travel/2018/08/15/air-shows-north-america.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2018/08/15/air-shows-north-america.cnn”,”videoId”:”travel/2018/08/15/air-shows-north-america.cnn”,”videoUrl”:”/videos/travel/2018/08/15/air-shows-north-america.cnn/video/playlists/worlds-longest-flight/”},{“descriptionPlainText”:”From quieter cabins to special wings, find out all you need to know about the 19-hour flight from Singapore to NY.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181011143731-amazing-facts-world-longest-flight-large-169.jpg”,”title”:”Amazing facts about the world’s longest flight “,”videoCMSUrl”:”/video/data/3.0/video/travel/2018/10/11/amazing-fact-longest-flight-in-the-world-lon-orig-io.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2018/10/11/amazing-fact-longest-flight-in-the-world-lon-orig-io.cnn”,”videoId”:”travel/2018/10/11/amazing-fact-longest-flight-in-the-world-lon-orig-io.cnn”,”videoUrl”:”/videos/travel/2018/10/11/amazing-fact-longest-flight-in-the-world-lon-orig-io.cnn/video/playlists/worlds-longest-flight/”},{“descriptionPlainText”:”CNN’s Richard Quest boards the airplane as he takes viewers along on Singapore Airlines’ grueling but convenient 19-hour flight from Changi Airport to Newark, New Jersey.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181011163236-comfortable-clothing-1-large-169.jpg”,”title”:”World’s longest flight takes off”,”videoCMSUrl”:”/video/data/3.0/video/travel/2018/10/10/worlds-longest-flight-quest-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2018/10/10/worlds-longest-flight-quest-travel-orig.cnn”,”videoId”:”travel/2018/10/10/worlds-longest-flight-quest-travel-orig.cnn”,”videoUrl”:”/videos/travel/2018/10/10/worlds-longest-flight-quest-travel-orig.cnn/video/playlists/worlds-longest-flight/”},{“descriptionPlainText”:”The captain of the world’s longest flight, SL Leong, tells CNN’s Richard Quest just how much runway the flight used on takeoff and how things are going so far.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181011153128-worlds-longest-flight-quest-2-capt-intv-travel-orig-00002703-large-169.jpg”,”title”:”Talking with the captain on a 19-hour flight”,”videoCMSUrl”:”/video/data/3.0/video/travel/2018/10/11/worlds-longest-flight-quest-2-capt-intv-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2018/10/11/worlds-longest-flight-quest-2-capt-intv-travel-orig.cnn”,”videoId”:”travel/2018/10/11/worlds-longest-flight-quest-2-capt-intv-travel-orig.cnn”,”videoUrl”:”/videos/travel/2018/10/11/worlds-longest-flight-quest-2-capt-intv-travel-orig.cnn/video/playlists/worlds-longest-flight/”},{“descriptionPlainText”:”The food and beverage manager of the world’s longest flight tells CNN’s Richard Quest how the crew decided the meal schedule.”,”imageUrl”:”//cdn.cnn.com/cnnnext/dam/assets/181011205312-worlds-longest-flight-food-large-169.jpg”,”title”:”What do you eat on a 19-hour flight?”,”videoCMSUrl”:”/video/data/3.0/video/travel/2018/10/12/worlds-longest-flight-quest-3-food-intv-travel-orig.cnn/index.xml”,”videoLeafUrl”:”/videos/travel/2018/10/12/worlds-longest-flight-quest-3-food-intv-travel-orig.cnn”,”videoId”:”travel/2018/10/12/worlds-longest-flight-quest-3-food-intv-travel-orig.cnn”,”videoUrl”:”/videos/travel/2018/10/12/worlds-longest-flight-quest-3-food-intv-travel-orig.cnn/video/playlists/worlds-longest-flight/”}],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:”travel/2018/10/12/worlds-longest-flight-quest-4-flight-attendant-intv-travel-orig.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-8ugr22’,videoDescriptionDivId: ‘js-video_description-8ugr22’,videoDurationDivId: ‘js-video_duration-8ugr22’,videoTitleDivId: ‘js-leaf-video_headline-8ugr22’,videoSourceDivId: ‘js-video_sourceName-8ugr22’});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(‘

%d bloggers like this: