HTMLMediaElement: paused property

فهرست فصل‌ها دانلود آرشیوناشر

MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونه‌کد

{{APIRef("HTML DOM")}}

The read-only **HTMLMediaElement.paused** property tells whether the media element is paused.

Value

A boolean value. true is paused and false is not paused.

Examples

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

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • {{domxref("HTMLMediaElement")}}: Interface used to define the HTMLMediaElement.paused property