Could someone please write me a small plugin that forces the use of HTML5 Audio if Web Audio API is not supported?
I see approximately where it has to be done but I can't get it right.
Thank you so much. 🙂
I'm looking into making this, but it's unfortunately more complicated than just a few lines. The Html5Audio class supplied by RPG Maker MV only supports one audio tag, because it's only intended to be used for bgm. To make Html5Audio a viable fallback if Web Audio isn't available, we'll have to rewrite the Html5Audio class to support multiple elements, which will take more time and testing to finish. I suppose I could work on it, though I'm not sure how much time I'd need it.
The only situation in which you'd really need this is if you're playing your game in Internet Explorer, as it doesn't support the Web Audio API, or, like in this situation (For those that don't know, they had a previous topic with the issue, looking for support), it isn't supported on Windows XP (which, coincidentally, isn't supported by the engine to begin with).
Omg!! So fast! Thank you so much!
I had one betatester try it out and it worked for him/her. Fingers crossed this is a universal fix. 🙂
Thanks again!
Btw, by DOM do you mean the log that shows up if you hit F8?
I also found out that Web Audio API isn't fully supported. I tried to do a sample Audio Crossfade plugin and it tells me the web audio isn't supported.
Oh, I hadn't seen this thread. I'm also interested in using HTML5 audio, so I guess I may help with something if there's anything left to be done?
For compatibility with Windows Phone 8 (WP10 runs WebAudio fine, but 8 doesn't)