Moai SDK
2.0
|
Function List | |
init | |
play | |
pause | |
stop | |
|
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. |
|
Pause video playback.
function pause ()
|
Play the video as soon as playback is ready.
function play ()
|
Stop video playback and reset the video player.
function stop ()