HTMLMediaElement.paused

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

io error: No such file or directory (os error 2) (/home/runner/work/yari/yari/mdn/translated-content/files/es/web/api/html_dom_api/index.md)

La propiedad HTMLMediaElement.paused es solo de lectura, indica si el elemento multimedia está en pausa.

Sintaxis

var pausado = audioOVideo.paused

Valor

Es un Boolean. Mostrara true si está pausado y false en caso contrario.

Ejemplo

js
var obj = document.createElement("video");
console.log(obj.paused); // true

Especificaciones

Specification
HTML Standard
# dom-media-paused-dev

Compatibilidad con navegadores

BCD tables only load in the browser

Ver también