Difference between revisions of "VideoStream:getFilename"

m
m (Function exists, but not documented. Please update it to reflect current usage.)
Line 1: Line 1:
 
{{newin|[[0.10.0]]|100|type=function}}
 
{{newin|[[0.10.0]]|100|type=function}}
Gets filename of video stream.
+
Gets whatever the video stream is playing.
  
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
filename = VideoStream:getFilename( )
+
playing = VideoStream:isPlaying( )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
{{param|string|filename|The filename of video stream}}
+
{{param|boolean|playing|Whatever video stream is playing.}}
  
 
== See Also ==
 
== See Also ==
 
* [[parent::VideoStream]]
 
* [[parent::VideoStream]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Gets filename of video stream.}}
+
{{#set:Description=Gets whatever the video stream is playing.}}
  
 
== Other Languages ==
 
== Other Languages ==
{{i18n|VideoStream:getFilename}}
+
{{i18n|VideoStream:isPlaying}}

Revision as of 10:23, 22 May 2020

Available since LÖVE 0.10.0
This function is not supported in earlier versions.

Gets whatever the video stream is playing.

Function

Synopsis

playing = VideoStream:isPlaying( )

Arguments

None.

Returns

boolean playing
Whatever video stream is playing.

See Also


Other Languages