Closed Bug 494379 Opened 15 years ago Closed 9 years ago

add an error console message when we encounter an unsupported codec

Categories

(Core :: Audio/Video: Playback, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1188676

People

(Reporter: blizzard, Unassigned)

References

Details

Attachments

(1 file)

Related to bug #494035.  Would be nice to have an error message in the error console when we encounter a codec we don't know about.  Would help with debugging quite a bit.
Boriss and I talked some about having the error UI show a bit more information, see some notes in bug 481040 (before we scaled it back for 1.9.1). Maybe we should look again at having more detailed error messages for 1.9.2...
I just get a spinner on
http://www.marketwatch.com/video/asset/mozilla-ceo-on-h-p-shakeup-and-privacy-issues-2011-09-22/FF1370FD-3C64-4450-9B95-83226F8DE195#!FF1370FD-3C64-4450-9B95-83226F8DE195

In addition to showing an error message, we could offer to display the video using a helper app or plugin.  I was able to watch this video by selecting "Save Video As..." from the context menu and opening the file in VLC.
OS: Mac OS X → All
The error console now shows the unsupported codec:

HTTP "Content-Type" of "audio/aacp" is not supported. Load of media resource http://173.193.20.157:7050/; failed.

The frustrating part is that message is only in the console. The only thing the front end gets through the onerror is 4 (unsupported format) so nothing sensible can be shown to the user.

Is there any way to get more information when the error happens?
Bug 513405 made the (default) controls say "Video format or MIME type is not supported." (among other things). Is that not happening here?
Attached file audio.html
No, the audio player simply disappears.

This example is flawed because the format is AAC, but it still shows the problem.

When you click on AAC, the load fails and the player disappears. Click on MP3, it comes back.
(In reply to Justin Dolske [:Dolske] from comment #4)
> Bug 513405 made the (default) controls say "Video format or MIME type is not
> supported." (among other things). Is that not happening here?

Maybe the difference here is audio versus video?
Hmm, could be, I think for <audio> we only show the controlBar, and not the statusOverlay. Though I don't see offhand how we do that, so maybe I'm imaging that.
Component: Audio/Video → Audio/Video: Playback
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Why was this WONTFIXed?
Please see comment #9.
Flags: needinfo?(ajones)
You are right. This was wontfixed in error. We need to report more useful errors to the console.
Flags: needinfo?(ajones)
Resolution: WONTFIX → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: