作者:郭建将_683 | 来源:互联网 | 2023-06-10 15:21
ImfacingtheproblemthatmyHTML5samplevideodoesntloadinSafari11onOSX,butworksperfec
I'm facing the problem that my HTML5 sample video doesn't load in Safari 11 on OSX, but works perfectly fine with Chrome and Firefox. Also, the video does not work on iOS in general (neither Safari nor Chrome).
我面临的问题是,我的HTML5示例视频在OSX上的Safari 11中没有加载,但是在Chrome和Firefox上运行得很好。此外,该视频在iOS中并不适用(无论是Safari还是Chrome)。
Here is the HTML:
HTML:
Yet, I don't think that the html is the problem, as I cannot even access the video on Safari with a direct link to the file. In case you want to try by yourself, here is the link: Placeholder video
但是,我不认为html是问题,因为我甚至不能访问Safari上的视频,直接链接到文件。如果你想自己尝试一下,这里有一个链接:占位符视频。
The app is programmed in Python 3 and Django 2. The video can neither be loaded by using the pythonanywhere page nor by my local Django development server.
该应用程序是用Python 3和Django 2编写的。该视频既不能通过使用pythonanywhere页面加载,也不能通过我的本地Django开发服务器加载。
I already searched Stack Overflow, but cannot not find a solution (e.g. question HTML5 Video tag not working in Safari , iPhone and iPad focuses much on the HTML and the video format, which I think are fine here).
我已经搜索了Stack Overflow,但是找不到一个解决方案(例如,HTML5视频标签在Safari、iPhone和iPad上都不太好用),我认为在这里可以很好地使用HTML和视频格式。
1 个解决方案