How do I post an FYI I want to share some information about html5 video I discovered
This is not a question it is a solution. Before I could not get Firefox 14.0.1 to display .ogg videos even with the proper memi type set on the Apache Web Server 2.0
Here is the solution Do not put meta tag with Content-Type set to content="text/html" in the header for the web page
Here is my test page http://www.lclaasacramento.org/testVideo.php
How Do I do the same for webm videos?
Tất cả các câu trả lời (6)
Your web server appears to be sending a content-type of text/html for .php automatically, so I'm not sure why adding a meta tag would make any difference. ??? (Note that it's content-type in all lower case.)
Your web server also is sending audio/ogg as the content-type of omen.ogg. Perhaps the server is configured to send video/ogg only for .ogv?
gzip deflate compression is not the answer because the test video for the html5 video tag from the w3c web site played just fine in Firefox without gzip deflate compression being turned off.
Do you have a test page that has the meta tag for comparison?
The test page I have now has no meta tags at all. According to Firefox accepts gzip deflate compression by default. Therefore it is always on. If you look at this test page http://www.lclaasacramento.org/testVideo.php it works. The server has the correct memi type in the configuration file
Note that compression used on media files can cause problems if there is only part of the file in the cache.
If the file is fully loaded the this shouldn't be a problem.
If not then there may be confusion on how to interpret from which file range to start (byte count of the compressed file or the uncompressed file).