new Entitlement( [options])
Entitlement Base Class
Parameters:
| Name | Type | Argument | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
<optional> |
Object of option names and values Properties
|
Members
-
baseUrl
-
Returns baseUris from MDN request router
-
edrmConfig
-
Returns an EDRM configuration object as provided by EMP Exposure API
-
live
-
Returns true if that Entitlement represents a live stream
-
mediaLocator
-
- See:
-
- src
-
playToken
-
Returns a play token string to be used to authenticate the DRM license requests
-
src
-
Returns the stream locator to be used by the underlying playback technology
EMP Html5 Player