OLD | NEW |
1 | 1 |
2 class _HTMLMediaElementJs extends _HTMLElementJs implements HTMLMediaElement nat
ive "*HTMLMediaElement" { | 2 class _HTMLMediaElementJs extends _HTMLElementJs implements HTMLMediaElement nat
ive "*HTMLMediaElement" { |
3 | 3 |
| 4 static final int EOS_DECODE_ERR = 2; |
| 5 |
| 6 static final int EOS_NETWORK_ERR = 1; |
| 7 |
| 8 static final int EOS_NO_ERROR = 0; |
| 9 |
4 static final int HAVE_CURRENT_DATA = 2; | 10 static final int HAVE_CURRENT_DATA = 2; |
5 | 11 |
6 static final int HAVE_ENOUGH_DATA = 4; | 12 static final int HAVE_ENOUGH_DATA = 4; |
7 | 13 |
8 static final int HAVE_FUTURE_DATA = 3; | 14 static final int HAVE_FUTURE_DATA = 3; |
9 | 15 |
10 static final int HAVE_METADATA = 1; | 16 static final int HAVE_METADATA = 1; |
11 | 17 |
12 static final int HAVE_NOTHING = 0; | 18 static final int HAVE_NOTHING = 0; |
13 | 19 |
14 static final int NETWORK_EMPTY = 0; | 20 static final int NETWORK_EMPTY = 0; |
15 | 21 |
16 static final int NETWORK_IDLE = 1; | 22 static final int NETWORK_IDLE = 1; |
17 | 23 |
18 static final int NETWORK_LOADING = 2; | 24 static final int NETWORK_LOADING = 2; |
19 | 25 |
20 static final int NETWORK_NO_SOURCE = 3; | 26 static final int NETWORK_NO_SOURCE = 3; |
21 | 27 |
| 28 static final int SOURCE_CLOSED = 0; |
| 29 |
| 30 static final int SOURCE_ENDED = 2; |
| 31 |
| 32 static final int SOURCE_OPEN = 1; |
| 33 |
22 bool autoplay; | 34 bool autoplay; |
23 | 35 |
24 final _TimeRangesJs buffered; | 36 final _TimeRangesJs buffered; |
25 | 37 |
26 _MediaControllerJs controller; | 38 _MediaControllerJs controller; |
27 | 39 |
28 bool controls; | 40 bool controls; |
29 | 41 |
30 final String currentSrc; | 42 final String currentSrc; |
31 | 43 |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 void load() native; | 106 void load() native; |
95 | 107 |
96 void pause() native; | 108 void pause() native; |
97 | 109 |
98 void play() native; | 110 void play() native; |
99 | 111 |
100 void webkitSourceAppend(_Uint8ArrayJs data) native; | 112 void webkitSourceAppend(_Uint8ArrayJs data) native; |
101 | 113 |
102 void webkitSourceEndOfStream(int status) native; | 114 void webkitSourceEndOfStream(int status) native; |
103 } | 115 } |
OLD | NEW |