ngAudio
ngAudio copied to clipboard
Many audio extensions
Is it possible to load mp3 if ogg is not supported by browser and ogg if mp3 is not supported by browser? I do not see that functionallity
Hey @Pexak .
The functionality you propose is being considered.
One possible implementation would be to allow the user to pass an array instead of a string for the first argument, e.g,
ngAudio.load(['sound1.mp3','sound1.ogg']);
Would this work for what you're implementing?
Hey @danielstern ! Thanks for answer, it would work : )