For a Video object named myVideo, use the following syntax:
var videoLength = myVideo.GetLength()
Note:In this example, the variable videoLength will contain the Return Value of the total length of the video myVideo in seconds.