audiogithubreadme

Add audio in GitHub readme.md


Is there a way to add an audio player in a GitHub readme.md? I want to be able to play a certain MP3 file directly through the readme.md, rather than be directed to some SoundCloud or YouTube link.


Solution

  • Update May 2021: as I already reported in "How to embed a video into GitHub README.md?", "Video uploads now is generally available"

    video upload


    Original answer 2017:

    No, as I documented before, an <audio> element (or video) is not supported in GitHub Markdown.

    For video, a workaround is to use an animated GIF, but for audio, having a placeholder linking to the actual audio seems to be the only way.