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