summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.idl
blob: a97e1e29bad692a1689204bf4b111c239665860c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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);
};