Difference between revisions of "Theora.new"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2017.10<br/> '''Class:''' Ogg<br/> === Description === Creates a new Theora source. <source lang="lua"> (object) = Theora.new(fil...")
 
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Creates a new Theora source.
 
Creates a new Theora source.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(object) = Theora.new(file)
 
(object) = Theora.new(file)
 
</source>
 
</source>

Revision as of 14:31, 13 July 2023

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