Skip to content

API > VideoPlayer > seekCompleted


VideoPlayer.seekCompleted⚓︎

Read-Only

Read-only Property This property is Read-Only

Name Type
seekCompleted EventHandler

Event callback function requirement⚓︎

Info

This property is an event. It means that you need to add a listener function to it. Here how that function needs to look like.

function(VideoPlayer source);

Parameters⚓︎
Name Type Description
source VideoPlayer The Video Player

Usage⚓︎

--- @type 
local videoplayer;

--- callback function called when event triggers
--- @param videoplayer VideoPlayer
local function CallBack(videoplayer)
    -- code to handle event call back
end


-- Regsiter callback function
videoplayer.seekCompleted.Add(CallBack);

Description⚓︎

Invoke after a seek operation completes.

Extra Detail⚓︎

Seek operations are done by changing the time or timeFrames property. Seek duration may be noticeably long depending on the codec performance and the parameters chosen at encoding time.