OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
2 // for details. All rights reserved. Use of this source code is governed by a | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 // WARNING: Do not edit - generated code. | |
6 | |
7 interface MediaElement extends Element { | |
8 | |
9 bool get autoplay(); | |
10 | |
11 void set autoplay(bool value); | |
12 | |
13 TimeRanges get buffered(); | |
14 | |
15 bool get controls(); | |
16 | |
17 void set controls(bool value); | |
18 | |
19 String get currentSrc(); | |
20 | |
21 num get currentTime(); | |
22 | |
23 void set currentTime(num value); | |
24 | |
25 bool get defaultMuted(); | |
26 | |
27 void set defaultMuted(bool value); | |
28 | |
29 num get defaultPlaybackRate(); | |
30 | |
31 void set defaultPlaybackRate(num value); | |
32 | |
33 num get duration(); | |
34 | |
35 bool get ended(); | |
36 | |
37 MediaError get error(); | |
38 | |
39 num get initialTime(); | |
40 | |
41 bool get loop(); | |
42 | |
43 void set loop(bool value); | |
44 | |
45 bool get muted(); | |
46 | |
47 void set muted(bool value); | |
48 | |
49 int get networkState(); | |
50 | |
51 bool get paused(); | |
52 | |
53 num get playbackRate(); | |
54 | |
55 void set playbackRate(num value); | |
56 | |
57 TimeRanges get played(); | |
58 | |
59 String get preload(); | |
60 | |
61 void set preload(String value); | |
62 | |
63 int get readyState(); | |
64 | |
65 TimeRanges get seekable(); | |
66 | |
67 bool get seeking(); | |
68 | |
69 String get src(); | |
70 | |
71 void set src(String value); | |
72 | |
73 num get startTime(); | |
74 | |
75 num get volume(); | |
76 | |
77 void set volume(num value); | |
78 | |
79 int get webkitAudioDecodedByteCount(); | |
80 | |
81 bool get webkitClosedCaptionsVisible(); | |
82 | |
83 void set webkitClosedCaptionsVisible(bool value); | |
84 | |
85 bool get webkitHasClosedCaptions(); | |
86 | |
87 bool get webkitPreservesPitch(); | |
88 | |
89 void set webkitPreservesPitch(bool value); | |
90 | |
91 int get webkitVideoDecodedByteCount(); | |
92 | |
93 String canPlayType(String type); | |
94 | |
95 void load(); | |
96 | |
97 void pause(); | |
98 | |
99 void play(); | |
100 } | |
OLD | NEW |