Type Number
Object Video
Library native.*
Revision Current Public Release (2018.3326)
Keywords time, video
See also native.newVideo()


The read-only length of the currently loaded video, in seconds.


This should be called after the video is ready to play, otherwise an inaccurate value might be returned. You can detect this via a video event where event.phase is equal to "ready".