Toggles playback.
This method either pauses or plays the current video based on its current state:
play event is fired. The
play event handlers set on the video player by the onPlay
function or in the Editor are called.pause event is fired. The
pause event handlers set on the video player by the onPause
function or in the Editor are called.