volume property
Gets or sets the volume level for audio portions of the media element.
![]() ![]() |
Syntax
| JavaScript | |
|---|
Property values
Type: Floating-point
The current playback volume as a number in the range of 0.0 to 1.0 (quietest to loudest).
Standards information
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.9.10
Remarks
Volume ranges do not need to be linear. When muted is applied, this property is ignored.
See also
Send comments about this topic to Microsoft
Build date: 11/27/2012

