Automatically calculate current playback position based on the playback rate and duration
Categories
(Core :: Audio/Video: Playback, enhancement, P3)
Tracking
()
People
(Reporter: petru, Unassigned)
References
Details
GeckoView offers an onPositionUpdate callback that should offer a glimpse into the current playback rate/position/duration but when testing on Fenix on youtube/dailymotion/souncloud I don't see this callback firing.
Asked Agi about it who said that as a public API it should work but it's a direct passt hrough so maybe the problem is a bit more on the lower levels.
Comment 1•4 years ago
|
||
The spec doesn't mandantorily require the user agent to calculate the current playback position, so Gecko only forware the postition state when the website set it explicitly via SetPositionState()
method. If the callback wasn't fired on those websites, that just means that they didn't set the position state.
That will be an enhancement if we support calculating the current position based on the duration and playback rate.
Updated•4 years ago
|
Updated•4 years ago
|
Description
•