Moai SDK
2.0
|
Class Methods | |
( | + init |
( | + play |
( | + pause |
( | + stop |
+ (int) _init | (lua_State *) |
Initialize the video player with the URL of a video to play.
function init ( string url )
string | url The URL of the video to play. |
+ (int) _pause | (lua_State *) |
Pause video playback.
function pause ()
+ (int) _play | (lua_State *) |
Play the video as soon as playback is ready.
function play ()
+ (int) _stop | (lua_State *) |
Stop video playback and reset the video player.
function stop ()