Safari中的密码保护目录中的HTML5视频 [英] HTML5 Video from a Password Protected directory in Safari

查看:126
本文介绍了Safari中的密码保护目录中的HTML5视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人有类似的问题,并找到了解决方案?

Has anyone had a similar problem, and have found a solution?

我有一个页面在密码保护的目录,我想显示视频,使用HTML5视频标记(包含video.js,视频标记正确,所有后备广告格式都包含在内,因此没有问题)。问题是,Safari似乎没有播放视频文件,当他们在同一PW保护目录,而所有其他浏览器。

I have a page in a password protected directory that I would like to show video on, using the HTML5 video tag (with video.js, video tag is correct, and all fallback formats are included so no issue there). The problem is that Safari does not seem to play the video files when they are in the same PW protected directory, while all other browsers do. As soon as I move the vid files are out of the PW protected directory it plays fine.

任何想法/解决方案?

推荐答案

我有一个非常相似的问题,并在这里找到一个答案:

I had a very similar problem and found an answer here:

https://discussions.apple.com/thread/2448777?start=0&tstart=0


您的问题是Safari,Quicktime X和
HTTP基本授权的身份验证错误。

Your problem is an authentication error with Safari, Quicktime X, and HTTP basic authorization. If you check the box to remember the password in keychain then the movie plays in Safari.

一旦我使用了Mac操作系统,您就可以在Safari中使用
keychain在Safari中记住密码,我的MP4视频开始在我的密码保护目录中播放!

Once I had Mac OS's keychain remember the password in Safari, my MP4 videos began playing in my password-protected directories!

这篇关于Safari中的密码保护目录中的HTML5视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆