WebAudioPlayer.Duration

From Xojo Documentation

Property (As Double )
aWebAudioPlayer.Duration = newDoubleValue
or
DoubleValue = aWebAudioPlayer.Duration

New in 2020r1

Supported for all project types and targets.

The duration (in seconds) of time required to play the audio file.