mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 17:47:16 +00:00
36 lines
No EOL
1.1 KiB
HTML
36 lines
No EOL
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
<title>Audio Abstraction</title>
|
|
</head>
|
|
|
|
<body>
|
|
<select id='sourceType'>
|
|
<option value='buffer'>Bufer</option>
|
|
<option value='element'>Element</option>
|
|
</select>
|
|
<button id='play'>Play</button>
|
|
<button id='pause'>Pause</button>
|
|
<button id='stop'>Stop</button>
|
|
<br />
|
|
<input type='file' id='eject' name='eject' />
|
|
<br />
|
|
<input id='url' name='url' value="../../mp3/llama-2.91.mp3" />
|
|
<button id='loadUrl'>Load URL</button>
|
|
<br />
|
|
<input type='range' id='position' min="0" max="100" />
|
|
<br /> Autoplay:
|
|
<input type='checkbox' id='autoplay' checked />
|
|
<br>
|
|
<textarea id='info' cols="50" rows="20"></textarea>
|
|
<script src="./emitter.js"></script>
|
|
<script src="./bufferSource.js"></script>
|
|
<script src="./elementSource.js"></script>
|
|
<script src="./app.js"></script>
|
|
</body>
|
|
|
|
</html> |