This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

controls

Summary

Controls attribute used within a Audio element or Video element displays the default media controls defined by the web browser being used to open HTML document or view of a Web Application.

Property of dom/HTMLMediaElementdom/HTMLMediaElement

Syntax

var result = element.controls;
element.controls = value;

Notes

Remarks

The presence of the controls attribute, regardless of assigned value, in either the audio or video element equals true (for example, <audio controls=""> is true).

Syntax

Standards information

See also

Related pages

  • mediamedia
  • audio
  • audio
  • video element
  • video object

Attributions