Whatever message this page gives is out now! Go check it out!
ColdFusion.Mediaplayer.setVolume("name", "volume") |
Parameter | Description |
name | Specifies the value of the name attribute of the cfmediaplayer tag. |
volume | The value of the volume. It can take any value from 0.0 through 1.0. |
<h3>This is an example of the Mediaplayer.setvolume function. Clicking the Set Volume button increases the volume of the media player.</h3>
<script language="JavaScript" type="text/javascript">
function setVol() {
ColdFusion.Mediaplayer.setVolume('Myvideo', 1.0);
};
</script>
<br>
<form>
<input type="button" name="setVolume" value="Set Volume" onClick="setVol()">
</form>
<cfmediaplayer name="Myvideo" source="\xyz\video.flv"
width=500 height=400 align="middle"
quality="high" fullscreencontrol="true"/>