mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibWeb: Add HTMLMediaElement.canPlayType()
For the time being, the answer is no, or rather: "" :^)
This commit is contained in:
committed by
Andreas Kling
parent
55c247d044
commit
a2e6abe159
@@ -1,5 +1,11 @@
|
||||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
enum CanPlayTypeResult {
|
||||
"",
|
||||
"maybe",
|
||||
"probably"
|
||||
};
|
||||
|
||||
interface HTMLMediaElement : HTMLElement {
|
||||
|
||||
[Reflect] attribute DOMString src;
|
||||
@@ -9,4 +15,5 @@ interface HTMLMediaElement : HTMLElement {
|
||||
|
||||
[Reflect] attribute boolean controls;
|
||||
|
||||
CanPlayTypeResult canPlayType(DOMString type);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user