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
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.9.10
See also
Related pages
- mediamedia
audio
audio
video element
video object
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]