mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:37:43 +00:00
LibWeb: Add HTMLMediaElement.canPlayType()
For the time being, the answer is no, or rather: "" :^)
This commit is contained in:
parent
55c247d044
commit
a2e6abe159
4 changed files with 28 additions and 0 deletions
|
@ -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);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue