Closed Bug 555671 Opened 15 years ago Closed 15 years ago

video plays with ogg extension, but fails with ogv

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: daniel.g.pettersson, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; sv-SE; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2 (.NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; sv-SE; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2 (.NET CLR 3.5.30729) When trying to play a video with the html5 video tag the extension for a theora/vorbis file needs to be ogg, when file is renamed to .ogv, play fails and error code is MEDIA_ERR_SRC_NOT_SUPPORTED. Actually the ogv file did play if it was served from localhost or within my Intranet. When I served the video from a external server the problem occurred. Reproducible: Sometimes Steps to Reproduce: 1.Serve a theora/vorbis video with file extension ogv from a remote/slow web server. 2. Try to view video in browser Actual Results: MEDIA_ERR_SRC_NOT_SUPPORTED is error code from video tag Expected Results: Video plays
(In reply to comment #0) > When I served the video from a external server the problem occurred. Can you please use the Live HTTP Headers extension to let us know what Content-Encoding: is given by the external server? https://addons.mozilla.org/en-US/firefox/addon/3829
Oops, I meant Content-type, but both would be good.
Ok, I can try the Live HTTP Headers extension. But also I have example where it does not work: http://uglyhack.appspot.com/videofx/index2.html And where it works: http://uglyhack.myartsonline.com/videofx/index2.html
I got these request/response headers: http://uglyhack.appspot.com/videofx/video.ogv GET /videofx/video.ogv HTTP/1.1 Host: uglyhack.appspot.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; sv-SE; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2 (.NET CLR 3.5.30729) Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: sv-se,sv;q=0.8,en-us;q=0.5,en;q=0.3 Accept-Encoding: gzip,deflate Accept-Charset: UTF-8,* Keep-Alive: 115 Proxy-Connection: keep-alive Range: bytes=0- Cookie: notified-SKBPolicy=1 HTTP/1.1 206 Partial content Content-Range: bytes 0-509196/509197 Content-Length: 509197 Etag: "2itNJQ" Date: Mon, 29 Mar 2010 09:36:44 GMT Expires: Mon, 29 Mar 2010 06:14:52 GMT Cache-Control: public, max-age=600 Content-Type: application/octet-stream Server: Google Frontend X-XSS-Protection: 0 Proxy-Connection: Keep-Alive Connection: Keep-Alive Age: 351
The Content-Type returned by the server needs to be video/ogg and not Content-Type: application/octet-stream. The problem is on the web server and not Firefox.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.