惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

U
Unit 42
Blog — PlanetScale
Blog — PlanetScale
H
Help Net Security
The GitHub Blog
The GitHub Blog
博客园 - Franky
酷 壳 – CoolShell
酷 壳 – CoolShell
Recent Announcements
Recent Announcements
量子位
aimingoo的专栏
aimingoo的专栏
大猫的无限游戏
大猫的无限游戏
博客园 - 叶小钗
Microsoft Azure Blog
Microsoft Azure Blog
Martin Fowler
Martin Fowler
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
A
About on SuperTechFans
T
Tailwind CSS Blog
V
V2EX
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
B
Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
S
SegmentFault 最新的问题
G
Google Developers Blog
M
MIT News - Artificial intelligence

Amon's Blog

我是一个 HR,碰到疑似“外星人”,居然让我帮他修理星际飞船?! How to embed a video into GitHub-README? So easy! 十年磨一剑,今朝更锃亮:把 Hexo blog + hexo-theme-next 博客升级到最新版本 Simply way to support multiple languages i18n in Next.js 14 (Based on App Router) 一篇文章学会 Next.js 实现 i18n 国际化多语言(基于App Router) 《游子》 How to solve error on CentOS "/lib64/libstdc++.so.6 version GLIBCXX_3.4.xx not found" Hexo blog title include special symbols reports error Best Practices for Backend System Refactoring: How to do backend system refactoring efficiently and with high quality 《一个地方,人满为患》 《我》 How to solve error GitHub Permission denied fatal Could not read from remote repository 解决错误 GitHub Permission denied fatal Could not read from remote repository 《山 · 其二》 《山 · 其一》 《地铁》 写于11月27日 从优雅地查看K8s应用日志聊到日志管理 《中国折叠》
如何在 GitHub README 中插入视频?原来这么简单
Amon Xu · 2024-05-23 · via Amon's Blog

当我们发布一款产品时,通常会制作一个演示视频来展示我们产品的功能和特性。如今,很多 GitHub 仓库也是如此。
但是,如何在GitHub README 中插入视频呢?

在此之前,我们尝试将视频文件添加到代码仓库中,但由于平台的限制,视频文件显示为URL。我们还尝试使用 Markdown 或 HTML 来嵌入视频,但根本不起作用。

好消息是,如今将本地视频插入到 GitHub README中 非常简单!

只需如下几步即可:

编辑页面的链接类似: https://github.com/xumeng/ai-careers/edit/master/README.md

github readme中插入视频

2. 把本地视频文件拖到编辑区域内

GitHub 会自动上传视频文件,然后展示一个资源文件的链接地址,类似: https://github.com/xumeng/ai-careers/assets/2187660/7362e4b8-6318-4cfc-af63-b8921455e434

把视频插入到github readme中

3. 预览检查效果,然后提交文件更新,搞定!

职生机jobotai自动生成招聘职位描述

GitHub README 示例: 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