setMediaKeys method
The setMediaKeys()
method of the HTMLMediaElement interface sets
the MediaKeys that will be used to decrypt media during playback.
It returns a Promise
that fulfils if the new keys are successfully set,
or rejects if keys cannot be set.
Implementation
external JSPromise<JSAny?> setMediaKeys(MediaKeys? mediaKeys);