Type Number Object Video Library native.* Revision Release 2022.3683 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"
.