An audio player with play and pause buttons:
The pause() method halts (pauses) the currently playing audio.
Tip: This method is often used together with the play() method.
Tip: Use the controls property to display audio controls (like play, pause, seeking, volume, etc, attached on the audio).
The pause() method is supported in all major browsers.
Note: This method is not supported in Internet Explorer 8 and earlier.
None |
No return value |