FF wont play video in html5 page - Safari, Chrome and Opera do.
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
Izmjenjeno
Izabrano rješenje
Yes the file in now send as Content-Type: video/webm
Pročitajte ovaj odgovor sa objašnjenjem 👍 0All Replies (6)
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>
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.
Did you give them links to the articles that explains this issue?
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.
Odabrano rješenje
Yes the file in now send as Content-Type: video/webm