YouTip LogoYouTip

Av Met Pause

## HTML Audio/Video DOM pause() Method The `pause()` method is a core part of the HTML5 Media API. It allows developers to programmatically pause the playback of currently playing audio or video elements. --- ## Definition and Usage The `pause()` method halts the playback of the current audio or video resource. * When `pause()` is called, the media's playback rate is set to 0, and the `paused` property of the media element is set to `true`. * To resume playback from where it was paused, you can call the `play()` method. --- ## Syntax ```javascript mediaElement.pause(); ``` ### Parameters This method does not accept any parameters. ### Return Value This method returns `undefined`. --- ## Browser Support | Element | Internet Explorer | Firefox | Opera | Google Chrome | Safari | | :--- | :--- | :--- | :--- | :--- | :--- | | `
← Av Prop AudiotracksAv Met Addtexttrack β†’