Theora.new

From GiderosMobile
Revision as of 15:31, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: Gideros 2017.10
Class: Ogg

Description

Creates a new Theora source. <syntaxhighlight lang="lua"> (object) = Theora.new(file) </source>

Parameters

file: (string) path to the Theora file

Return values

Returns (object) the object to use as a source