You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Ami44 using dataURI scheme should work with the HTML5 engine but won't work with the SWF engine, due to the way Flash loads and plays audio.
If you're experiencing problems with dataURIs in the HTML engine, please provide details on the browser you're using and the code you wrote so I can try and reproduce.
Although it is possible to convert the dataURI to a real file, I feel that this will be an overkill and might present a new array of problems (eg. memory/cpu consumption) and prefer to avoid it if possible.
My suggestion for now is to selectively provide dataURI or real URL to the player instance based on browser capabilities.
I'm leaving the issue open for now, but am changing the title to "support dataURI scheme in Flash" and if more people wish to add such support I will look into it in more depth.
audio5.load('http://127.0.0.1/test.mp3');
work well. Butaudio5.load("data:audio/mp3;base64,XXXXXXXXXXXX");
generateError calling method on NPObject!
Is it be possible to use an audio file encoded in base64 ? How ?
Thank
The text was updated successfully, but these errors were encountered: