2013-08-29 35 views
1

我正在嘗試將Flash遊戲添加到Facebook頁面。當我在我的服務器上測試它時,它適用於所有瀏覽器。但是在FF和Chrome上沒有在Facebook上出現Flash(IE,Opera,Safari工作正常)。Facebook上的Flash畫布:適用於IE,Opera,Safari,而不是FF,Chrome

<embed type="application/x-shockwave-flash" 
src="http://www.play-play.com.ua/games/doggy_shelter.swf" 
wmode="opaque" quality="high" allowscriptaccess="always" allowfullscreen="true"> 

感謝您的任何幫助。

回答

0

可能是安全。嘗試製作一切HTTPS(如果玩玩有證書)。我看到很多關於加載不安全內容的警告。 Chrome可能阻止了它。

https://www.play-play.com.ua/games/doggy_shelter.swf沒有可信安全證書。 因此,它被阻止。

You attempted to reach www.play-play.com.ua, but the server 
presented a certificate issued by an entity that is not trusted 
by your computer's operating system. This may mean that the server 
has generated its own security credentials, which Chrome cannot 
rely on for identity information, or an attacker may be trying 
to intercept your communications. 

我看到其他錯誤:

封閉起源 「https://pageflame.com」 框訪問與出身 「https://www.facebook.com」 的框架。被訪問的幀將「document.domain」設置爲「facebook.com」,但請求訪問的幀沒有。兩者都必須將「document.domain」設置爲相同的值以允許訪問。

未捕獲的類型錯誤:無法調用方法「setDefaults」未定義站點general.js的V = 1.0:72 [鎖定]在https://pageflame.com/view.php?id=194217470685302頁面從http://platform.twitter.com/widgets.js跑不安全的內容。

無法發佈消息到https://s-static.ak.facebook.com。收件人的來源爲https://www.facebook.com

+0

感謝您的諮詢。但問題是Flash對象的URL是動態添加的。所以我們可以同時擁有「http」和「https」網址。 – Webars

+0

您不能只添加HTTPS並將其捕獲。您的證書無效或自簽名。 – FlavorScape

+0

假設閃存位於https服務器上。在這種情況下會在Facebook上顯示嗎? – Webars

相關問題