emp-hls.js
Classes
Methods
-
<inner> canHandleSource(source [, options])
-
canHandleSource
Parameters:
Name Type Argument Description source
Object Source for playback
options
Object <optional>
The key/value store of tech options.
Returns:
canHandleSource
- Type
- probably | maybe | *
-
<inner> canPlayType(type [, options])
-
Determine if we can play type
Parameters:
Name Type Argument Description type
string mime-type
options
Object <optional>
The key/value store of tech options.
Returns:
canPlayType
- Type
- probably | ''
-
<inner> handleSource(source, tech)
-
Handle source
Source handler for dash playback.
Parameters:
Name Type Description source
Object Source object for playback
tech
EmpHLS The instance of the EmpHLS tech
-
<inner> handleSource(source, tech)
-
Handle source
Parameters:
Name Type Description source
Object Source for playback
tech
Tech Tech object to use for playback
-
<inner> setCurrentTime(time)
-
Set current time
Parameters:
Name Type Description time
number Current time of video