ladybird/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.idl

20 lines
359 B
Text
Raw Normal View History

#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);
};