How to embed a video into GitHub


Is it possible to embed a flash video into on GitHub or embade a youtube video?


Using Gif:


Use a video player picture

You could trick the user into thinking the video is on the readme page with a picture. It sounds like an ad trick, it’s not perfect, but it works and it’s funny ;).


Use youtube’s preview picture

You can also use the picture generated by youtube for your video.

For youtube urls in the form of:

The preview urls are in the form of:


Use asciinema

If your use case is something that runs in a terminal, asciinema lets you record a terminal session and has nice markdown embedding.

Hit share button and copy the markdown snippet.


Leave a Reply