Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

MediaCommand

payzer edited this page Feb 27, 2016 · 1 revision

An enumeration of commands like play, pause, etc.

Namespace: TVJS.MediaCommand
Type string

chapterSkipBack
Seeks to the previous chapter.

chapterSkipForward
Seeks to the next chapter marker.

closedCaptions
Invokes the closed captions menu.

fastForward
Increases the playback rate of the media.

goToLive
Navigates to the real-time position in live streamed media.

nextTrack
Plays the next track.

pause
Pauses the media.

play
Sets the playbackRate to the default playbackRate for the media and plays the media.

playFromBeginning
Seeks to the beginning of the timeline and starts playing.

previousTrack
Plays the previous track.

rewind
Decreases the playbackRate of the media.

seek
Navigates to the specified position in the media.

stop
Stops the media.

timeSkipBack
Moves the current timeline position backward by a short interval.

timeSkipForward
Moves the current timeline position forward short interval.

audioTracks
Invokes a menu that allows the viewer to select an audio track.

closedCaptions
Invokes a menu that allows the user to choose a closed captions setting.

playbackRate
Allows the viewer to select a playback rate for the media.

playbackRate
Allows the viewer to select a playback rate for the media.

mute
Toggles between no volume and volume.

volume
Shows UI that allows the viewer to adjust the volume.

zoom
Toggles the display mode between letterbox and native.