createMediaKeys method

Creates a new MediaKeys object for keySystem.

Syntax

var mediaKeys = MediaKeySystemAccess.createMediaKeys();

Parameters

This method has no parameters.

Return value

Type: Promise<MediaKeys>

A promise of MediaKeys objects

Standards information

Remarks

As of Microsoft Edge, this method is supported. For more information on EME implementation updates in Microsoft Edge, see Encrypted Media Extensions updates.

See also

MediaKeySystemAccess

 

 

Show: