-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
"The media could not be loaded either because the server or network failed..." appears on all browsers on OS X #2945
Comments
I figured out that I used single quotes instead of double quotes in my source tag. |
@mutsdagit In examples that video.js has, the |
Thanks @CoWinkKeyDinkInc ! I'll try that one. |
No luck in safari, any other fix? |
I got the same problem......ahhh,,,,,,,how can I solve it ???????? |
A reproducible, minimal test case always helps. |
It's likely your webserver isn't configured to handle the video format in the way safari wants it. Have you tried serving it from a cdn? |
@kjkta what configuration of the server should be set to make safari happy? I run into the same issue . |
Having same issue. |
Same, also affecting the iOS devises. |
As @mister-ben said, we can't do anything to help you all without more information. You could be seeing this error for a staggering number of reasons, so "samesies" and "+1" simply does not help. For example, @S66D with the iOS problems could be delivering a h264 mp4 encoded using [email protected] and the file would probably play back fine in any browser or even an iPhone >6, but fail on every iPhone <=5. 99/100 times the answer to this question is, unfortunately, going to be something along the lines of "that source isn't going to work on that browser / device" or "re-encode the source file." :( |
hi, I have forgotten the details on that issue, but I finally solved it . Here is the post on it : mp4 not able to load in mobile browser | | |
| | Hope it helps
Having same issue.— |
Hmm, I got the same issue but in a Webview on Android when trying to exit fullscreen mode with the back button. It's funny that the video is still playing while the error text shows up. |
I also had this problem. The solution for me was to not open the html file with double click, but in a web server. |
@OrNot Can you please share the code or how did you resolve that issue I am facing the same issue. Your response would be appreciated. |
I'm facing the same issue with a local mp4 video with codec ADTS (merged TS in a mp4) |
Most browsers cannot play back ADTS audio, Your best bet is to re-encode to mp3 or aac audio. |
Its working! I´ve just change to double quotes and it works! Tks! |
The media could not be loaded, either because the server or network failed or because the format is not supported. sources: [{ ***************************************/
// destroy player on unmount // wrap the player in a div with a <video ref={node => (this.videoNode = node)} className='video-js' /> ) } }` |
I'm having same issue on mobile browsers. |
how to resolve it? |
anyone solved this? i also have this problem only on android device opening my website with chrome. |
I have the same problem. |
Hi, same. |
Hi, I also get this problem when I try to see something on gounlimited.to |
wtf can someone solve this shit |
As far as we know this is "solved". The issue is that there are a variety of reasons why this error can occur, though, generally, it is due to a badly formed stream. Most HLS and a variety of DASH streams play properly. mp4 is playback is also available via the browser. For those encountering this issue, please check out https://docs.videojs.com/tutorial-troubleshooting.html first. If you still see a problem, open a new issue with a live reduced test case, be sure to make the media available as that's the most important part in helping us be able to track down the issue. |
I've tried to load my HTML file on by locally hosting the files on mo computer by just doing a drag and drop on the tab thing view them. All browsers I've used, Chrome, Opera, Firefox and Safari give the error message, "The media could not be loaded either because the server or network failed or because the format is not supported". The loading circle also spins while this is happening. In Safari, the black background has this large grey gradient pattern on it for some reason. I have a
.mp4
file and a.webm
file.The text was updated successfully, but these errors were encountered: