stop( )


Pauses playback.

The stop() function stops the current playback, moves to the beginning of the video, and fires a pause event.

The pause event handlers set on the video player by the onPause( ) function or in the Editor are called.

Note: The stop() function does not work when a video player is presenting a video from Dailymotion, Facebook, or Twitch.

Method Declaration
Copy
Request
This method does not take any parameters
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?