

























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:
The edit page url likes https://github.com/xumeng/ai-careers/edit/master/README.md

GitHub will uploading the file automatically, then it will showing a video asset url likes https://github.com/xumeng/ai-careers/assets/2187660/7362e4b8-6318-4cfc-af63-b8921455e434


GitHub README Demo: https://github.com/xumeng/ai-careers
https://stackoverflow.com/a/78521560/3090339
https://amonxu.medium.com/how-to-embed-a-video-into-github-readme-so-easy-c298ca92d537
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。