April 26, 2024
https://www.cnn.com/2021/02/23/us/boeing-aircraft-engine-fail-tuesday/index.html
‘);$vidEndSlate.removeClass(‘video__end-slate–inactive’).addClass(‘video__end-slate–active’);}};CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;var configObj = {thumb: ‘none’,video: ‘enterprise/2021/02/22/boeing-777-united-airlines-engine-planes-grounded.cnnbusiness’,width: ‘100%’,peak: ‘100%’,part: ‘home’,profile: ‘growth’,community: ‘cnn’,markupId: ‘large-media_0’,adsection: ‘const-article-pagetop’,frameWidth: ‘100%’,frameHeight: ‘100%’,posterImageOverride: {“mini”:{“width”:220,”sort”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/belongings/210221190734-01-united-airlines-flight-328-colorado-0220-small-169.jpg”,”peak”:124},”xsmall”:{“width”:307,”sort”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/belongings/210221190734-01-united-airlines-flight-328-colorado-0220-medium-plus-169.jpg”,”peak”:173},”small”:{“width”:460,”sort”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/belongings/210221190734-01-united-airlines-flight-328-colorado-0220-large-169.jpg”,”peak”:259},”medium”:{“width”:780,”sort”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/belongings/210221190734-01-united-airlines-flight-328-colorado-0220-exlarge-169.jpg”,”peak”:438},”massive”:{“width”:1100,”sort”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/belongings/210221190734-01-united-airlines-flight-328-colorado-0220-super-169.jpg”,”peak”:619},”full16x9″:{“width”:1600,”sort”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/belongings/210221190734-01-united-airlines-flight-328-colorado-0220-full-169.jpg”,”peak”:900},”mini1x1″:{“width”:120,”sort”:”jpg”,”uri”:”//cdn.cnn.com/cnnnext/dam/belongings/210221190734-01-united-airlines-flight-328-colorado-0220-small-11.jpg”,”peak”:120}}},autoStartVideo = false,isVideoReplayClicked = false,callbackObj,containerEl,currentVideoCollection = [],currentVideoCollectionId = ”,isLivePlayer = false,mediaMetadataCallbacks,mobilePinnedView = null,moveToNextTimeout,mutePlayerEnabled = false,nextVideoId = ”,nextVideoUrl = ”,turnOnFlashMessaging = false,videoPinner,videoEndSlateImpl;if (CNN.autoPlayVideoExist === false) {autoStartVideo = true;autoStartVideo = typeof CNN.isLoggedInVideoCheck === ‘operate’ ? CNN.isLoggedInVideoCheck(autoStartVideo) : autoStartVideo;if (autoStartVideo === true) {if (turnOnFlashMessaging === true) {autoStartVideo = false;containerEl = jQuery(doc.getElementById(configObj.markupId));CNN.VideoPlayer.showFlashSlate(containerEl);} else {CNN.autoPlayVideoExist = true;}}}configObj.autostart = CNN.Options.enableAutoplayBlock ? false : autoStartVideo;CNN.VideoPlayer.setPlayerProperties(configObj.markupId, autoStartVideo, isLivePlayer, isVideoReplayClicked, mutePlayerEnabled);CNN.VideoPlayer.setFirstVideoInCollection(currentVideoCollection, configObj.markupId);videoEndSlateImpl = new CNN.VideoEndSlate(‘large-media_0’);operate findNextVideo(currentVideoId) {var i,vidObj;if (currentVideoId && jQuery.isArray(currentVideoCollection) && currentVideoCollection.size > 0) {for (i = 0; i 0) {videoEndSlateImpl.showEndSlateForContainer();if (mobilePinnedView) {mobilePinnedView.disable();}}}}callbackObj = {onPlayerReady: operate (containerId) {var playerInstance,containerClassId = ‘#’ + containerId;CNN.VideoPlayer.handleInitialExpandableVideoState(containerId);CNN.VideoPlayer.handleAdOnCVPVisibilityChange(containerId, CNN.pageVis.isDocumentVisible());if (CNN.Options.enableMobileWebFloatingPlayer &&Modernizr &&(Modernizr.telephone || Modernizr.cell || Modernizr.pill) &&CNN.VideoPlayer.getLibraryName(containerId) === ‘fave’ &&jQuery(containerClassId).mother and father(‘.js-pg-rail-tall__head’).size > 0 &&CNN.contentModel.pageType === ‘article’) {playerInstance = FAVE.participant.getInstance(containerId);mobilePinnedView = new CNN.MobilePinnedView({aspect: jQuery(containerClassId),enabled: false,transition: CNN.MobileWebFloatingPlayer.transition,onPin: operate () {playerInstance.hideUI();},onUnpin: operate () {playerInstance.showUI();},onPlayerClick: operate () {if (mobilePinnedView) {playerInstance.enterFullscreen();playerInstance.showUI();}},onDismiss: operate() {CNN.Videx.cell.pinnedPlayer.disable();playerInstance.pause();}});/* Storing pinned view on CNN.Videx.cell.pinnedPlayer So that each one gamers can see the one pinned participant */CNN.Videx = CNN.Videx || {};CNN.Videx.cell = CNN.Videx.cell || {};CNN.Videx.cell.pinnedPlayer = mobilePinnedView;}if (Modernizr && !Modernizr.telephone && !Modernizr.cell && !Modernizr.pill) {if (jQuery(containerClassId).mother and father(‘.js-pg-rail-tall__head’).size) {videoPinner = new CNN.VideoPinner(containerClassId);videoPinner.init();} else {CNN.VideoPlayer.hideThumbnail(containerId);}}},onContentEntryLoad: operate(containerId, playerId, contentid, isQueue) {CNN.VideoPlayer.showSpinner(containerId);},onContentPause: operate (containerId, playerId, videoId, paused) {if (mobilePinnedView) {CNN.VideoPlayer.handleMobilePinnedPlayerStates(containerId, paused);}},onContentMetadata: operate (containerId, playerId, metadata, contentId, period, width, peak) {var endSlateLen = jQuery(doc.getElementById(containerId)).guardian().discover(‘.js-video__end-slate’).eq(0).size;CNN.VideoSourceUtils.updateSource(containerId, metadata);if (endSlateLen > 0) {videoEndSlateImpl.fetchAndShowRecommendedVideos(metadata);}},onAdPlay: operate (containerId, cvpId, token, mode, id, period, blockId, adType) {/* Dismissing the pinnedPlayer if one other video gamers performs an Advert */CNN.VideoPlayer.dismissMobilePinnedPlayer(containerId);clearTimeout(moveToNextTimeout);CNN.VideoPlayer.hideSpinner(containerId);if (Modernizr && !Modernizr.telephone && !Modernizr.cell && !Modernizr.pill) {if (typeof videoPinner !== ‘undefined’ && videoPinner !== null) {videoPinner.setIsPlaying(true);videoPinner.animateDown();}}},onAdPause: operate (containerId, playerId, token, mode, id, period, blockId, adType, occasion, isAdPause) {if (mobilePinnedView) {CNN.VideoPlayer.handleMobilePinnedPlayerStates(containerId, isAdPause);}},onTrackingFullscreen: operate (containerId, PlayerId, dataObj) {CNN.VideoPlayer.handleFullscreenChange(containerId, dataObj);if (mobilePinnedView &&typeof dataObj === ‘object’ &&FAVE.Utils.os === ‘iOS’ && !dataObj.fullscreen) {jQuery(doc).scrollTop(mobilePinnedView.getScrollPosition());playerInstance.hideUI();}},onContentPlay: operate (containerId, cvpId, occasion) {var playerInstance,prevVideoId;if (CNN.companion && typeof CNN.companion.updateCompanionLayout === ‘operate’) {CNN.companion.updateCompanionLayout(‘restoreEpicAds’);}clearTimeout(moveToNextTimeout);CNN.VideoPlayer.hideSpinner(containerId);if (Modernizr && !Modernizr.telephone && !Modernizr.cell && !Modernizr.pill) {if (typeof videoPinner !== ‘undefined’ && videoPinner !== null) {videoPinner.setIsPlaying(true);videoPinner.animateDown();}}},onContentReplayRequest: operate (containerId, cvpId, contentId) {if (Modernizr && !Modernizr.telephone && !Modernizr.cell && !Modernizr.pill) {if (typeof videoPinner !== ‘undefined’ && videoPinner !== null) {videoPinner.setIsPlaying(true);var $endSlate = jQuery(doc.getElementById(containerId)).guardian().discover(‘.js-video__end-slate’).eq(0);if ($endSlate.size > 0) {$endSlate.removeClass(‘video__end-slate–active’).addClass(‘video__end-slate–inactive’);}}}},onContentBegin: operate (containerId, cvpId, contentId) {if (mobilePinnedView) {mobilePinnedView.allow();}/* Dismissing the pinnedPlayer if one other video gamers performs a video. */CNN.VideoPlayer.dismissMobilePinnedPlayer(containerId);CNN.VideoPlayer.mutePlayer(containerId);if (CNN.companion && typeof CNN.companion.updateCompanionLayout === ‘operate’) {CNN.companion.updateCompanionLayout(‘removeEpicAds’);}CNN.VideoPlayer.hideSpinner(containerId);clearTimeout(moveToNextTimeout);CNN.VideoSourceUtils.clearSource(containerId);jQuery(doc).triggerVideoContentStarted();},onContentComplete: operate (containerId, cvpId, contentId) {if (CNN.companion && typeof CNN.companion.updateCompanionLayout === ‘operate’) {CNN.companion.updateCompanionLayout(‘restoreFreewheel’);}navigateToNextVideo(contentId, containerId);},onContentEnd: operate (containerId, cvpId, contentId) {if (Modernizr && !Modernizr.telephone && !Modernizr.cell && !Modernizr.pill) {if (typeof videoPinner !== ‘undefined’ && videoPinner !== null) {videoPinner.setIsPlaying(false);}}},onCVPVisibilityChange: operate (containerId, cvpId, seen) {CNN.VideoPlayer.handleAdOnCVPVisibilityChange(containerId, seen);}};if (typeof configObj.context !== ‘string’ || configObj.context.size 0) {configObj.adsection = window.ssid;}CNN.autoPlayVideoExist = (CNN.autoPlayVideoExist === true) ? true : false;CNN.VideoPlayer.getLibrary(configObj, callbackObj, isLivePlayer);});CNN.INJECTOR.scriptComplete(‘videodemanddust’);