Files
serenity/Userland/Libraries/LibWeb/HTML/HTMLVideoElement.idl
Tim Ledbetter 107ea0c79a LibWeb: Use [URL] extended attribute for HTMLVideoElement.poster
(cherry picked from commit 67d05b0104dab928fc5334fe63e46cd62d1e4e22)
2024-11-26 22:37:15 -05:00

17 lines
561 B
Plaintext

#import <HTML/HTMLMediaElement.idl>
// https://html.spec.whatwg.org/multipage/media.html#htmlvideoelement
[Exposed=Window]
interface HTMLVideoElement : HTMLMediaElement {
[HTMLConstructor] constructor();
[CEReactions, Reflect] attribute unsigned long width;
[CEReactions, Reflect] attribute unsigned long height;
readonly attribute unsigned long videoWidth;
readonly attribute unsigned long videoHeight;
[CEReactions, Reflect, URL] attribute USVString poster;
[CEReactions, Reflect=playsinline] attribute boolean playsInline;
};