Bug: Encrypted event missing event properties #914
Labels
bug
Something isn't working
Status: Unconfirmed
A potential issue that we haven't yet confirmed as a bug
Is there an existing issue for this?
Which Mux Elements/Packages does this apply to? Select all that apply
mux-video
Which browsers are you using?
Chrome, Safari, Safari on iOS
Which operating systems are you using?
macOS
Description
While implementing DRM, I needed to call the HTMLMediaElement: encrypted event; however, upon callback, the event is missing the
MediaEncryptedEvent.initDataType
andMediaEncryptedEvent.initData
event properties, which I need in order to finish the implementation. Can this be looked into? 🙏P.S. I can see that there is work being done on native DRM, that is awesome! However, for now I can do it myself, but not without the proper callback. Thanks!
Reduced test case
No response
Steps to reproduce
<mux-video>.addEventListener('encrypted', async (event) => await handleEncrypted(event, assetId));
Current Behavior
initDataType
andinitData
are not included in video->encrypted callbackExpected Behavior
initDataType
andinitData
should be included in the eventErrors
No response
What version of the package are you using?
v0.18.0
The text was updated successfully, but these errors were encountered: