| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 interface HTMLMediaElement extends HTMLElement { | 7 interface HTMLMediaElement extends HTMLElement { |
| 8 | 8 |
| 9 static final int EOS_DECODE_ERR = 2; | |
| 10 | |
| 11 static final int EOS_NETWORK_ERR = 1; | |
| 12 | |
| 13 static final int EOS_NO_ERROR = 0; | |
| 14 | |
| 15 static final int HAVE_CURRENT_DATA = 2; | 9 static final int HAVE_CURRENT_DATA = 2; |
| 16 | 10 |
| 17 static final int HAVE_ENOUGH_DATA = 4; | 11 static final int HAVE_ENOUGH_DATA = 4; |
| 18 | 12 |
| 19 static final int HAVE_FUTURE_DATA = 3; | 13 static final int HAVE_FUTURE_DATA = 3; |
| 20 | 14 |
| 21 static final int HAVE_METADATA = 1; | 15 static final int HAVE_METADATA = 1; |
| 22 | 16 |
| 23 static final int HAVE_NOTHING = 0; | 17 static final int HAVE_NOTHING = 0; |
| 24 | 18 |
| 25 static final int NETWORK_EMPTY = 0; | 19 static final int NETWORK_EMPTY = 0; |
| 26 | 20 |
| 27 static final int NETWORK_IDLE = 1; | 21 static final int NETWORK_IDLE = 1; |
| 28 | 22 |
| 29 static final int NETWORK_LOADING = 2; | 23 static final int NETWORK_LOADING = 2; |
| 30 | 24 |
| 31 static final int NETWORK_NO_SOURCE = 3; | 25 static final int NETWORK_NO_SOURCE = 3; |
| 32 | 26 |
| 33 static final int SOURCE_CLOSED = 0; | |
| 34 | |
| 35 static final int SOURCE_ENDED = 2; | |
| 36 | |
| 37 static final int SOURCE_OPEN = 1; | |
| 38 | |
| 39 bool autoplay; | 27 bool autoplay; |
| 40 | 28 |
| 41 final TimeRanges buffered; | 29 final TimeRanges buffered; |
| 42 | 30 |
| 43 MediaController controller; | 31 MediaController controller; |
| 44 | 32 |
| 45 bool controls; | 33 bool controls; |
| 46 | 34 |
| 47 final String currentSrc; | 35 final String currentSrc; |
| 48 | 36 |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 void load(); | 99 void load(); |
| 112 | 100 |
| 113 void pause(); | 101 void pause(); |
| 114 | 102 |
| 115 void play(); | 103 void play(); |
| 116 | 104 |
| 117 void webkitSourceAppend(Uint8Array data); | 105 void webkitSourceAppend(Uint8Array data); |
| 118 | 106 |
| 119 void webkitSourceEndOfStream(int status); | 107 void webkitSourceEndOfStream(int status); |
| 120 } | 108 } |
| OLD | NEW |