Your sites Log in Sign up Menu

How to embed audio in a post?

Just wondering if there is a way to publish audio, say an mp3 file for a podcast, in a post.


2 years ago, 2 replies   Improve this question

Yes, this is possible. You can use an HTML tag directly inside a markdown file, like so:

<audio src="/path/to/audio.mp3"></audio>

The path should be relative to your blog's folder, per the general rules on public files. If the file is in the same subfolder as the post, the following will work:

<audio src="audio.mp3"></audio>

Please let me know if you have any questions about this or anything else

Answered 3 years ago · Improve this answer

Hi David, do you have recommendations for where to publish the .mp3 files? Is it possible to keep them in my Blot's Dropbox or should I upload it to some site that is for uploading/sharing .mp3? For the latter, would you please also recommend some YouTube-equivalent good sites for uploading .mp3 files? Thank you!

Answered 2 years ago · Improve this answer

Privacy Terms