new EmpHLS( [options] [, ready])
HTML5 HLS Media Controller - Wrapper for HTML5 Media API using MPEG playback
Parameters:
| Name | Type | Argument | Description |
|---|---|---|---|
options |
Object |
<optional> |
Object of option names and values |
ready |
function |
<optional> |
Ready callback function |
Extends
- videojs.Html5
Members
-
<static> entitlementPlayRequest
-
Return the object presentation of the play-request required for the entitlement engine
-
<static> nativeSourceHandler
-
Define source handler options.
These options check whether or not we can playback the source object.
Methods
-
<static> isSupported()
-
Is HLS supported?
Returns:
- Type
- boolean
-
canRestart()
-
Returns true if the playback can be restarted
-
onDurationUpdate()
-
Trigger durationchange event
-
stopTrackingDuration()
-
stop Tracking Duration
-
timeShiftEnabled()
-
Get timeShiftEnabled
Returns:
if timeShift is enabled
- Type
- Boolean
-
trackDuration()
-
Tracking Duration
EMP Html5 Player