1 Replies - 4281 Views - Last Post: 05 August 2012 - 01:53 PM

#1 andre1011  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 87
  • Joined: 12-January 11

mime types for ogg video html5

Posted 31 July 2012 - 03:21 PM

Hello my name is Andre and I can not get Firefox 14.0.2 to play html5 video (.ogg file). I know this is a server issue because Firefox plays the .ogg file on the W3C website just fine. At the root of my web server (Linux) my .htaccess file has the following:
AddType video/ogg .ogm
AddType video/ogg .ogv
AddType video/ogg .ogg
AddType audio/ogg .oga
AddType video/mp4 .mp4

The .mp4 works fine in ie9 but what I am doing wrong for Firefox?
The webpage in question is at http://www.lclaasacr...g/testVideo.php

Is This A Good Question/Topic? 0
  • +

Replies To: mime types for ogg video html5

#2 andre1011  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 87
  • Joined: 12-January 11

Re: mime types for ogg video html5

Posted 05 August 2012 - 01:53 PM

I found the solution to my problem. As you have seen before the server is sending the correct memi type for ogg videos due to AddType video/ogg .ogg in the .htaccess file. The solution is to not include meta tag with
Content-Type set to content="text/html and you can see what I done here
http://www.lclaasacr...g/testVideo.php
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1