Difference between revisions of "VideoStream:seek"

m (See Also)
m
Line 1: Line 1:
 
{{newin|[[0.10.0]]|100|type=function}}
 
{{newin|[[0.10.0]]|100|type=function}}
Seeks video stream.
+
Sets the current playback position of the Video.  
  
 
== Function ==
 
== Function ==
Line 8: Line 8:
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
{{param|number|offset|The offset to seek.}}
+
{{param|number|offset|The time in seconds since the beginning of the Video.}}
 
=== Returns ===
 
=== Returns ===
 
None.
 
None.
Line 17: Line 17:
 
* [[VideoStream:tell]]
 
* [[VideoStream:tell]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Seeks video stream.}}
+
{{#set:Description=Sets the current playback position of the Video. }}
  
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|VideoStream:seek}}
 
{{i18n|VideoStream:seek}}

Revision as of 10:32, 22 May 2020

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

Sets the current playback position of the Video.

Function

Synopsis

VideoStream:seek( offset )

Arguments

number offset
The time in seconds since the beginning of the Video.

Returns

None.

See Also


Other Languages