搜索 | 用户支持

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

Learn More

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

  • 6 个回答
  • 1 人有此问题
  • 24 次查看
  • 最后回复者为 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).