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".
© 2021 Solar2D All Rights Reserved.
Help us help you! If you notice a problem with this page, please report it.
Report an Issue