Open Bug 1120764 Opened 9 years ago Updated 2 years ago

canPlayType returns the empty string for audio/vnd.wave; codec=0 and audio/vnd.wave; codec=1 (RFC 2361)

Categories

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

34 Branch
x86_64
Windows 8.1
defect

Tracking

()

UNCONFIRMED

People

(Reporter: bugzilla-2, Unassigned)

References

()

Details

Attachments

(1 file)

3.87 KB, application/xhtml+xml
Details
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0
Build ID: 20141126041045




Expected results:

(new Audio()).canPlayType("audio/vnd.wave; codec=0") (unknown codec) should return "maybe".
(new Audio()).canPlayType("audio/vnd.wave; codec=1") (PCM Wave) should return "probably".

(Mozilla doesn't seem to support codec=2 (ADPCM Wave), so that result is fine. I'm not sure about the other 11 codecs.)
Attached file Test Case
Component: DOM: Core & HTML → Video/Audio
Component: Audio/Video → Audio/Video: Playback
See Also: → 1555923
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: