|
@@ -10,7 +10,13 @@ enum CanPlayTypeResult {
|
|
[Exposed=Window]
|
|
[Exposed=Window]
|
|
interface HTMLMediaElement : HTMLElement {
|
|
interface HTMLMediaElement : HTMLElement {
|
|
|
|
|
|
|
|
+ // network state
|
|
[Reflect, CEReactions] attribute DOMString src;
|
|
[Reflect, CEReactions] attribute DOMString src;
|
|
|
|
+ const unsigned short NETWORK_EMPTY = 0;
|
|
|
|
+ const unsigned short NETWORK_IDLE = 1;
|
|
|
|
+ const unsigned short NETWORK_LOADING = 2;
|
|
|
|
+ const unsigned short NETWORK_NO_SOURCE = 3;
|
|
|
|
+ readonly attribute unsigned short networkState;
|
|
|
|
|
|
[Reflect, CEReactions] attribute boolean autoplay;
|
|
[Reflect, CEReactions] attribute boolean autoplay;
|
|
[Reflect, CEReactions] attribute boolean loop;
|
|
[Reflect, CEReactions] attribute boolean loop;
|