But when I use this code, the shown html-player is grey (both sound files are imported to joplin):
<audio controls autoplay>
<source src="Jan Delay - Large.ogg" type="audio/ogg">
<source src="Jan Delay - Large.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
Is it possible to run the sound-file with the html-player?
As a general rule, HTML support is there mostly for layout, color, styling, etc. but more advanced features such as sound, video or JavaScript handling are not officially supported (though in some cases it’s possible it will work).
The problem is not with the audio itself, but the fact that the link is not recognized. Playing audio works perfectly with valid links. But HTML does not understand a link that looks like :/b98bd768c35644389f498e4abf7eaf05
So we don’t need a plugin, but a way to make HTML able to understand the above Joplin link.
Maybe a solution could be to add 'support' for resource filename extensions into Joplin?
I.e. you'd type :/b98bd768c35644389f498e4abf7eaf05.mp3, Joplin would discard the '.mp3' bit on navigation and handle everything as it always did, and the HTML component is happy that it has an extension available?
Yes, of course, I have no idea how difficult this would be to implement, or if it's possible at all.