為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

FF wont play video in html5 page - Safari, Chrome and Opera do.

  • 6 回覆
  • 22 有這個問題
  • 7 次檢視
  • 最近回覆由 cor-el

more options

cant get FF to play the video whilst Safari, Chrome and Opera are OK My browser is 9.0.1 on OSX 10.5.8 on an intel mac pro

cant get FF to play the video whilst Safari, Chrome and Opera are OK My browser is 9.0.1 on OSX 10.5.8 on an intel mac pro

由 NoahSUMO 於 修改

被選擇的解決方法

Yes the file in now send as Content-Type: video/webm

從原來的回覆中察看解決方案 👍 0

所有回覆 (6)

more options
more options

That WEBM file is send as text/plain by the server: Content-Type: text/plain

You need to configure the server to send the file with a supported MIME type.

.htaccess:

AddType audio/ogg oga ogg
AddType video/ogg ogv

data:text/html,<object type="video/ogg" data="http://andrebenvenuti.info/videos/No1.webm" width="100%" height="100%"></object>
more options

Thanks for the advice. I contacted my service provider (Hostgator) and asked them to help me edit the .htaccess file (my business account does not allow me admin access) first they said FF does not support html5 - I countered this politely! Next they said that the file could (would?) not be modified as it is shared hosting. I replied that I thought it curious that they did not want their shared hosting clients to read html5 video, and that is where we are at the moment. I will push them a little harder.

more options
more options

Post scipt: after spending quite a lot of time being politely fobbed off by hostgator, suddenly the files started to work today and the site plays a .webm file from the video tag! All's well that ends well - I suppose my grumbling eventually reached someone with initiative/power! Thanks for your assistance in any case. One day I hope to be able to contribute in some way - just haven't found the subject yet.

more options

選擇的解決方法

Yes the file in now send as Content-Type: video/webm