JavaScript API: volume

Changes the volume value

Function:

/**
 *To lower or raise the volume
 *
 *@param value float from 0.0 to 1.0
 */
function volume(value);

Example:

//Initialize the interface
player = new JarisFLVPlayer("Id_Of_Player_Object");

//Start playing the video
player.play();

//Lower the volume by half
player.volume(0.5);
Fork me on GitHub