Set Audio Volume

To alter the audio volume use the function:
setPlayerVolume().

To mute set the player volume to '0':
setPlayerVolume(0). To maximize the player volume, set to '10'. The default player volume is '7'.



Try it out:
 setPlayerVolume(0)
 setPlayerVolume(2)
 setPlayerVolume(5)
 setPlayerVolume(7)
 setPlayerVolume(10)
Example : To alter the audio volume use the function: setPlayerVolume().