DesktopMoviePlayer.Duration
From Xojo Documentation
Read-Only Property (As Double )
DoubleValue = aDesktopMoviePlayer.Duration
New in 2021r3
Supported for all project types and targets.
New in 2021r3
Supported for all project types and targets.
The duration (in seconds) of the currently playing media.
Notes
The movie must be playing for this property to hold a value. If no movie is playing, it is set equal to zero.
Example
This example gets the Duration of the movie.