小编Mat*_*teh的帖子

在Chrome和IE上的Facebook Canvas应用程序中使用上传"Uncaught Call to StartUpload failed"

我已经在Facebook上的画布应用程序中实现了Uploadify jQuery插件的标准Flash版本.

上传在Firefox中完美运行.但是当我尝试在Chrome或IE中启动上传时,它会在控制台中显示此消息:

Uncaught Call to StartUpload failed

对于那些不熟悉Facebook画布应用程序的人来说,它是在Facebook的iframe中运行的PHP页面,可能会导致这个问题 - 尽管它在框架外运行时也不起作用.


我也在Chrome控制台中收到这些错误:

Unsafe JavaScript attempt to access frame with URL https://apps.facebook.com/[app name]/[page name]/ from frame with URL https://[app domain]/[page path]. The frame being accessed set 'document.domain' to 'facebook.com', but the frame requesting access did not. Both must set 'document.domain' to the same value to allow access.


有什么想法可能会发生什么?我已经尝试为Flash 设置crossdomain.xml但没有成功.

javascript flash jquery facebook uploadify

15
推荐指数
1
解决办法
2488
查看次数

标签 统计

facebook ×1

flash ×1

javascript ×1

jquery ×1

uploadify ×1