Open Fragilem17 opened 5 years ago
found a fix... if i load my mp3 file as a data url it works. I'm guessing the ajax load fails (as do some other ones in the wkwebview) and it then falls back to another way of rendering. If this is the case, maybe there should be some error thrown.
still... Happy Camper now! Thx.
found a fix... if i load my mp3 file as a data url it works. I'm guessing the ajax load fails (as do some other ones in the wkwebview) and it then falls back to another way of rendering. If this is the case, maybe there should be some error thrown.
still... Happy Camper now! Thx.
Hi Fragilem17,
I got the same issue with WKWebView, e.i. fade/rate not working, and looping not smoothing. They all work fine using default cordova Web View engine.
I'm loading my mp3 sound using such url "file:///var/container/to/app/bundle.." What do you mean by "load my mp3 file as a data url"?
Could you please describe more detail about your fix? Thanks in advance,
Hi there,
Cordova app on iOs 12.1.1 doesn't seem to get along with the web audio api. I'm using the WKwebview Engine from here. And i'm using Howler 2.1.1
the sounds play but not as good as they do in safari on the same device. The loops inside the sprites are not as good and playback stutters when trying to change the rate. The rate also does not actually change and the volume fade also does not work. This leads me to believe it actually still using the html5 audio fallback.
However when, inside the app, i query for Howler.ctx it is returning an webkitAudioContext.
At a loss for the moment.. any suggestions? Thanks for an otherwise great library! Works perfect on Android inside Cordova.