RetroZilla/webshell/tests/viewer/samples/beeptest.html
2015-10-20 23:03:22 -04:00

19 lines
368 B
HTML

<html>
<head>
<title>Sound Service Beep Example</title>
</head>
<body>
<script>
var sample = Components.classes["@mozilla.org/sound;1"].createInstance();
sample = sample.QueryInterface(Components.interfaces.nsISound);
dump("sample = " + sample + "\n");
</script>
<form name="form">
<input type="button" value="Beep" onclick="sample.Beep();">
<form>
</body>
</html>