Summary: | [GStreamer] Seek on loadedmetadata is ignored | ||
---|---|---|---|
Product: | WebKit | Reporter: | Alicia Boya García <aboya> |
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW --- | ||
Severity: | Normal | CC: | bugs-noreply, fjimenez |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Description
Alicia Boya García
2020-12-03 08:04:12 PST
This is in regular playback from an HTTP resource (not MSE). 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) |