Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add audio in Github readme.md

Is there a way to add an audio bar in the 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.

like image 994
Sarthak Agarwal Avatar asked May 25 '17 16:05

Sarthak Agarwal


People also ask

Can README.md add video?

For now, our README file has the following contents. Step 6: Click on the pencil icon button to edit the README.md file. Step 7: Drag and drop the video that you want to add to the README file. Step 8: Click on the “Commit changes” button.

How do I add a video to a Markdown file?

You just drag your video file on your laptop or pc to the markdown file in Github. Done. Easy peasy. Before this, I can embed the video either change it to the gif or create a new file and reference it to the README file.


1 Answers

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 20217:

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.

like image 165
VonC Avatar answered Sep 17 '22 14:09

VonC