Video.GetState

number Video.GetState ( 

string ObjectName )

Description

Returns the current state of a video object.

Parameters

ObjectName

(string) The name of the video object.

Returns

(number) The current state of the video object:

CONSTANT

VALUE

DESCRIPTION

VIDEO_STOPPED

0

Stopped.

VIDEO_PAUSED

1

Paused.

VIDEO_PLAYING

2

Playing.

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 action editor, you can use this field to specify a variable that the return value will be stored in.

Availability

Standard

Pro

See also:  Related Actions