2022-02-15 16:10:51 -03:00
|
|
|
#import <HTML/HTMLElement.idl>
|
|
|
|
|
|
2022-03-04 14:49:30 -03:00
|
|
|
enum CanPlayTypeResult {
|
|
|
|
|
"",
|
|
|
|
|
"maybe",
|
|
|
|
|
"probably"
|
|
|
|
|
};
|
|
|
|
|
|
2020-07-31 23:05:43 -03:00
|
|
|
interface HTMLMediaElement : HTMLElement {
|
|
|
|
|
|
|
|
|
|
[Reflect] attribute DOMString src;
|
|
|
|
|
|
2020-11-09 05:15:10 -03:00
|
|
|
[Reflect] attribute boolean autoplay;
|
|
|
|
|
[Reflect] attribute boolean loop;
|
|
|
|
|
|
|
|
|
|
[Reflect] attribute boolean controls;
|
|
|
|
|
|
2022-03-04 14:49:30 -03:00
|
|
|
CanPlayTypeResult canPlayType(DOMString type);
|
2020-12-09 18:26:42 -03:00
|
|
|
};
|