Timothy Flynn
b9e4dc2cb7
LibWeb: Implement the HTMLMediaElement volume and muted IDL attributes
2023-06-16 13:50:15 +02:00
Timothy Flynn
c89fd6dff0
LibWeb: Implement the AudioTrack and AudioTrackList interfaces
...
These are used to own and manage the playing of audio data.
2023-06-13 06:14:01 +02:00
Timothy Flynn
32e2207b55
LibWeb: Implement the HTMLMediaElement fastSeek method
2023-04-24 07:55:54 +02:00
Timothy Flynn
9c940608fd
LibWeb: Implement the HTMLMediaElement error attribute
2023-04-23 16:22:45 +02:00
Timothy Flynn
1a67b86b76
LibWeb: Implement the HTMLMediaElement currentSrc attribute
2023-04-20 06:19:41 +02:00
Timothy Flynn
f8d6a67294
LibWeb: Implement the HTMLMediaElement crossOrigin attribute
2023-04-19 07:57:52 +02:00
Timothy Flynn
7833b321a3
LibWeb: Stub out the HTMLMediaElement buffered attribute
...
This is needed by https://store.steampowered.com . For now, we return an
empty TimeRanges object.
2023-04-19 07:57:52 +02:00
Timothy Flynn
5a98a5529f
LibWeb: Begin implementing media resource seeking
2023-04-17 01:16:04 +02:00
Timothy Flynn
4797f07883
LibWeb: Begin detecting the end of an HTMLMediaElement media resource
2023-04-11 19:27:55 +02:00
Timothy Flynn
3d9106b1b5
LibWeb: Begin tracking HTMLMediaElement playback positions
...
There are several playback positions to be tracked, depending on the
state of the media element.
2023-04-11 19:27:55 +02:00
Timothy Flynn
d99a075ff9
LibWeb: Implement HTMLMediaElement.play
...
This also includes the HTMLMediaElement's list of pending play promises,
which is coupled pretty tightly with HTMLMediaElement.play.
2023-04-08 22:04:14 +02:00
Timothy Flynn
90921a4f16
LibWeb: Implement the HTMLMediaElement paused attribute
...
Note that the default value of the attribute is true. We were previously
autoplaying videos as soon as they loaded - this will prevent that from
happening until the paused attribute is set to false.
2023-04-08 22:04:14 +02:00
Timothy Flynn
becd70eccb
LibWeb: Begin implementing HTMLMediaElement's readyState attribute
...
It's not totally clear to me when all of these states are supposed to be
set. For example, nothing in the HTMLMediaElement spec says to "set the
readyState attribute to HAVE_ENOUGH_DATA". However, this will at least
advance the readyState to HAVE_METADATA, which is needed for other
useful attributes for debugging.
2023-04-07 16:02:22 +02:00
Timothy Flynn
e10e041882
LibWeb: Implement HTMLMediaElement's duration attribute
2023-04-07 16:02:22 +02:00
Timothy Flynn
e2f32e6ab3
LibWeb: Parse and load the HTMLMediaElement's src attribute
...
The spec for loading a media element is quite huge. This implements just
enough to parse the attribute, fetch the corresponding media object, and
decode the media object (if it is a video). While doing so, this also
implements most network state tracking and firing DOM events that may be
observed via JavaScript.
2023-04-07 16:02:22 +02:00
Timothy Flynn
6d5893a121
LibWeb: Implement HTMLMediaElement's networkState attribute
2023-04-07 16:02:22 +02:00
Luke Wilde
32e27bc7fa
LibWeb: Add a bunch of missing CEReactions
...
This is almost guaranteed not to be all CEReactions we need to add, but
this puts us in a much better situation.
2023-04-06 11:36:56 +02:00
Luke Wilde
1e9cc2e211
LibWeb: Stub HTMLMediaElement.pause
...
Required for rendering GIFs on Discord.
2022-12-10 00:21:10 +00:00
Luke Wilde
377eb09492
LibWeb: Stub HTMLMediaElement.load
2022-10-28 16:17:08 +01:00
Andrew Kaster
67ceba2e6a
LibWeb: Add Exposed attribute and IDL spec links where missing
...
The intent is to use these to autogenerate prototype declarations for
Window and WorkerGlobalScope classes.
And the spec links are just nice to have :^)
2022-10-09 10:14:57 +02:00
Linus Groh
a2e6abe159
LibWeb: Add HTMLMediaElement.canPlayType()
...
For the time being, the answer is no, or rather: "" :^)
2022-03-04 23:03:29 +01:00
Ali Mohammad Pur
a59800b4a0
LibWeb: Add imports to all IDL files that depend on others
2022-02-16 22:48:32 +03:30
Andreas Kling
13d7c09125
Libraries: Move to Userland/Libraries/
2021-01-12 12:17:46 +01:00