Event "emptied"

Test source

    var audio = this.audio;

    audio.addEventListener('emptied', function() {
      finish(true);
    }, false);

    audio.addEventListener('play', function() {
      audio.src = AWPY.sound.short.stream_url();
      audio.load();
    }, false);

    audio.addEventListener('loadedmetadata', function() {
      audio.volume = 0;
      audio.play();
    }, false);

    audio.src = AWPY.sound.mini.stream_url();

Compatibility results are NOT shown in real-time

BrowserStatus

Copyright © 2011, SoundCloud Ltd., Tomás Senart, Yves Van Goethem

"Are We Playing Yet?" is distributed under the terms of the BSD License