Moai SDK SNAPSHOT (build 42)

MOAIMoviePlayerAndroid Class Reference

Wrapper for simple video playback. Exposed to lua via MOAIMoviePlayer on all mobile platforms.

Inherits MOAIGlobalClass< MOAIMoviePlayerAndroid, MOAILuaObject >.

List of all members.

Function List

 init
 play
 pause
 stop

Function Documentation

init

Initialize the video player with the URL of a video to play.


function init ( string url )

Parameters:
url( string ) The URL of the video to play.
Returns:
nil
pause

Pause video playback.


function pause ()

Returns:
nil
play

Play the video as soon as playback is ready.


function play ()

Returns:
nil
stop

Stop video playback and reset the video player.


function stop ()

Returns:
nil