-
Notifications
You must be signed in to change notification settings - Fork 29
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
Not seekable audio files in Chrome - "Range"/"Partial Content" support should be added? #92
Comments
Hi @seabrus, I need more time to dig into that issue, but I think that adding the header won't be enough, I would maybe have to handle this case and return the byte range on server side. |
Hi @jalik, thanks for your efforts and support! |
@seabrus the |
@jalik thank a lot! It is a pleasure to work with you |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Working with audio files stored with the help of
UFS
andufs-gridfs
, I've found that in Chrome they are not seekable when playing them in the HTML5 audio player (tag<audio ...>
). However, in Firefox there is no such a problem.1️⃣ Googling the web, I found that it may be related to the ability of the server to correctly process
Range
header in the browser request - see here:and especially here - see subsection "Byte-Range Requests":
2️⃣ Valuable recommendations
are also given in Can't seek html5 video or audio in chrome and HTML5 video will not loop (GridFS):
and
(see more details at the links above)
3️⃣ Checking my Chrome console
I found that it contains
Range
request too:✅ Suggestion
I'm not sure but if
UFS
influences the server headers and server response when uploading a file from the GridFS, it could be nice to take into account the abovementioned recommendations and process theRange
requests from Chrome (and possibly from other browsers).Sorry if this suggestion has no relation to your package.
P.S.
I also understood that just the reason discussed above may be responsible for sudden stopping playing HTML5
<audio>
in Chrome (in some cases with the error messageFailed to load resource: net::ERR_CONTENT_LENGTH_MISMATCH
).The text was updated successfully, but these errors were encountered: