I'm trying add an audio player that stream audio from an url. My site was created using hugo, it's running on netlify.
Here's the code.
<audio controls="controls">
<source src="http://url.redacted:8386/test" type="audio/mpeg">
</audio>
It works on localhost but when pushed to github and built on netlify, it just doesn't work. The player is greyed out.
Thank you for your help!
As seen in the box above.
Try this out:
Save file as
index.htmland deploy your Hugo site to Netlify. Once deployed, visit your site to see the audio player in action.