HTML Audio/Video DOM Reference
Set video volume to 20%:
The volume property sets or returns the current volume of the audio/video.
![]()
The volume property is supported in all major browsers.
Note: This property is not supported in Internet Explorer 8 and earlier.
Set the volume property:
Return the volume property:
| Value | Description |
|---|---|
| volumevalue | Specifies the current volume of the audio/video. Must be a number
between 0.0 and 1.0. Example values:
|
| Return Value: | A Number, indicating the current volume |
|---|---|
| Default Value: | 1.0 |
HTML Audio/Video DOM Reference
Your message has been sent to W3Schools.