Closed Bug 1089885 Opened 10 years ago Closed 10 years ago

[EME] Indicate when media playback is not possible due to an unsupported CDM

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 37

People

(Reporter: kev, Unassigned)

References

Details

As a user, when I attempt to play back content protected by an unsupported Encrypted Media Extensions Content Decryption Module, I am presented with an indicator informing me that the content cannot be played back in Firefox as well as providing me with links to additional information so that I can learn why the content cannot be played back in Firefox, and if there are corrective steps that can be taken.
How does this work, technically? It's non-obvious to me how to determine this state from the https://w3c.github.io/encrypted-media/ spec. Does this need additional Gecko support? Seems like we would need the DOM media element to fire an error event with a new error code to indicate that we successfully loaded an encrypted media source, but couldn't get key material, and no other source was able to be used instead?
Flags: needinfo?(cpearce)
Gecko could check the "system id" that's embedded in the encryption data in the MP4 file (in the PSSH box) and if it's not for a keysystem that we recognize as for a known keysystem that we support, we could dispatch an event with a new error code (or an extra chrome only flag on the error maybe?) so that chrome JS can detect this condition.
Flags: needinfo?(cpearce)
Flags: firefox-backlog+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.