Methods
(static) CreateAudioPlayerView() → {void}
Play Audio
- Type:
- void
(static) CreateVideoPlayerView() → {void}
Play Video
- Type:
- void
(static) availSubtitleTrackIdx(tracknameToFind) → {integer}
Roku translates the info provided in subtitleTracks into availableSubtitleTracks Including ignoring tracks, if they are not understood, thus making indexing unpredictable. This function translates between our internel selected subtitle index and the corresponding index in availableSubtitleTracks.
| Name | Type | Description |
|---|---|---|
tracknameToFind | string |
- Type:
- integer
(static) onPlaybackInfoLoaded() → {void}
The playback info task has returned data
- Type:
- void
(static) onSelectAudioPressed() → {void}
onSelectAudioPressed: Display audio selection dialog
- Type:
- void
(static) onSelectPlaybackInfoPressed() → {void}
User requested playback info
- Type:
- void
(static) onSelectSubtitlePressed() → {void}
User requested subtitle selection popup
- Type:
- void
(static) onSelectVideoSourcePressed() → {void}
onSelectVideoSourcePressed: Display video source selection dialog
- Type:
- void
(static) onSelectionMade() → {void}
User has selected something from the radioDialog popup
- Type:
- void
(static) onStateChange() → {void}
Playback state change event handlers
- Type:
- void
(static) processAudioSelection() → {void}
processAudioSelection: Audio track selection handler
- Type:
- void
(static) processSubtitleSelection() → {void}
- Type:
- void
(static) processVideoSourceSelection() → {void}
processVideoSourceSelection: Video source selection handler Triggers video reload with the new MediaSource ID
- Type:
- void