A control to playing Theora videos.
- Inherit:
GuiControl
This control can be used to play videos in the Theora video format. The videos may include audio in Vorbis format. The codecs for both formats are integrated with the engine and no codecs must be present on the user's machine.
Example:
%video = newGuiTheoraCtrl()
{
theoraFile = "videos/intro.ogv";
playOnWake = false;
stopOnSleep = true;
}
Canvas.setContent( %video );
%video.play();