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