onProgress( )


Adds an event handler that runs when playback progresses.

A video continually progresses as the video plays.

Method Declaration
Copy
Method Parameters
handlerfunctionRequired

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

Returns
Return Type:VideoPlayer
Did this help?