Constructor
new MediaKeys(keySystem)
Parameters:
Name | Type | Description |
---|---|---|
keySystem |
string |
- Implements:
- MediaKeys
- Source:
Members
eventManager_ :shaka.util.EventManager
Type:
nativeMediaKeys_ :WebKitMediaKeys
Type:
- WebKitMediaKeys
Methods
createSession()
getStatusForPolicy()
setMedia(media) → {Promise}
Parameters:
Name | Type | Description |
---|---|---|
media |
HTMLMediaElement |
Returns:
- Type
- Promise