mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-14 03:30:17 +01:00
19 lines
368 B
HTML
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>
|