mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-26 22:38:51 +00:00
19 lines
359 B
Text
19 lines
359 B
Text
#import <HTML/HTMLElement.idl>
|
|
|
|
enum CanPlayTypeResult {
|
|
"",
|
|
"maybe",
|
|
"probably"
|
|
};
|
|
|
|
interface HTMLMediaElement : HTMLElement {
|
|
|
|
[Reflect] attribute DOMString src;
|
|
|
|
[Reflect] attribute boolean autoplay;
|
|
[Reflect] attribute boolean loop;
|
|
|
|
[Reflect] attribute boolean controls;
|
|
|
|
CanPlayTypeResult canPlayType(DOMString type);
|
|
};
|