-
-
Notifications
You must be signed in to change notification settings - Fork 198
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
Video files not playing on Safari and iOS devices #523
Comments
Is there a way to get a copy of those files? Did you check what media type Jooby gives you for each file? Thanks |
Thank you for your attention @jknack, Safari
Chrome
SO setting the correct MIME type is of course very needed here but I have already tested it to see if it was the reason that made Safari sad but NO LUCK that was not the issue, Video and audio files that been used is from W3schools some stranded media files: |
Don't see the correct mime type there, instead: Go to your
|
I was answering your question of
I also said:
I did the test again:
As I said this is not the issue here and but I notice odd beaver with Safari when requesting an audio file and it could be the reason that audio files is playable without the support of
What I understood is that Safari has a |
I have done more research about this mater and now I am confident that this issue is indeed Jooby lack of |
@jknack, did you mange to confirm this issue |
Yes, I was able to reproduce the issue going to implement byte-range and see if that helps (99% sure it will) |
Confirmed and byte range fix this problem. See #542 |
* single byte range support for inputstream and filechannel * Video files not playing on Safari and iOS devices fix #523
* single byte range support for inputstream and filechannel * Video files not playing on Safari and iOS devices fix #523
Hello Jooby Teem,
I am relay glad of what Jooby have become, it is on fire, anyway I have came across a daring challenge and I have been drained out thoughts, I don't know exactly where could the issues be, so I will try to mimic the problem as best as possible:
working directory structure:
Main.java
index.html
and of course to include the video and audio files NOW what is bugging me is that why all major browsers plays the video and audio files perfectly except for Safari on mac and iOS devises to play only audio files.
I don't think this is a file format issue I have uploaded the files on other servers and have not inconter any issue of this kind.
I searched more deep on this mater and found several issues withe Safari and one of these issues was Safari strict
byte-range
on media fileshttp://stackoverflow.com/questions/36579176/safari-9-mp4-video-issues
http://stackoverflow.com/questions/32996396/safari-9-0-can-not-play-mp4-video-on-the-storage-server
I made a small test responding to a
byte-range
request and it seems we manged to make a connection with Safari and it was Jooby lack ofbyte-range
responses.I hope this is clear for this issue.
Thanks
The text was updated successfully, but these errors were encountered: