object:seek()

Type Function
Object Video
Library native.*
Return value none
Revision Release 2024.3703
Keywords seek, video, video view, video overlay
See also native.newVideo()

Overview

Seeks and jumps to the specified time in the currently loaded video. Use this in conjunction with native.newVideo().

Syntax

object:seek( timeInSeconds )
timeInSeconds (required)

Number. Jumps to specified time in currently loaded video. Ensure that this is not greater than the object.totalTime property.