Moai SDK  2.0
MOAIMoviePlayerIOS Class Reference
+ Inheritance diagram for MOAIMoviePlayerIOS:

Class Methods

(+ init
 
(+ play
 
(+ pause
 
(+ stop
 

Method Documentation

+ (int) _init (lua_State *) 

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


function init ( string url )

Parameters
stringurl The URL of the video to play.
Returns
nil
+ (int) _pause (lua_State *) 

Pause video playback.


function pause ()

Returns
nil
+ (int) _play (lua_State *) 

Play the video as soon as playback is ready.


function play ()

Returns
nil
+ (int) _stop (lua_State *) 

Stop video playback and reset the video player.


function stop ()

Returns
nil