Extends
Methods
getGapsJumped() → {number}
Get the number of playback gaps jumped by the GapJumpingController.
- Source:
Returns:
- Type
- number
getStallsDetected() → {number}
Get the number of playback stalls detected by the StallDetector.
- Source:
Returns:
- Type
- number
getTime() → {number}
Get the current playhead position. The position will be restricted to valid
time ranges.
- Source:
Returns:
- Type
- number
isBufferedToEnd() → {boolean}
Check if the player has buffered enough content to make it to the end of
the presentation.
- Source:
Returns:
- Type
- boolean
notifyOfBufferingChange()
Notify the playhead that the buffered ranges have changed.
- Source:
ready()
Called when the Player is ready to begin playback. Anything that depends
on setStartTime() should be done here, not in the constructor.
release()
Request that this object release all internal references.
- Inherited From:
- Source:
setStartTime(startTime)
Set the start time. If the content has already started playback, this will
be ignored.
Parameters:
Name | Type | Description |
---|---|---|
startTime |
number | Date |
- Source: