Search.../

volume

Sets or gets the video box volume.

Description

Setting the volume property sets the video box's percentage of total volume. Set the value to a number between 0 and 100.

Getting the volume property returns the video box's current percentage of total volume.

Type:

numberRead Only

Was this helpful?

Get a video box's volume

Copy Code
1let volume = $w("#myVideoBox").volume // 42
Set a video box's volume

Copy Code
1$w("#myVideoBox").volume = 42;