Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

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

  • 6 件の返信
  • 22 人がこの問題に困っています
  • 1 回表示
  • 最後の返信者: 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