2018-09-13 23:04:55 +03:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2013-05-21 20:14:00 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*
|
|
|
|
* The origin of this IDL file is
|
|
|
|
* http://www.whatwg.org/specs/web-apps/current-work/#the-track-element
|
|
|
|
*/
|
|
|
|
|
2019-10-17 18:38:39 +03:00
|
|
|
[Exposed=Window]
|
2013-05-21 20:14:00 +04:00
|
|
|
interface HTMLTrackElement : HTMLElement {
|
2019-10-17 18:38:39 +03:00
|
|
|
[HTMLConstructor] constructor();
|
|
|
|
|
2017-06-29 17:26:00 +03:00
|
|
|
[CEReactions, SetterThrows, Pure]
|
2013-07-04 22:16:05 +04:00
|
|
|
attribute DOMString kind;
|
2017-06-29 17:26:00 +03:00
|
|
|
[CEReactions, SetterThrows, Pure]
|
2013-05-21 20:14:00 +04:00
|
|
|
attribute DOMString src;
|
2017-06-29 17:26:00 +03:00
|
|
|
[CEReactions, SetterThrows, Pure]
|
2013-05-21 20:14:00 +04:00
|
|
|
attribute DOMString srclang;
|
2017-06-29 17:26:00 +03:00
|
|
|
[CEReactions, SetterThrows, Pure]
|
2013-05-21 20:14:00 +04:00
|
|
|
attribute DOMString label;
|
2017-06-29 17:26:00 +03:00
|
|
|
[CEReactions, SetterThrows, Pure]
|
2013-05-21 20:14:00 +04:00
|
|
|
attribute boolean default;
|
|
|
|
|
|
|
|
const unsigned short NONE = 0;
|
|
|
|
const unsigned short LOADING = 1;
|
|
|
|
const unsigned short LOADED = 2;
|
|
|
|
const unsigned short ERROR = 3;
|
2019-12-02 22:13:11 +03:00
|
|
|
|
|
|
|
[BinaryName="readyStateForBindings"]
|
2013-05-21 20:14:00 +04:00
|
|
|
readonly attribute unsigned short readyState;
|
|
|
|
|
2014-04-07 21:58:38 +04:00
|
|
|
readonly attribute TextTrack? track;
|
2013-05-21 20:14:00 +04:00
|
|
|
};
|