How to embed a video into GitHub-README? So easy!

When we launch a product, we usually make a video to show our product’s functions and features. We also do this for our GitHub repository now.

However, how can we embed a video into a GitHub README?

In the past, we tried to add a video file to the repository, but the video file showed as a URL given the limitations of the platform. We also tried using markdown or HTML to embed a video, but it did not work at all.

Good news: Embedding a local video into a GitHub README is very easy now!

Just follow these steps:

1. Edit the README file on the GitHub online repository

The edit page url likes

embed a video into github readme file

2. Drag the local video file to the edit panel

GitHub will uploading the file automatically, then it will showing a video asset url likes

drag the video file into the github readme file

3. Preview and commit the changes, We’re done!

generates job description by 职生机jobotai

GitHub README Demo: