Event "abort"

Test source

    var audio = this.audio;

    audio.addEventListener('abort', function() {
      finish(true); // WIN
    }, false);

    audio.addEventListener('loadstart', function() {
      audio.src = '';
      audio.load(); // Should trigger abort soon
    }, false);

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

Compatibility results are NOT shown in real-time


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

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