EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

MSMediaKeys object

Provides functionality for decrypting media data using a Digital Rights Management (DRM) key system.

Important  This object is not supported in Internet Explorer 11 on Windows 7.

IE11

 

Syntax


 keys = new MSMediaKeys(keySystem);  

DOM Information

Inheritance Hierarchy

The MSMediaKeys does not inherit from any class or interface.

Members

The MSMediaKeys object has these types of members:

Methods

The MSMediaKeys object has these methods.

MethodDescription
createSession

Initiates a new session with the key system.

isTypeSupported (MSMediaKeys)

Gets a value that indicates if the specified key system supports the specified media type.

 

Properties

The MSMediaKeys object has these properties.

PropertyAccess typeDescription

keySystem

Read-only

Gets the name of the key system used to decrypt the media data.

 

Remarks

MSMediaKeys is part of the World Wide Web Consortium (W3C) Encrypted Media Extensions (EME) which enables playback of protected content.

The MSMediaKeys object associated with a media element is specified by the msKeys attribute.

See also

msKeys

 

 

Afficher:
© 2014 Microsoft