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
Video.GetState
OverviewExamples
number Video.GetState ( string ObjectName )
De s cr ip t ion
Returns the current state of a video object.
P arame t er s
ObjectName
(string) The name of the video object.
Re t u r n s
(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.