通过 HTTPS 加载 SWF
我们目前正在尝试使用 https 将 swf 嵌入到我们的页面中。也就是说:
swfobject.embedSWF("https://our.c.d.n.com/path/to/the/swf/File.swf", "altContent", "760", "630", "10.0.0", "swf/expressInstall.swf", flashvars, params, attributes);
但是,当我们通过 https 执行此操作时,我们发现主 SWF 文件在加载其某些内容时遇到问题。我们怀疑这是包含 crossdomain.xml 文件的问题,但主目录中指向 CDN 的 crossdomain.xml 文件似乎没有被自动使用。是否涉及更多与 https 上的 swf 相关的过程?谢谢。
We are currently trying to embed a swf into our page using https. That is to say:
swfobject.embedSWF("https://our.c.d.n.com/path/to/the/swf/File.swf", "altContent", "760", "630", "10.0.0", "swf/expressInstall.swf", flashvars, params, attributes);
When we do this over https, however, we are finding that the main SWF file is having trouble loading some of its content. We are suspicious that it is a a matter of including a crossdomain.xml file but the crossdomain.xml file we have in our main directory that is pointing to our CDN does not seem to be automatically used. Is there more of a process involved as it pertains to swf over https? Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
解决了问题。问题是告诉 swf 在哪里查找的 xml 文件使用的是非 https url。
Solved the problem. The issue was that the xml file that was telling the swf where to look for was using a non https url.