Is <source> in <audio> not supported?
Kotsuha opened this issue · 1 comments
Kotsuha commented
Hello.
I am trying out this plugin. I have HTML like this:
<audio>
<source src="foo/bar.ogg" type="audio/ogg" />
<source src="foo/bar.mp3" type="audio/mpeg" />
</audio>
When I press play the console says:
Uncaught (in promise) DOMException: The element has no supported sources.
Seems that I can only use <audio src="...">
? It would be nice if <source>
in <audio>
is supported.
tomhazledine commented
Fixed in v3 (only 6 years later! 😱 )