简体   繁体   English

如何通过HTTPS在Chrome上播放Brightcove视频

[英]How to get brightcove video playing for Chrome over https

We're using brightcove as 3rd party vendor to host videos. 我们正在使用Brightcove作为第三方供应商来托管视频。 For one of our applications we run our site over https and have started to develop to integrate linking to video via a dialog box from the main page. 对于我们的一个应用程序,我们通过https运行我们的站点,并已开始开发以通过主页上的对话框集成到视频的链接。 We tried an iframing the https video short url and then tried to put the html right on the dialog page jsp as advised in here: publishing video on https 我们尝试了一个iframing https视频短网址,然后尝试按照此处的建议将html正确地放在对话框页面jsp上: 在https上发布视频

Similar errors about insecure content get hit because it references http://link.brightcove.com/services/player/ ... etc. which is not available via https. 关于不安全内容的类似错误也受到了打击,因为它引用了http://link.brightcove.com/services/player/ ...等。

The support reference even indicates that Chrome and Flash do not support this. 支持参考甚至表明Chrome和Flash不支持此功能。 Has anyone run into this and what exactly is the workaround? 有没有人遇到这个问题,确切的解决方法是什么? Chrome's the preferred browser of choice, so advising to launch in another browser won't fly. Chrome是首选的浏览器,因此建议不要在其他浏览器中启动。

Are you sure that you are including correctly the library? 您确定要正确包含库吗? We did it successfuly, remember the very first thing to change is: 我们成功地做到了,记住要改变的第一件事是:

https :// sadmin https://管理员

... <script src="https://sadmin.brightcove .... >

not

... <script src="http://admin.brightcove .... >

We had to do it in a page which runs under https (facebook). 我们必须在https(facebook)下运行的页面中执行此操作。 You can check it here: https://www.facebook.com/LaVanguardia/app_128953167177144 您可以在这里检查: https : //www.facebook.com/LaVanguardia/app_128953167177144

This is our code: 这是我们的代码:

<!--
By use of this code snippet, I agree to the Brightcove Publisher T and C 
found at https://accounts.brightcove.com/en/terms-and-conditions/. 
-->

<script language="JavaScript" type="text/javascript" src="https://sadmin.brightcove.com/js/BrightcoveExperiences.js"></script>


<object id="myExperience" class="BrightcoveExperience">
  <param name="secureConnections" value="true" />
  <param name="bgcolor" value="#FFFFFF" />
  <param name="width" value="500" />
  <param name="height" value="900" />
  <param name="playerID" value="xxxxxxxx" />
  <param name="playerKey" value="xxxxxxxxxxxxxxxxxxxxxxxxx" />
  <param name="isVid" value="true" />
  <param name="isUI" value="true" />
  <param name="dynamicStreaming" value="true" />

</object>

However, a link to your code would be clearer. 但是,指向您的代码的链接会更清晰。

Regards, 问候,

Eduard Roura 爱德华·鲁拉

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM