SetLayerVolume(id, volume)
id
. If
the video layer is currently playing, the volume will be modified on-the-fly
which can be used for sound fades etc. The volume
argument can also be
a string containing a percent specification, e.g. "50%".
You need to enable layers before you can use this function. See Layers introduction for details.