volume property
Gets or sets the volume level for audio portions of the media element.
![]() ![]() |
Syntax
object.get_volume(* fVolume);
Property values
Type: float
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 IHTMLMediaElement::muted is applied, this property is ignored.
Build date: 11/12/2012

