Constructor
new MediaKeys(keySystem)
An implementation of MediaKeys.
Parameters:
Name | Type | Description |
---|---|---|
keySystem |
string |
- Implements:
- MediaKeys
- Source:
Members
(private, non-null) eventManager_ :shaka.util.EventManager
Type:
(private, non-null) nativeMediaKeys_ :MSMediaKeys
Type:
- MSMediaKeys
Methods
createSession()
(protected) setMedia(media) → (non-null) {Promise}
Parameters:
Name | Type | Description |
---|---|---|
media |
HTMLMediaElement |
Returns:
- Type
- Promise