For keyboard shortcut (doesn't work for mouse click), you can do the following:
Implement your own pause:
- capture the pre-pause state
- mute
- setPlaybackRate to the slowest possible (e.g. 0.25)
- seekTo the pre-pause state's time every 100ms
Implement your own play:
- revert back to the pre-pause state