Constructor
new SrcEqualsPlayhead(mediaElementnon-null)
Parameters:
| Name | Type | Description | 
|---|---|---|
mediaElement | 
            
            HTMLMediaElement | 
- Implements:
 - Source:
 
Members
Methods
clampTime_(time) → {number}
Parameters:
| Name | Type | Description | 
|---|---|---|
time | 
            
            number | 
- Source:
 
Returns:
- Type
 - number
 
getGapsJumped() → {number}
    Get the number of playback gaps jumped by the GapJumpingController.
- Implements:
 - Source:
 
Returns:
- Type
 - number
 
getIsJumpingGap() → {boolean}
    Get whether the playhead is currently jumping a gap.
- Implements:
 - Source:
 
Returns:
- Type
 - boolean
 
getProgramStartTime_() → {number}
- Source:
 
Returns:
    program start time in seconds.
- Type
 - number
 
getStallsDetected() → {number}
    Get the number of playback stalls detected by the StallDetector.
- Implements:
 - Source:
 
Returns:
- Type
 - number
 
getTime() → {number}
    Get the current playhead position. The position will be restricted to valid
time ranges.
- Implements:
 - Source:
 
Returns:
- Type
 - number
 
isBufferedToEnd() → {boolean}
    Check if the player has buffered enough content to make it to the end of
the presentation.
- Implements:
 - Source:
 
Returns:
- Type
 - boolean
 
notifyOfBufferingChange()
    Notify the playhead that the buffered ranges have changed.
- Implements:
 - Source:
 
ready()
    Called when the Player is ready to begin playback. Anything that depends
on setStartTime() should be done here, not in the constructor.
- Implements:
 - Source:
 - See:
 
release()
    Request that this object release all internal references.
- Inherited From:
 - Implements:
 - 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 | 
- Implements:
 - Source: