Difference between revisions of "VideoStream:seek"

(Function exists, but not documented. Please update it to reflect current usage.)
 
m
 
(2 intermediate revisions 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 ==
 
* [[parent::VideoStream]]
 
* [[parent::VideoStream]]
 +
* [[VideoStream:rewind]]
 +
* [[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