- Source
Methods
(static) ReportPlayback(stateopt) → {void}
Report playback to server
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
state | string | <optional> | "update" |
- Source
Returns:
- Type:
- void
(static) bufferCheck(msg) → {void}
Check the the buffering has not hung
Parameters:
Name | Type | Description |
---|---|---|
msg | dynamic |
- Source
Returns:
- Type:
- void
(static) checkTimeToDisplayNextEpisode() → {void}
Checks if we need to display the Next Episode button
- Source
Returns:
- Type:
- void
(static) hideNextEpisodeButton() → {void}
Runs hide Next Episode button animation and sets focus back to video
- Source
Returns:
- Type:
- void
(static) init() → {void}
- Source
Returns:
- Type:
- void
(static) loadCaption() → {void}
- Source
Returns:
- Type:
- void
(static) onAllowCaptionsChange() → {void}
- Source
Returns:
- Type:
- void
(static) onContentChange() → {void}
Event handler for when video content field changes
- Source
Returns:
- Type:
- void
(static) onKeyEvent(key, press) → {boolean}
Parameters:
Name | Type | Description |
---|---|---|
key | string | |
press | boolean |
- Source
Returns:
- Type:
- boolean
(static) onNextEpisodeDataLoaded() → {void}
- Source
Returns:
- Type:
- void
(static) onPositionChanged() → {void}
When Video Player state changes
- Source
Returns:
- Type:
- void
(static) onState(msg) → {void}
When Video Player state changes
Parameters:
Name | Type | Description |
---|---|---|
msg | dynamic |
- Source
Returns:
- Type:
- void
(static) showNextEpisodeButton() → {void}
Runs Next Episode button animation and sets focus to button
- Source
Returns:
- Type:
- void
(static) toggleCaption() → {void}
- Source
Returns:
- Type:
- void
(static) updateCaption() → {void}
- Source
Returns:
- Type:
- void
(static) updateCount() → {void}
Update count down text
- Source
Returns:
- Type:
- void