video.js
Version:
An HTML5 video player that supports HLS and DASH with a common API and skin.
26 lines • 805 B
TypeScript
export default MediaLoader;
/** @import Player from '../player' */
/**
* The `MediaLoader` is the `Component` that decides which playback technology to load
* when a player is initialized.
*
* @extends Component
*/
declare class MediaLoader extends Component {
/**
* Create an instance of this class.
*
* @param {Player} player
* The `Player` that this class should attach to.
*
* @param {Object} [options]
* The key/value store of player options.
*
* @param {Function} [ready]
* The function that is run when this component is ready.
*/
constructor(player: Player, options?: any, ready?: Function);
}
import Component from '../component.js';
import type Player from '../player';
//# sourceMappingURL=loader.d.ts.map