Video.GetCurrentPos

number Video.GetCurrentPos (

string ObjectName )

Description

Retrieves the current time position of a video in a video object, in seconds.

Parameters

ObjectName

(string) The video object to get the current time of.

Returns

(number) The current position of the video in seconds. If an error occurs, -1 is returned. You can use Application.GetLastError to determine whether this action failed, and why.

ResultVariable

When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.

See also: Related Actions