The MediaEncryptedEvent interface of the Encrypted Media Extensions API contains the information associated with an encrypted event sent to a HTMLMediaElement when some initialization data is encountered in the media.
MediaEncryptedEvent()Creates a new instance of a MediaEncryptedEvent object.
This interface also inherits properties from its parent, Event.
MediaEncryptedEvent.initDataType Read onlyReturns a case-sensitive string with the type of the format of the initialization data found.
MediaEncryptedEvent.initData Read onlyReturns an ArrayBuffer containing the initialization data found. If there is no initialization data associated with the format, it returns null.
This interface doesn't provide any specific methods, but inherits methods from its parent, Event.