UNPKG

video.js

Version:

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

21 lines 624 B
export default TrackButton; /** @import Player from './player' */ /** * The base class for buttons that toggle specific track types (e.g. subtitles). * * @extends MenuButton */ declare class TrackButton extends MenuButton { /** * 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: Player, options?: any); } import MenuButton from '../menu/menu-button.js'; //# sourceMappingURL=track-button.d.ts.map