AutoPlay Media Studio 9

Video.GetLength

Video.GetLength

Previous topic Next topic  

Video.GetLength

Previous topic Next topic  

OverviewExamples

number Video.GetLength (

string ObjectName )

Description

Retrieves the length (in seconds) of the video file in a video object.

Parameters

ObjectName

(string) The name of the video object.

Returns

(number) The length 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


Learn More: Indigo Rose Software - AutoPlay Media Studio - Buy Now - Contact Us