Skip to content

Latest commit

 

History

History
88 lines (50 loc) · 2.71 KB

GuiTheoraCtrl.rst

File metadata and controls

88 lines (50 loc) · 2.71 KB

GuiTheoraCtrl

A control to playing Theora videos.

Inherit:

GuiControl

Description

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();

Methods

Fields