Media element's buffered
binding doesn't update frequently enough to match native TimeRange
object
#7400
Labels
buffered
binding doesn't update frequently enough to match native TimeRange
object
#7400
Describe the bug
It seems that the current
buffered
binding relies on theprogress
event to update itsTimeRange
object (or rather, its "array of{start, end}
objects").In my experience, however, the
progress
event doesn't actually fire frequently enough to reflect the state of the nativeHTMLMediaElement.buffered
'sTimeRange
object.Reproduction
https://svelte.dev/repl/a7c0417e5a204ef8b3a295e5c7881645?version=3.46.4
Note: swapping line 11 for line 10 is actually a more accurate representation of the native players buffer state. In line 11 the reactive statement has
buffered
as a dependency as well.Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: