Safari mp4 download shows cannot play symbol






















This CURL test is probably the quickest way to check whether your server is correctly try handling the request. I tested your video on a localhost node. If you look at the web inspector in Safari you will see that the web request is not including some headers. This causes some servers problems and they do not respond the way Safari is expecting, or do not respond at all. You can see similar problems being discussed the second one is not your case I think but illustrates that the info included in the request sent to the server can cause the server to 'decide' not to respond as you want :.

Using wireshark to capture the request from Chrome, it can be seen to result in a response from the server with the video to be played while the request from Safari on the same machine results in no response from the server. The requests are generally similar and both do include the referrer header. The Safari browser is only asking for the first 2 bytes to be returned from the server initially - it does this by using the 'range' header, which is used to specify the bytes range that a file returns:.

However, using a HTTP tool e. Postman on Chrome and changing the range to does not seem to stop the server responding in the Chrome case. In fact using the tool to set, as far as possible, all the same headers as Safari sets seems still seems to return the video ok. The issue is that safari or iOs expects chunks. Meaning from a streaming server. If your video is from a blob or file server then safari will throw an error. To shed some more light on mp4s not playing in the video tag, I'd like to share my experience here.

I spent a good while troubleshooting an issue recently that was preventing mp4s from playing in Safari. As mentioned in one of the previous answers, Safari first sends a byte range request for a Video tag that expects a response. However, if you use a Service worker, the response returns with a and it appears Safari doesn't know how to handle this.

Our solution was to exclude using a Service Worker for Safari. We found this by using the network tab of the Safari debugger on a MacBook to troubleshoot the issue we were seeing on the iPad. The left tab shows what the call should look like by default. The right tab shows what you would see if using a Service Worker.

It's definitely NOT an ios version problem. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Attempting to play video on iOS 7 shows play button with line through Ask Question. Asked 7 years, 8 months ago. Active 5 years, 3 months ago. Viewed 64k times. Improve this question. Video from what website? I found an article online that says to add a.

Could this possibly work? Has anyone had a similar experience with Safari not playing. They play just fine in QT Player Thanks. More Less. Reply I have this question too 57 I have this question too Me too 57 Me too. All replies Drop Down menu. Loading page content.

I added a. This question is not solvable really, so I will close it. Reply Helpful Thread reply - more options Link to this Post. How can I make the video play in Safari when accessed over https?

Improve this question. Add a comment. Active Oldest Votes. Improve this answer. Community Bot 1 1 1 silver badge. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password.



0コメント

  • 1000 / 1000