mp4 视频无法在 Safari 中加载(状态:待处理/类型:未定义)
<source src="../../_media/videos/Video.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' />
我想知道为什么该视频无法在 Safari 5 中加载 - Chrome / Firefox 运行良好。
WebSniffer 告诉我正确的类型,但在 safari 开发工具中我收到 Type=undefined。
有人知道吗?我还添加了一个 .htaccess 但不确定将其放置在哪里 - 根目录、媒体文件夹还是 html 文件夹?
如果有人能帮助我就好了
<source src="../../_media/videos/Video.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' />
I am wondering why this video is not loading in Safari 5 - Chrome / Firefox are working perfectly.
WebSniffer is telling me the correct type but in the safari dev tools i receive Type=undefined.
Does anyone have a clue? I also added a .htaccess but am not sure where exactly to place it - root, media folder or html folder?
Great if anyone could help me
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
昨晚发现这个问题。由于我在使用 https 和授权的测试环境中,Safari 无法加载视频。
所有其他浏览器都没有问题 - 但 Safari 确实有问题:)
Found the issue last night. Since I was on a testing environment using https and authorization Safari could not load the videos.
All other browsers did have no problem with it - Safari however does have issues with this:)