https 页面上的非安全视频
好的,我已经为使用 https 协议的客户创建了一个网页,但想要从非安全源(不幸的是,不是 YouTube)流式传输视频。最好的情况:我正在寻找一种流式传输视频的方法,而不会收到混合内容的安全警告(尤其是任何 IE 中的问题)。我意识到这可能是不可能的,所以我的第二个问题是,如果用户决定不查看非安全内容,如何将某种占位符放入页面中。这样我的布局就不会被完全破坏。但显然,最好不要引发任何安全问题。我们尝试流式传输的视频是通过以下代码访问的(由客户端提供用于嵌入),如果这有帮助的话。任何帮助表示赞赏!
<script src="http://video.bigthink.com/player.js?height=183&autoplay=0&width=325&deepLinkEmbedCode=Y5M3U4MTq4-WJs8Wn0bLOXi0AeGcxHf4&embedCode=Y5M3U4MTq4-WJs8Wn0bLOXi0AeGcxHf4"></script>
Okay, so I have created a webpage for a client who is using https protocol, but wants to stream video from a non-secured source (not YouTube, unfortunately). Best case scenario: I'd be looking for a way to stream the video without getting security warnings for mixed content (especially a problem in any IE). I realize this may be impossible, so my secondary question would be how to put some sort of placeholder into the page if the user decides not to view the non-secure content. This way my layout is not totally butchered. Obviously though, it would be best not to trip any security issues. The video we are trying to stream is accessed via the below code (given by client for embedding), if that helps anything. Any help is appreciated!
<script src="http://video.bigthink.com/player.js?height=183&autoplay=0&width=325&deepLinkEmbedCode=Y5M3U4MTq4-WJs8Wn0bLOXi0AeGcxHf4&embedCode=Y5M3U4MTq4-WJs8Wn0bLOXi0AeGcxHf4"></script>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
通常你只需要将 src 从 http 更改为 https,不幸的是这些视频网站不考虑安全性并且拒绝支付 30 美元购买证书。我认为最好的办法是将该特定页面设置为非 https 或使用 iframe。
Usually you just have to change the src from http to https, unfortunately these video sites are not thinking about secuirty and refuse to pay $30 for a certificate. I think your best bet it to make that specific page non-https or use an iframe.