This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.
MediaKeyMessageEvent constructor creates a new
MediaKeyMessageEvent object which creates a new instance of
var mediaKeyMessageEvent = new MediaKeyMessageEvent(typeArg, options)
DOMStringcontaining one of May be one of
- Options are as follows:
messageType: A developer-defined message type that allows applications to differentiate messages without parsing them.
message: An array containing the message generated by the content decryption module.
BCD tables only load in the browser