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.
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.
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.
Update May 2021: as I already reported in "How to embed a video into GitHub README.md?", "Video uploads now is generally available"
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With