如何阻止ustream的嵌入式视频播放器从https中抛出actionscript错误?

时间:2011-03-24 16:36:05

标签: actionscript video ssl https video-streaming

我正在开发一个应用程序,从ustream的分水岭传输实时视频。 (watershed.ustream.tv)

嵌入式播放器一直工作,直到我把它放在ssl后面。 Chrome将ssl显示为已损坏...但不会引发错误。 IE8没有显示任何错误,但是firefox引发了actionscript错误:

Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: http://cdn1.ustream.tv/swf/4/viewer.rsl.567.swf? cannot load data from https://sb.scorecardresearch.com/p?assorted-querystring-parameters-removed-for-SO-post
    at tv.ustream.viewer.logic.media::Recorded/comScoreBeacon()
    at tv.ustream.viewer.logic.media::Recorded/createConviva()
    at tv.ustream.viewer.logic.media::Channel/connect()
    at tv.ustream.viewer.logic.media::Channel/parseGwResponse()
    at tv.ustream.viewer.logic.media::Recorded/onGwResult()

我正在使用的嵌入代码来自ustream的分水岭...我只修改了with和height:

<object classid="clsid:000000000000000000000000" width="685" height="476" id="000000">
  <param name="flashvars" value="autoplay=false&brand=embed&cid=000000%2FXXXXchannelinfoXXXX&locale=en_US"/>
  <param name="allowfullscreen" value="true"/>
  <param name="allowscriptaccess" value="always"/>
  <param name="movie" value="http://www.ustream.tv/flash/live/0000/XXXXchannelinfoXXXX"/>
  <embed 
    flashvars="autoplay=false&brand=embed&cid=000%2FXXXXchannelinfoXXXX&locale=en_US" 
    width="685" 
    height="476" 
    allowfullscreen="true" 
    allowscriptaccess="always" 
    id="0000000000" 
    name="0000000000" 
    src="http://www.ustream.tv/flash/live/000/XXXXchannelinfoXXXX" type="application/x-shockwave-flash"/>
</object>

所以我需要弄清楚如何将它嵌入到ssl后面而不会抛出actionscript错误......任何想法?

1 个答案:

答案 0 :(得分:1)

简短的回答是;你不能。

经过多天对他们的玩家进行一系列的讨论,浏览他们的文档,在论坛上发帖,研究动作脚本,下载他们的样本文件并修补它们,ustream上的分水岭从后面服务时总是容易受到影响一个ssl。

有关详细信息,请参阅此帖子:When a page delivers secure and non-secure items over https, are the secure items compromised?