Skip to content

Commit 827e777

Browse files
committed
Implement ringing audio. Add other audio tags.
1 parent ff567fa commit 827e777

13 files changed

Lines changed: 35 additions & 1 deletion

File tree

‎examples/trivial/index.html‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,18 @@
66
<link href='https://fonts.googleapis.com/css?family=Muli:300,400' rel='stylesheet' type='text/css'>
77
</head>
88
<body style="height: 100%;">
9+
<audio id="ringbackAudio" loop>
10+
<source src="media/ringback.ogg" type="audio/ogg" />
11+
<source src="media/ringback.mp3" type="audio/mpeg" />
12+
</audio>
13+
<audio id="callendAudio">
14+
<source src="media/callend.ogg" type="audio/ogg" />
15+
<source src="media/callend.mp3" type="audio/mpeg" />
16+
</audio>
17+
<audio id="busyAudio">
18+
<source src="media/busy.ogg" type="audio/ogg" />
19+
<source src="media/busy.mp3" type="audio/mpeg" />
20+
</audio>
921
<section id="matrixchat" style="height: 100%;"></section>
1022
<script src="bundle.js"></script>
1123
<link rel="stylesheet" href="node_modules/matrix-react-sdk/bundle.css">

0 commit comments

Comments
 (0)