4c21675a5d8e0f6ed6044055c7bc0c9c0dbafd5b
[yaffs-website] / tracks / track-enums.js
1 'use strict';
2
3 exports.__esModule = true;
4 /**
5  * @file track-kinds.js
6  */
7
8 /**
9  * All possible `VideoTrackKind`s
10  *
11  * @see https://html.spec.whatwg.org/multipage/embedded-content.html#dom-videotrack-kind
12  * @typedef VideoTrack~Kind
13  * @enum
14  */
15 var VideoTrackKind = exports.VideoTrackKind = {
16   alternative: 'alternative',
17   captions: 'captions',
18   main: 'main',
19   sign: 'sign',
20   subtitles: 'subtitles',
21   commentary: 'commentary'
22 };
23
24 /**
25  * All possible `AudioTrackKind`s
26  *
27  * @see https://html.spec.whatwg.org/multipage/embedded-content.html#dom-audiotrack-kind
28  * @typedef AudioTrack~Kind
29  * @enum
30  */
31 var AudioTrackKind = exports.AudioTrackKind = {
32   'alternative': 'alternative',
33   'descriptions': 'descriptions',
34   'main': 'main',
35   'main-desc': 'main-desc',
36   'translation': 'translation',
37   'commentary': 'commentary'
38 };
39
40 /**
41  * All possible `TextTrackKind`s
42  *
43  * @see https://html.spec.whatwg.org/multipage/embedded-content.html#dom-texttrack-kind
44  * @typedef TextTrack~Kind
45  * @enum
46  */
47 var TextTrackKind = exports.TextTrackKind = {
48   subtitles: 'subtitles',
49   captions: 'captions',
50   descriptions: 'descriptions',
51   chapters: 'chapters',
52   metadata: 'metadata'
53 };
54
55 /**
56  * All possible `TextTrackMode`s
57  *
58  * @see https://html.spec.whatwg.org/multipage/embedded-content.html#texttrackmode
59  * @typedef TextTrack~Mode
60  * @enum
61  */
62 var TextTrackMode = exports.TextTrackMode = {
63   disabled: 'disabled',
64   hidden: 'hidden',
65   showing: 'showing'
66 };