JFVideo

Methods

(static) ReportPlayback(stateopt) → {void}

Report playback to server

Parameters:
Name Type Attributes Default Description
state string <optional>
"update"
Source:

(static) bufferCheck(msg) → {void}

Check the the buffering has not hung

Parameters:
Name Type Description
msg dynamic
Source:

(static) checkTimeToDisplayNextEpisode() → {void}

Checks if we need to display the Next Episode button

Source:

(static) hideNextEpisodeButton() → {void}

Runs hide Next Episode button animation and sets focus back to video

Source:

(static) init() → {void}

Source:

(static) loadCaption() → {void}

Source:

(static) onAllowCaptionsChange() → {void}

Source:

(static) onContentChange() → {void}

Event handler for when video content field changes

Source:

(static) onKeyEvent(key, press) → {boolean}

Parameters:
Name Type Description
key string
press boolean
Source:

(static) onNextEpisodeDataLoaded() → {void}

Source:

(static) onPositionChanged() → {void}

When Video Player state changes

Source:

(static) onState(msg) → {void}

When Video Player state changes

Parameters:
Name Type Description
msg dynamic
Source:

(static) showNextEpisodeButton() → {void}

Runs Next Episode button animation and sets focus to button

Source:

(static) toggleCaption() → {void}

Source:

(static) updateCaption() → {void}

Source:

(static) updateCount() → {void}

Update count down text

Source: