Ok, so I noticed that somehow Safari (version 10.1.1 (12603.2.4), using the standard setting without additional changes or settings) sometimes refuses to play .mp4 files that Chrome (version 58.0.3029.110 (64-bit ), also a standard setting) seems to be no problem.
I found a problem since I am creating a macOS Cocoa application with Xcode that helps me view WayBack media files. This is a hobby project that will help me get better acquainted with the encoding in Swift. Since he refused to play many MP4 files, I decided to try these links in Safari and noticed that they did not work. Then, using Chrome, they all work.
My OS = macOS 10.12.5 (Sierra)
This video is such an example.
Does anyone know why the basic Safari setup apparently can't play mp4?
NB: Although I know that the MP4 file from the specified link (below) works in Safari, if I play it directly from the original source (so do not extract it from the WayBack server), I also need to understand why it refuses to play from this link and How to fix it.
Could this have anything to do with the link being an HTTPS link, or could it be a macOS problem? (Since I found that the AVPlayer of my macOS Cocoa App also refuses to play these videos).
I apologize for such a broad question. I searched the internet for similar posts to find out what the problem is. I found that there can be many different reasons why browsers may or may not play video.
The lack of deep knowledge does not allow me to figure out how to properly fix this problem. It also prevented me from finalizing the question more precisely.
source
share