             #request event handlers
             request.successCallback = (buffer) =>
                 @_buffer = buffer
-                if config.playOnLoad and Greenhorn.isRunning()
+                if Greenhorn.isRunning() and @_config.playOnLoad
                     @play()
             request.errorCallback = ->
                 throw new Error "AJAX request Error"

    @_playAll = ->
        for snd in _list
            if snd._config.playOnLoad
                snd.play()
            else
                snd.play {volume: 0}
                setTimeout snd.stop, 50
    @_stopAll = ->
        snd.stop() for snd in _list

        #web audio API is supported
        else
            #instance variables
            @_source = null
            @_buffer = null
            @_isEnded = true
            
            #request setup
