Studio

finish

("finish", () => void): this;

Emitted when the video has finished playing.

Returns

this

Handler Function

When the finish event is fired, attached handler functions are called with no parameters.

Example

myVideo.on("finish", videoFinished);

function videoFinished() {
    //code to run when the myVideo video is finished
}
Open in new window