Audio player

Hello,

Could somebody advise me as to how to add a simple audio player in my blog running Hugo? I have no idea how to do this. I self-host Hugo on a raspberry pi and wish to add a few audio files to my personal blog… I am using the Hyde theme.

Thank you,

https://www.w3schools.com/TAGS/tag_audio.asp

Make a shortcode to set source.

1 Like

@damien you need to know enough to get started, and then come here with Hugo questions. A place to start is Recommended Reading Reference, lots of resources to learn HTML. :slight_smile:

1 Like

Thanks for the link.

Ok, so there isn’t any kind of built in audio player…I have to build by myself if I understand well.

Yep. I’m not sure how a built-in audio player would fit with what Hugo does.

If you want to play audio on your page, with HTML 5 you can just use the audio tag (see above) or load in a javascript solution like plyr.

1 Like

Ok, thank you.