Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

How do I post an FYI I want to share some information about html5 video I discovered

  • 6 отговора
  • 1 има този проблем
  • 14 изгледи
  • Последен отговор от cor-el

more options

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?

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?

Всички отговори (6)

more options

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?

more options
more options

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.

more options

Do you have a test page that has the meta tag for comparison?

more options

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

more options

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).