| OLD | NEW |
| 1 | 1 |
| 2 class HTMLMediaElement extends HTMLElement native "HTMLMediaElement" { | 2 class HTMLMediaElement extends HTMLElement native "HTMLMediaElement" { |
| 3 | 3 |
| 4 static final int EOS_DECODE_ERR = 2; | 4 static final int EOS_DECODE_ERR = 2; |
| 5 | 5 |
| 6 static final int EOS_NETWORK_ERR = 1; | 6 static final int EOS_NETWORK_ERR = 1; |
| 7 | 7 |
| 8 static final int EOS_NO_ERROR = 0; | 8 static final int EOS_NO_ERROR = 0; |
| 9 | 9 |
| 10 static final int HAVE_CURRENT_DATA = 2; | 10 static final int HAVE_CURRENT_DATA = 2; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 static final int SOURCE_CLOSED = 0; | 28 static final int SOURCE_CLOSED = 0; |
| 29 | 29 |
| 30 static final int SOURCE_ENDED = 2; | 30 static final int SOURCE_ENDED = 2; |
| 31 | 31 |
| 32 static final int SOURCE_OPEN = 1; | 32 static final int SOURCE_OPEN = 1; |
| 33 | 33 |
| 34 bool autoplay; | 34 bool autoplay; |
| 35 | 35 |
| 36 TimeRanges buffered; | 36 TimeRanges buffered; |
| 37 | 37 |
| 38 MediaController controller; |
| 39 |
| 38 bool controls; | 40 bool controls; |
| 39 | 41 |
| 40 String currentSrc; | 42 String currentSrc; |
| 41 | 43 |
| 42 num currentTime; | 44 num currentTime; |
| 43 | 45 |
| 44 bool defaultMuted; | 46 bool defaultMuted; |
| 45 | 47 |
| 46 num defaultPlaybackRate; | 48 num defaultPlaybackRate; |
| 47 | 49 |
| 48 num duration; | 50 num duration; |
| 49 | 51 |
| 50 bool ended; | 52 bool ended; |
| 51 | 53 |
| 52 MediaError error; | 54 MediaError error; |
| 53 | 55 |
| 54 num initialTime; | 56 num initialTime; |
| 55 | 57 |
| 56 bool loop; | 58 bool loop; |
| 57 | 59 |
| 60 String mediaGroup; |
| 61 |
| 58 bool muted; | 62 bool muted; |
| 59 | 63 |
| 60 int networkState; | 64 int networkState; |
| 61 | 65 |
| 62 bool paused; | 66 bool paused; |
| 63 | 67 |
| 64 num playbackRate; | 68 num playbackRate; |
| 65 | 69 |
| 66 TimeRanges played; | 70 TimeRanges played; |
| 67 | 71 |
| 68 String preload; | 72 String preload; |
| 69 | 73 |
| 70 int readyState; | 74 int readyState; |
| 71 | 75 |
| 72 TimeRanges seekable; | 76 TimeRanges seekable; |
| 73 | 77 |
| 74 bool seeking; | 78 bool seeking; |
| 75 | 79 |
| 76 String src; | 80 String src; |
| 77 | 81 |
| 78 num startTime; | 82 num startTime; |
| 79 | 83 |
| 84 TextTrackList textTracks; |
| 85 |
| 80 num volume; | 86 num volume; |
| 81 | 87 |
| 82 int webkitAudioDecodedByteCount; | 88 int webkitAudioDecodedByteCount; |
| 83 | 89 |
| 84 bool webkitClosedCaptionsVisible; | 90 bool webkitClosedCaptionsVisible; |
| 85 | 91 |
| 86 bool webkitHasClosedCaptions; | 92 bool webkitHasClosedCaptions; |
| 87 | 93 |
| 88 String webkitMediaSourceURL; | 94 String webkitMediaSourceURL; |
| 89 | 95 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 100 void load() native; | 106 void load() native; |
| 101 | 107 |
| 102 void pause() native; | 108 void pause() native; |
| 103 | 109 |
| 104 void play() native; | 110 void play() native; |
| 105 | 111 |
| 106 void webkitSourceAppend(Uint8Array data) native; | 112 void webkitSourceAppend(Uint8Array data) native; |
| 107 | 113 |
| 108 void webkitSourceEndOfStream(int status) native; | 114 void webkitSourceEndOfStream(int status) native; |
| 109 } | 115 } |
| OLD | NEW |