Files
shaka-player/externs/texttrack.js
T
Álvaro Velad Galván 160e36be46 feat: Add chapters support (#2972)
Add the following methods:
 - addChaptersTrack
 - getChapters
 - getChaptersTracks

The following formats are supported: WebVTT and SRT
2021-06-22 14:50:09 -07:00

26 lines
412 B
JavaScript

/*! @license
* Shaka Player
* Copyright 2016 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @fileoverview Externs for TextTrack which are missing from the Closure
* compiler.
*
* @externs
*/
/** @type {string} */
TextTrack.prototype.id;
/** @type {string} */
TextTrack.prototype.kind;
/** @type {string} */
TextTrack.prototype.label;
/** @type {string} */
TextTrack.prototype.language;