export default Player; export type PlayerReadyCallback = (this: Player) => void; /** * An instance of the `Player` class is created when any of the Video.js setup methods * are used to initialize a video. * * After an instance has been created it can be accessed globally in three ways: * 1. By calling `videojs.getPlayer('example_video_1');` * 2. By calling `videojs('example_video_1');` (not recommended) * 2. By using it directly via `videojs.players.example_video_1;` * * @extends Component * @global */ declare class Player extends Component { /** * Gets tag settings * * @param {Element} tag * The player tag * * @return {Object} * An object containing all of the settings * for a player tag */ static getTagSettings(tag: Element): any; /** * Create an instance of this class. * * @param {Element} tag * The original video DOM element used for configuring options. * * @param {Object} [options] * Object of option names and values. * * @param {PlayerReadyCallback} [ready] * Ready callback function. */ constructor(tag: Element, options?: any, ready?: PlayerReadyCallback); boundDocumentFullscreenChange_: (e: any) => void; boundFullWindowOnEscKey_: (e: any) => void; boundUpdateStyleEl_: (e: any) => void; boundApplyInitTime_: (e: any) => void; boundUpdateCurrentBreakpoint_: (e: any) => void; boundHandleTechClick_: (e: any) => void; boundHandleTechDoubleClick_: (e: any) => void; boundHandleTechTouchStart_: (e: any) => void; boundHandleTechTouchMove_: (e: any) => void; boundHandleTechTouchEnd_: (e: any) => void; boundHandleTechTap_: (e: any) => void; boundUpdatePlayerHeightOnAudioOnlyMode_: (e: any) => void; isFullscreen_: boolean; log: any; fsApi_: any; isPosterFromTech_: boolean; queuedCallbacks_: any[]; hasStarted_: boolean; userActive_: boolean; debugEnabled_: boolean; audioOnlyMode_: boolean; audioPosterMode_: boolean; audioOnlyCache_: { controlBarHeight: any; playerHeight: any; hiddenChildren: any[]; }; tag: Element; tagAttributes: any; languages_: {}; /** @type string */ poster_: string; /** @type {boolean} */ controls_: boolean; changingSrc_: boolean; playCallbacks_: any[]; playTerminatedQueue_: any[]; scrubbing_: boolean; el_: Element; middleware_: any[]; spatialNavigation: SpatialNavigation; /** * Destroys the video player and does any necessary cleanup. * * This is especially helpful if you are dynamically adding and removing videos * to/from the DOM. * * @fires Player#dispose */ dispose(): void; styleEl_: Element; playerElIngest_: any; /** * Create the `Player`'s DOM element. * * @return {Element} * The DOM element that gets created. */ createEl(): Element; fill_: boolean; fluid_: boolean; /** * Get or set the `Player`'s crossOrigin option. For the HTML5 player, this * sets the `crossOrigin` property on the `