Closed Bug 1685873 Opened 5 years ago Closed 5 years ago

Warning "Cannot play media. No decoders for requested formats:"

Categories

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

Firefox 84
defect

Tracking

()

RESOLVED DUPLICATE of bug 1674315

People

(Reporter: edson, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0

Steps to reproduce:

var objvideo;
if (objvideo = document.createElement('video')) {
try {
if (!objvideo.canPlayType('video/mp4')) {
}
}
catch (evt) {}
}

Actual results:

A warning: Cannot play media. No decoders for requested formats: video/mp4

Expected results:

Nothing. No warning should be sent if it's just a test with objvideo.canPlayType().

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core

Did I do something wrong?

Flags: needinfo?(bvandyk)

This sounds like bug 1674315, where we incorrectly reported warnings such as this. If you could test in the latest nightly this should be fixed.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Flags: needinfo?(bvandyk)
Resolution: --- → DUPLICATE

(In reply to Edson from comment #2)

Did I do something wrong?

In regards to comment 1? No, that's just a bot moving this to a component to try and get it to the right product and component (which it did). Following each bug will then get picked up during triage process for that component -- this bug jumped the queue a bit with the needinfo, but the outcome would have been similar.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: