2015-04-03 25 views
0

我想我遇到了幾個問題。我正嘗試使用their instructions here嵌入Facebook視頻。Facebook嵌入式視頻:錯誤的協議和過時的Flash播放器

在Chrome中工作正常。當我在Safari中嘗試了佔位符圖像將加載很好,但嘗試播放視頻時,它不停旋轉,我得到了一系列在我的控制檯這些錯誤的:

Blocked a frame with origin "https://www.facebook.com" from accessing a frame with origin "http://localhost:4000". The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "http". Protocols must match. 

很顯然,我沒有運行https在我的本地在這裏,我正在開發一個也是http的網站。

然後,我在Firefox上試了一下,接到一條警告,說「這個視頻無法在您過時的Adobe Flash播放器上播放」。當我安裝新版本的Adobe Flash時,它會同時在Safari和Firefox中播放。但是,我還是得到了「協議」控制檯錯誤在Safari,我也得到了以下控制檯錯誤在Firefox:

- This site makes use of a SHA-1 Certificate; it's recommended you use certificates with signature algorithms that use hash functions stronger than SHA-1. 
- Error: Permission denied to access property 'toString' 

幾個問題:

  1. 我怎樣才能擺脫控制檯錯誤?
  2. 可以做些什麼來告知Safari用戶過時的Flash播放器或不使用Flash? (我注意到它的工作原理上沒有閃光的iPhone有沒有辦法告訴Facebook的使用另一種視頻格式。?)

回答

0
  1. 警告

對於錯誤:權限被拒絕要訪問屬性'toString'警告,你可以忽略它,沒有什麼可以做到的。請仔細閱讀這個答案與有關它的更多細節: https://stackoverflow.com/a/13101119/2389083

對於SHA-1證書警告,這是一個Firefox的警告,請看看他們的博客文章,他們談論它: https://blog.mozilla.org/security/2014/09/23/phasing-out-certificates-with-sha-1-based-signature-algorithms/

  • 過時的Flash播放器
  • 每次打開使用的Adobe Flash Player網頁和插件檢測到您的版本是過時的時候,你應該有一個對話框來更新您的Flash版本提示。我認爲你不需要擔心這一點。

    相關問題