mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 08:57:34 +00:00
LibWeb: Stub out the HTMLMediaElement buffered attribute
This is needed by https://store.steampowered.com. For now, we return an empty TimeRanges object.
This commit is contained in:
parent
680a9f748e
commit
7833b321a3
3 changed files with 18 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
#import <HTML/TimeRanges.idl>
|
||||
#import <HTML/VideoTrackList.idl>
|
||||
|
||||
enum CanPlayTypeResult {
|
||||
|
@ -18,6 +19,7 @@ interface HTMLMediaElement : HTMLElement {
|
|||
const unsigned short NETWORK_LOADING = 2;
|
||||
const unsigned short NETWORK_NO_SOURCE = 3;
|
||||
readonly attribute unsigned short networkState;
|
||||
readonly attribute TimeRanges buffered;
|
||||
undefined load();
|
||||
CanPlayTypeResult canPlayType(DOMString type);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue