Video volume Property
Description
The volume property sets or returns the audio volume of a video, from 0.0 (silent) to 1.0 (loudest).
Browser Support
Property | |||||
---|---|---|---|---|---|
volume | Yes | 9.0 | Yes | Yes | Yes |
Syntax
Return the volume property:
videoObject.volume
Set the volume property:
videoObject.volume = number
Property Values
Value | Description |
---|---|
number |
Specifies the audio volume of the video. Must be a number between 0.0 to 1.0 Example values:
|
Technical Details
Return Value: | A Number, representing the audio volume of the video |
---|---|
Default Value: | 1.0 |
❮ Video Object
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.