Fixed Adding a video appears to get stuck 'loading' but still plays

R2robot

Member
I've had a few instances now where adding a video shows 'LOADING', but never goes away. The video seems to play normally though.


Screenshot 2025-11-25 at 17.43.30.png


This video is one that I edited to stabilize

Edited video shows 'LOADING'
https://www.metabunk.org/sitrec/?cu...om/20018/Bug Video Loading/20251125_233236.js

Original unedited video works as expected
https://www.metabunk.org/sitrec/?cu...20018/Bug Video works fine/20251125_233318.js





Another one that shows 'LOADING', but in this one, it seems like the end of the video isn't detected or something. The clip is ~20s, but sitrec continues to play for another 10s after the clip ends and then restarts at the beginning.

https://www.metabunk.org/sitrec/?cu....com/20018/Compton PT2 _ 2/20251124_100930.js

Screenshot 2025-11-25 at 17.52.35.png



I don't *think* i've changed any of my video output settings, and it only started happening in the last week or two.
 
It's to do with the new audio playback, probably an async issue with it decoding the audio after loading the video. I'll look into it.
 
Seems to be fixed now. The code was using an old library mp4box.js, and it was not handling newer version of QuickTime files (.mov)
I've fixed that one problem, and am looking into other similar possible issues to see if it's worth getting the newer version of mp4box working (they seem to still have the same bug)
 
Wow, that was quick! The loading message is gone and the length is correct on the second one as well. Thanks again!
 
Back
Top