Difference between revisions of "VideoStream:seek"

m (See Also)
m
 
(One intermediate revision by one other user not shown)
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.
+
Nothing.
  
 
== See Also ==
 
== See Also ==
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}}

Latest revision as of 23:52, 23 July 2023

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

Nothing.

See Also


Other Languages