Search...
pause( )
Pauses playback.
Description
The pause()
function pauses the current 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.
Authorization
Request
This endpoint does not take any parameters
Response Object
Fulfilled - When playback has been paused.
Returns an empty object.
Status/Error Codes
Was this helpful?
Pause playback
Copy Code
1$w("#myVideoPlayer").pause();
Pause playback and log a message when done
Copy Code
1$w("#myVideoPlayer").pause()2 .then( () => {3 console.log("Done with pause");4 } );