| 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 | |
| 40 bool controls; | 38 bool controls; |
| 41 | 39 |
| 42 String currentSrc; | 40 String currentSrc; |
| 43 | 41 |
| 44 num currentTime; | 42 num currentTime; |
| 45 | 43 |
| 46 bool defaultMuted; | 44 bool defaultMuted; |
| 47 | 45 |
| 48 num defaultPlaybackRate; | 46 num defaultPlaybackRate; |
| 49 | 47 |
| 50 num duration; | 48 num duration; |
| 51 | 49 |
| 52 bool ended; | 50 bool ended; |
| 53 | 51 |
| 54 MediaError error; | 52 MediaError error; |
| 55 | 53 |
| 56 num initialTime; | 54 num initialTime; |
| 57 | 55 |
| 58 bool loop; | 56 bool loop; |
| 59 | 57 |
| 60 String mediaGroup; | |
| 61 | |
| 62 bool muted; | 58 bool muted; |
| 63 | 59 |
| 64 int networkState; | 60 int networkState; |
| 65 | 61 |
| 66 bool paused; | 62 bool paused; |
| 67 | 63 |
| 68 num playbackRate; | 64 num playbackRate; |
| 69 | 65 |
| 70 TimeRanges played; | 66 TimeRanges played; |
| 71 | 67 |
| 72 String preload; | 68 String preload; |
| 73 | 69 |
| 74 int readyState; | 70 int readyState; |
| 75 | 71 |
| 76 TimeRanges seekable; | 72 TimeRanges seekable; |
| 77 | 73 |
| 78 bool seeking; | 74 bool seeking; |
| 79 | 75 |
| 80 String src; | 76 String src; |
| 81 | 77 |
| 82 num startTime; | 78 num startTime; |
| 83 | 79 |
| 84 TextTrackList textTracks; | |
| 85 | |
| 86 num volume; | 80 num volume; |
| 87 | 81 |
| 88 int webkitAudioDecodedByteCount; | 82 int webkitAudioDecodedByteCount; |
| 89 | 83 |
| 90 bool webkitClosedCaptionsVisible; | 84 bool webkitClosedCaptionsVisible; |
| 91 | 85 |
| 92 bool webkitHasClosedCaptions; | 86 bool webkitHasClosedCaptions; |
| 93 | 87 |
| 94 String webkitMediaSourceURL; | 88 String webkitMediaSourceURL; |
| 95 | 89 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 106 void load() native; | 100 void load() native; |
| 107 | 101 |
| 108 void pause() native; | 102 void pause() native; |
| 109 | 103 |
| 110 void play() native; | 104 void play() native; |
| 111 | 105 |
| 112 void webkitSourceAppend(Uint8Array data) native; | 106 void webkitSourceAppend(Uint8Array data) native; |
| 113 | 107 |
| 114 void webkitSourceEndOfStream(int status) native; | 108 void webkitSourceEndOfStream(int status) native; |
| 115 } | 109 } |
| OLD | NEW |