UNPKG

video.js

Version:

An HTML5 video player that supports HLS and DASH with a common API and skin.

40 lines 1.14 kB
export default LiveDisplay; /** @import Player from './player' */ /** * Displays the live indicator when duration is Infinity. * * @extends Component */ declare class LiveDisplay extends Component { /** * Creates an instance of this class. * * @param {Player} player * The `Player` that this class should be attached to. * * @param {Object} [options] * The key/value store of player options. */ constructor(player: document, options?: any); /** * Create the `Component`'s DOM element * * @return {Element} * The element that was created. */ createEl(): Element; contentEl_: Element; dispose(): void; /** * Check the duration to see if the LiveDisplay should be showing or not. Then show/hide * it accordingly * * @param {Event} [event] * The {@link Player#durationchange} event that caused this function to run. * * @listens Player#durationchange */ updateShowing(event?: Event): void; } import Component from '../component'; //# sourceMappingURL=live-display.d.ts.map