forked from kolber/audiojs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test3.html
27 lines (26 loc) · 910 Bytes
/
test3.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Test 3 - audio.js</title>
<style>
p { clear: both; }
</style>
<script src="../audiojs/audio.js"></script>
<script>
audiojs.events.ready(function() {
audiojs.createAll();
});
</script>
</head>
<body>
<h1>audiojs.create(element, settings)</h1>
<p>preload="none"</p>
<audio src="https://raw.githubusercontent.com/kolber/audiojs/master/mp3/bensound-dubstep.mp3" preload="none"></audio>
<p>autoplay="autoplay"</p>
<audio src="https://raw.githubusercontent.com/kolber/audiojs/master/mp3/bensound-dubstep.mp3" autoplay></audio>
<p>loop="loop"</p>
<audio src="https://raw.githubusercontent.com/kolber/audiojs/master/mp3/bensound-dubstep.mp3" loop></audio>
<p><a href="http://www.bensound.com/royalty-free-music/track/dubstep">Royalty Free Music from Bensound</a></p>
</body>
</html>