Safari中的密码保护目录中的HTML5视频

编程入门 行业动态 更新时间:2024-10-09 06:29:00
本文介绍了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:

discussions.apple/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视频

本文发布于:2023-11-01 01:09:27,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1547806.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:密码保护   目录中   视频   Safari

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!