03 Jul 2017
See aloisdg's answer, result is awesome, gifs are rendered on github's readme;) 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;). Embed youtube video in GitHub readme.md; long term memory is a reliability model; UTC work request; Thunor, HTS screen; sensitivity of cancer cells, genomics; mass spec is a joint distribution; arcsinh transformation for negative values for log; t-SNE; Latex submission to BMC; colony counting; Vanderbilt cancer heterogeneity workshop; phage PIN. IMPORTANT: Video Analytics Serving is provided as a sample.It is not intended to be deployed into production environments without modification. Developers deploying Video Analytics Serving should review it against their production requirements.
Sometimes you may want to embed a youtube video into your repository’s README.md file. There are several methods such as using youtube’s auto-generated picture, a video screenshot, or an animated gif.
Github Readme Video
Use youtube’s preview picture
We can use youtube’s auto-generated picture for the video:
Template:
Example:
Which gives you this (using –b-9HrKK6w for VIDEO-ID). But this doesn’t feel like a video. We can do better.
Notice how it’s not completely certain if it’s an image or a video.
Use a video screenshot or .gif
To make it feel more like a video, we can use a video placeholder picture, screenshot, or .gif for our image. First create a directory to hold the screenshot or gif such as
doc/screenshot_youtube.PNG
then use this format.Template:
Example:
This method gives us this. If you need a quick fix, this method “tricks” the user into thinking the video is on the README page with a picture. It’s not perfect but it works.
Similarly, you could use an animated .gif instead since they are rendered on Github’s readme.
Template:
Example:
This method is probably the most eye catching but it takes some work to get that .gif file.
Github Readme Youtube Video
Good luck!