forked from ticketscad/TicketsCAD-Stable-Releases
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaudio.php
68 lines (63 loc) · 3.11 KB
/
audio.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>Sounds</TITLE>
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<META HTTP-EQUIV="Expires" CONTENT="0">
<META HTTP-EQUIV="Cache-Control" CONTENT="NO-CACHE">
<META HTTP-EQUIV="Pragma" CONTENT="NO-CACHE">
<META HTTP-EQUIV="Content-Script-Type" CONTENT="text/javascript">
<STYLE>
BODY { BACKGROUND-COLOR: #EFEFEF; MARGIN:12PX; FONT-WEIGHT: normal; FONT-SIZE: 12px; COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-DECORATION: none; line-height:125% }
h2 {FONT-SIZE: 16px; COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-DECORATION: none; }
h3 {MARGIN:12PX; FONT-SIZE: 12px; COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-DECORATION: none; }
div {MARGIN:12PX; TEXT-DECORATION: underline; }
</STYLE>
<SCRIPT>
function playit(n) { // 6/12/10
try {document.getElementsByTagName('audio')[n].play();}
catch (e) {alert('Not supported');} // ignore
} // end function playit()
</SCRIPT>
</HEAD>
<BODY>
<audio src="./sounds/aooga.wav" preload></audio>
<audio src="./sounds/applause.wav" preload></audio>
<audio src="./sounds/divalarm.wav" preload></audio>
<audio src="./sounds/door-squeak-1.wav" preload></audio>
<audio src="./sounds/flushtoilet.wav" preload></audio>
<audio src="./sounds/sonar.wav" preload></audio>
<audio src="./sounds/taps.wav" preload></audio>
<audio src="./sounds/phonesring.mp3" preload></audio>
<audio src="./sounds/4bells.mp3" preload></audio>
<audio src="./sounds/bass_1.mp3" preload></audio>
<audio src="./sounds/firetrucksiren.mp3" preload></audio>
<audio src="./sounds/missle.mp3" preload></audio>
<audio src="./sounds/shockperson.mp3" preload></audio>
<audio src="./sounds/weatherwarning.mp3" preload></audio>
<audio src="./sounds/whistlewolf.mp3" preload></audio>
<h2>Available Sound Effects For Notification - <u>click below to try</u></h2>
<h3>wav format sound files (Firefox 3.5+ and Safari 5.0+ )</h3>
<DIV onClick = 'playit(0);'>Aooga (aooga.wav)</DIV>
<DIV onClick = 'playit(1);'>Applause (applause.wav)</DIV>
<DIV onClick = 'playit(2);'>Dive alarm (divalarm.wav)</DIV>
<DIV onClick = 'playit(3);'>Door squeak (door-squeak-1.wav)</DIV>
<DIV onClick = 'playit(4);'>Flush toilet (flushtoilet.wav)</DIV>
<DIV onClick = 'playit(5);'>Sonar (sonar.wav)</DIV>
<DIV onClick = 'playit(6);'>Taps (taps.wav)</DIV>
<br><br><h3>mp3 format sound files (Chrome 5.0+ and Safari 5.0+ )</h3>
<DIV onClick = 'playit(7);'>Phone ring (phonesring.mp3)</DIV>
<!-- <DIV onClick = 'playit(8);'>4bells.wav (4bells.wav)</DIV>
<DIV onClick = 'playit(9);'>bass_1.mid ()</DIV> -->
<DIV onClick = 'playit(10);'>Fire truck siren (firetrucksiren.mp3)</DIV>
<DIV onClick = 'playit(11);'>Missile (missle.mp3)</DIV>
<DIV onClick = 'playit(12);'>Electric shock (shockperson.mp3)</DIV>
<DIV onClick = 'playit(13);'>Weather warning (weatherwarning.mp3)</DIV>
<DIV onClick = 'playit(14);'>Wolf whistle (whistlewolf.mp3)</DIV>
<BR />
<SPAN onClick = 'window.close()'><u>Finished</u></SPAN>
</BODY>
</HTML>