YouTip LogoYouTip

Met Audio Pause

# Audio pause() Method [![Image 8: Audio Object Reference](#) Audio Object](#) ## Example An audio clip with play and pause buttons: var x = document.getElementById("myAudio"); function playAudio() { x.play(); } function pauseAudio() { x.pause(); } [Try it yourself Β»](#) * * * ## Definition and Usage The pause() method stops (pauses) the currently playing audio or video. **Tip:** This method is often used together with the [play()](#) method. **Tip:** Use the (#) attribute to display audio controls (like play, pause, seeking, volume, etc. on the audio). * * * ## Browser Support ![Image 9: Internet Explorer](#)![Image 10: Firefox](#)![Image 11: Opera](#)![Image 12: Google Chrome](#)![Image 13: Safari](#) The pause() method is supported by all major browsers. **Note:** Internet Explorer 8 or earlier versions do not support this method. * * * ## Syntax _audioObject_.pause() ## Parameters None ## Return Value No return value * * Audio Object](#)
← Dom Obj AudioMet Audio Play β†’