tinyembed.html 835 B

123456789101112131415161718
  1. <html>
  2. <head>
  3. <title>WavPlayer - flash wav/au player for arbitrary samplerate and PCM/G711 codecs</title>
  4. <script src="embed/domready.js"></script>
  5. <script src="embed/swfobject.js"></script>
  6. <script src="embed/tinywav.js"></script>
  7. </head>
  8. <body bgcolor="#dddddd">
  9. <button onclick="try{window.TinyWav.Enqueue(['test.WAV', 'test.gsm']);}catch(E){alert(E)}">Put test.WAV and test.gsm in list</button><br/>
  10. <button onclick="try{window.TinyWav.Play(['test.WAV'])}catch(E){alert(E)}">Play test.WAV in order</button><br/>
  11. <button onclick="try{window.TinyWav.Play('test.gsm')}catch(E){alert(E)}">Play test.gsm right now</button><br/>
  12. <button onclick="try{window.TinyWav.Pause()}catch(E){alert(E)}">Pause playback</button><br/>
  13. <button onclick="try{window.TinyWav.Resume()}catch(E){alert(E)}">Continue playback</button></br>
  14. </body>
  15. </html>