danielstern/ngAudio

Error `GET about:blank net::ERR_UNKNOWN_URL_SCHEME`

taktran opened this issue · 3 comments

Hi, I'm getting the error GET about:blank net::ERR_UNKNOWN_URL_SCHEME in an electron app, when I run the following

var audio = ngAudio.load(soundPath);
audio.stop();
// Error occurs

I'm using angular v1.2.25 and electron 0.35.6.

It seems related to #148 because if I revert 55539a4, then it works. What does audio.src = 'about:blank'; do?

Could be related to me using an outdated angular version.

I got same error, you can use $scope.sound.setProgress(1); to replace stop function

Hi,

I'm getting the same error. It would be nice to get it fixed in a next version.
I just add (see below) in order to reload it and it does fix all my issues.
l.350 audio.src = audio.src;

I think the about:blank does really make a mess on browser.

Thank for the plugin, nice job.

I believe this has been resolved in a previous patch, this could be a tagging issue. Can someone have a look and recommend a PR? @flatoures @keithsun80 Let me know, as I can give you moderator access