onProgress( )


Adds an event handler that runs when playback progresses.

An audio track continually progresses as the audio plays.

Method Declaration
Copy
Method Parameters
handlerfunctionRequired

handler(event: Event): void The name of the function or the function expression to run when the audio track progresses.

Returns
Return Type:AudioPlayer
Was this helpful?
Yes
No