csu*_*suo 6 javascript flash https google-chrome swfobject
我试图通过以下javascript代码将swf文件嵌入页面(谷歌应用引擎页面):
<script type="text/javascript">
//This example uses dynamic publishing with swfObject. Login is handled in the swf
//Note we are passing in attribute object with a 'name' property that is same value as the 'id'. This is REQUIRED for Chrome/Mozilla browsers
swfobject.embedSWF("loader.swf", "flashContent", "640", "480", "10.2", null, null, null, {name:"flashContent"});
//REST OF THE CODE
</script>
Run Code Online (Sandbox Code Playgroud)
它在HTTP上正常工作,但内容不适用于HTTPS.我已经google了很多,但我没有找到解决方案.我需要使用HTTPS for Secure Canvas URL来创建facebook应用程序.正如您在下面的评论中所看到的,https适用于Safari,但不适用于Chrome.
任何想法将不胜感激.