[Webkit-unassigned] [Bug 219490] [GStreamer] Seek on loadedmetadata is ignored
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Feb 15 10:26:22 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=219490
Fernando Jiménez Moreno <fjimenez at igalia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fjimenez at igalia.com
--- Comment #2 from Fernando Jiménez Moreno <fjimenez at igalia.com> ---
I am not sure if this is exactly what you meant, but a test like this works for me:
```
const video = document.querySelector('video');
video.addEventListener('loadedmetadata', event => {
console.log('onloadedmetadata received');
console.log('Seeking to t=15');
video.currentTime = 15;
video.play();
});
video.addEventListener('seeked', event => {
console.log('Seek received');
});
```
The logs are properly shown and video starts at t=15 (if autoplay is allowed)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210215/8d8ab2d7/attachment.htm>
More information about the webkit-unassigned
mailing list