You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The stream has correct Access-Control-Allow-Origin headers (CORS)
There are no network errors such as 404s in the browser console when trying to play the stream
Steps to reproduce
Select FDR - CDN packaged, 4s segments, 180p - 1080p from the videos select box in the demo page (any of them)
Set the "loop" attribute on the video to "true" (I wrote this in the console: document.getElementsByTagName("video")[0].loop = true;)
Add a resize event on the video: document.getElementsByTagName("video")[0].addEventListener("resize", (e) => { console.log(e, e.target.videoWidth, e.target.videoHeight) });
Expected behaviour
The video starts at 640 x 360, it adapts to 1920 x 1080 and when it starts over because of loop=true it should start again at 1920 x 1080
What actually happened?
Each iteration the video starts at 640x360 and then jumps at 1920 x 1080
Console output
Not sure what you want here :(
Chrome media internals output
No response
The text was updated successfully, but these errors were encountered:
A side note, I couldn't reproduce this issue with the first video in the list, the big buck bunny.
On my project, the issue reproduces also on Safari iOS, where I am not using hls.js since streaming is natively supported.
Thank you, I haven't found this issue at search. I will try to flush backbuffer.
However, I wonder why I can reproduce with the second video and not with the first one.
What version of Hls.js are you using?
1.5.13
What browser (including version) are you using?
Brave (Windows and Android), Chrome (Windows and Android)
What OS (including version) are you using?
Windows and Android
Test stream
No response
Configuration
Additional player setup steps
No response
Checklist
Steps to reproduce
FDR - CDN packaged, 4s segments, 180p - 1080p
from the videos select box in the demo page (any of them)document.getElementsByTagName("video")[0].loop = true;
)document.getElementsByTagName("video")[0].addEventListener("resize", (e) => { console.log(e, e.target.videoWidth, e.target.videoHeight) });
Expected behaviour
The video starts at 640 x 360, it adapts to 1920 x 1080 and when it starts over because of loop=true it should start again at 1920 x 1080
What actually happened?
Each iteration the video starts at 640x360 and then jumps at 1920 x 1080
Console output
Chrome media internals output
No response
The text was updated successfully, but these errors were encountered: