X-Git-Url: http://105106.c2e0p.group/sound.git/blobdiff_plain/b742b684ca931de2f906a0c24ee773d7c7dfad0a..45b342640b26802ce9102a9e794a091f956c54a2:/sound.html
diff --git a/sound.html b/sound.html
index 82020e6..6f0a1f6 100644
--- a/sound.html
+++ b/sound.html
@@ -27,7 +27,7 @@
function onload() {
sound = new Sound();
sound.src = 'Coin.wav';
- sound.play();
+ sound.autoplay = true;
sound.addEventListener('ended', eventLogger);
sound.addEventListener('play', eventLogger);
sound.addEventListener('pause', eventLogger);
@@ -49,6 +49,7 @@
+