搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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