ladybird/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.idl
Luke Wilde 32e27bc7fa LibWeb: Add a bunch of missing CEReactions
This is almost guaranteed not to be all CEReactions we need to add, but
this puts us in a much better situation.
2023-04-06 11:36:56 +02:00

23 lines
543 B
Text

#import <HTML/HTMLElement.idl>
enum CanPlayTypeResult {
"",
"maybe",
"probably"
};
// https://html.spec.whatwg.org/multipage/media.html#htmlmediaelement
[Exposed=Window]
interface HTMLMediaElement : HTMLElement {
[Reflect, CEReactions] attribute DOMString src;
[Reflect, CEReactions] attribute boolean autoplay;
[Reflect, CEReactions] attribute boolean loop;
[Reflect, CEReactions] attribute boolean controls;
CanPlayTypeResult canPlayType(DOMString type);
undefined load();
undefined pause();
};