-
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
audio element not work on safari, Accept-ranges not include in response #142
Comments
Anyone else meet this problem? |
Hello @laobento. Support for this kind of HTTP request was asked and added by another contributor, I helped him but I am afraid I don't have time anymore, I would accept any working PR though. |
Not sure if it's related, but looks like a clue: |
@jalik Let me have a look, thank you! |
@jalik I capture the packet and found that the content not ok in the response with content-range. The first response should send a content of length 2, but it only has 1 byte of data. I guess the code 'store.getReadStream(fileId, file, options);' has something wrong, and finally I tried to modify the code in ufs-gridfs.s, the code is : it works! |
I am not sure is it the right way, because I am a newer to WEB, JS, METEOR..., I was a C/C++ programmer before. |
I am using HTML5 Audio element in my work and it works on ie, Firefox, chrome, but not on safari. I guess maybe the server's response does not include Accept-ranges field.
The text was updated successfully, but these errors were encountered: