Unable to play mp4 with video tag in Safari 15
After updating to Safari 15, I can't play mp4 files provided with the video tag.
This is a video file created by PowerPoint.
Some of the files were playable.
After investigating the cause, I found out that playback fails when the file size exceeds about 200MB.
The same problem occurs on both macOS and iOS/iPadOS.
On macOS, I was able to play the video with other browsers (on iOS/iPadOS, all other browsers failed), so I asked the service provider to fix it, but in the end, they replied that it was a problem with Safari's specifications.
The following is what I found out during my research.
- The server needs to support byte-range requests -> (the server where the problem occurred) did support byte-range.
- Web inspector shows that the first request is "Range: bytes=0-1" and it gets 1 byte, but the next request is "Range: bytes=1-XXX" and it tries to get the whole file size (XXX) as 1Range, and it times out.
- I tried to turn off "GPU Process: Media" and "GPU Process: Video Capture" by referring to other questions related to "Can't play video", but it didn't have any effect.
I would be grateful for any solution or advice.