-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mp4 files are not playing in browser #1328
Comments
What is happening instead in the browser? Can you see error messages in the browser console? I just tried on my (still 1.13.0) installation and mp4 files are playing fine (firefox). |
No errors - GET Status Code: 206 Partial Content |
Chrome and Edge - small player window appears and it become inactive in a sec. Player in Firefox works only by downloading file from the start. Is it possible to have player that can start from any position? |
I see, thank you for checking. I need to investigate, I could play my files well, but they weren't very big. |
I was about to open a case myself as I seem to have the same issue. Loglevel trace does not reveal any additional details:
Also the dev cnsole does not bring up anything meaningful or error. @albertbern Can you maybe check and see, if 1.12.1 works for you? (you can use the same database as with 1.13.x - but have a backup) |
Thanks @kqfflo , this is always very helpful! |
Can confirm, 1.12.1 works. |
Use a fixed chunk-size in case the request specifies an open range which would mean to transport the entire file. In this case, the client gets some smaller chunk as it is already indicating to understand range responses. If a file is smaller than this chunksize, it will be a normal response. Fixes: #1328
Hi, I pushed a fix - it will be in the snapshot releases shortly. If you could perhaps test it and report back, that would be great! |
I can confirm that this fixed the issue. Using 1.14.SNAPSHOT now. |
Thank you @kqfflo for reporting back! I will make a bug-fix release soon. |
mp4 files are not playing in browser
ver 1.13.1
logs:
- - [19/Feb/2024:18:53:52 +0200] "GET /api/v2/open/share/AmWPnFULrUC-qG6bPXeV1jd-d4qyp6UhrnN-Xar5UudJ4kP/file/9bFpMzPmxG1-eiBsLa56wcE-KcbJMLPXdS2-44NhNjT52x6 HTTP/1.1" 206 135428 "XXXXXX/app/open/AmWPnFULrUC-qG6bPXeV1jd-d4qyp6UhrnN-Xar5UudJ4kP?view=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36"
The text was updated successfully, but these errors were encountered: