load method

Loads the data stored for the specified session.

Syntax

var retVal = MediaKeySession.load(sessionId);

Parameters

sessionId

Type: DOMString

The sessionId of the session to load

Return value

Type: Promise<boolean>

Returns a promise that indicates whether the load succeeded or failed.

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

MediaKeySession

 

 

Show: