Difference between revisions of "Mediamanager:playVideo"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2016.1<br/>
'''<translate>Available since</translate>:''' Gideros 2016.1<br/>
+
'''Class:''' [[Media]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Media|Media]]<br/>
 
  
=== <translate>Description</translate> ===
+
=== Description ===
 
Plays video file in given path.
 
Plays video file in given path.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
mediamanager:playVideo(path, force)
 
mediamanager:playVideo(path, force)
</source>
+
</syntaxhighlight>
  
=== <translate>Parameters</translate> ===
+
=== Parameters ===
'''path''': (string) <translate>the path of the video to play</translate><br/>
+
'''path''': (string) the path of the video to play<br/>
'''force''': (bool) <translate>force to watch till the end, or quit playing on tap</translate>
+
'''force''': (bool) force to watch till the end, or quit playing on tap<br/>
  
 
{{Media}}
 
{{Media}}

Latest revision as of 14:30, 13 July 2023