![]() |
Lua Player Plus Vita
Documentation of lpp-vita
|
Public Member Functions | |
| void | init (void) |
| Init video sub-system. | |
| void | term (void) |
| Terminate video sub-system. | |
| void | open (string filename, bool loop) |
| Open an MP4 video file. | |
| void | close (void) |
| Close the current video playback. | |
| int | getOutput (void) |
| Get the current video frame as image. | |
| void | pause (void) |
| Pause current video playback. | |
| void | resume (void) |
| Resume current video playback. | |
| bool | isPlaying (void) |
| Get current playback state. | |
| void | setVolume (int volume) |
| Set internal volume for current video playback. | |
| int | getVolume (void) |
| Get internal volume for current video playback. | |
| number | getTime (void) |
| Get current time for current video playback. | |
| void | jumpToTime (number time) |
| Jump to a specific position for current video playback. | |
| void | setPlayMode (PlayMode mode) |
| Set play mode for current video playback. | |
| void | openSubs (string fname) |
| Open a subtitles file for current video playback. | |
| void | closeSubs () |
| Close currently opened subtitles file. | |
| string | getSubs (void) |
| Get current available subtitles for the video playback. | |