Closed Bug 497666 Opened 15 years ago Closed 13 years ago

firefox thinks standalone ogg audio file is video file

Categories

(Core :: Audio/Video, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 557278

People

(Reporter: asa, Unassigned)

Details

(Whiteboard: [MocoTestday])

Apparently Firefox creates a <video> tag internally to load up an unknown stand alone ogg file and if that file turns out to be audio rather than video, we retain the video context menu and download/save options. We should be able to learn after the load and adjust the context menu I think.
Sorry, here are test steps Click this link http://upload.wikimedia.org/wikipedia/commons/7/7b/Ochi_chernie.ogg This will load up the ogg audio file in a video player in Firefox. Context click on the file and witness all the video options.
Whiteboard: [MocoTestday]
We would have to be able to adjust on playback too. When we support chained oggs the codecs in the file can change on the fly.
The media controls already have a hack to try and handle this bug (see isAudioOnly), so the context menu could do the same thing. Basically, treat a <video> as <audio> if .videoWidth or .videoHeight == 0. We could maybe only do that when viewing an OGG directly, bug 462892 would be useful for that. Chained OGGs are going to be a pain for this stuff, I think. :(
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.