mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-13 11:42:38 +03:00
1e9cc2e211
Required for rendering GIFs on Discord.
24 lines
491 B
Plaintext
24 lines
491 B
Plaintext
#import <HTML/HTMLElement.idl>
|
|
|
|
enum CanPlayTypeResult {
|
|
"",
|
|
"maybe",
|
|
"probably"
|
|
};
|
|
|
|
// https://html.spec.whatwg.org/multipage/media.html#htmlmediaelement
|
|
[Exposed=Window]
|
|
interface HTMLMediaElement : HTMLElement {
|
|
|
|
[Reflect] attribute DOMString src;
|
|
|
|
[Reflect] attribute boolean autoplay;
|
|
[Reflect] attribute boolean loop;
|
|
|
|
[Reflect] attribute boolean controls;
|
|
|
|
CanPlayTypeResult canPlayType(DOMString type);
|
|
undefined load();
|
|
undefined pause();
|
|
};
|