MediaEncryptedEvent
open class MediaEncryptedEvent(val type: EventType<MediaEncryptedEvent>, init: MediaEncryptedEventInit = definedExternally) : Event(source)
The MediaEncryptedEvent
interface of the Encrypted Media Extensions API contains the information associated with an HTMLMediaElement/encrypted_event event sent to a HTMLMediaElement when some initialization data is encountered in the media.
Constructors
Link copied to clipboard
constructor(type: EventType<MediaEncryptedEvent>, init: MediaEncryptedEventInit = definedExternally)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The read-only initData
property of the MediaKeyMessageEvent returns the initialization data contained in this event, if any.
Link copied to clipboard
The read-only initDataType
property of the MediaKeyMessageEvent returns a case-sensitive string describing the type of the initialization data associated with this event.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard