如何阻止ustream的嵌入式视频播放器抛出https中的actionscript错误?
|
我正在开发一个应用程序,用于从ustream的分水岭流式传输实时视频。 (watershed.ustream.tv)
嵌入式播放器可以正常工作,直到我将其放到ssl后面为止。 Chrome显示ssl已损坏...但是不会抛出错误。 IE8没有显示任何错误,但是Firefox抛出了动作脚本错误:
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后面,而不会引发动作脚本错误...有什么想法吗?
没有找到相关结果
已邀请:
1 个回复
谷靛