Skip to content

Commit 8092d5d

Browse files
Copilotanxiangsir
andcommitted
Add autoplay video embed to Introduction section
Co-authored-by: anxiangsir <31175974+anxiangsir@users.noreply.github.com>
1 parent 2d32608 commit 8092d5d

1 file changed

Lines changed: 3 additions & 23 deletions

File tree

README.md

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -46,29 +46,9 @@
4646

4747
<div align="center">
4848

49-
<!--
50-
为了在 README 中直接播放视频,请按以下步骤操作:
51-
To enable direct video playback in README, please follow these steps:
52-
53-
1. 从 YouTube 下载视频 / Download video from YouTube: https://www.youtube.com/watch?v=PPBmfUoIxJ8
54-
(可使用工具如 youtube-dl, yt-dlp 等 / Use tools like youtube-dl, yt-dlp, etc.)
55-
56-
2. 在 GitHub 网页上编辑此 README / Edit this README on GitHub web interface
57-
58-
3. 将视频文件拖放到编辑器中 / Drag and drop the video file into the editor
59-
60-
4. GitHub 会自动上传并生成类似这样的 URL / GitHub will upload and generate a URL like:
61-
https://github.com/user-attachments/assets/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
62-
63-
5. 删除下方的图片代码,替换为视频标签 / Delete the image code below and replace with video tag:
64-
<video src="YOUR_GITHUB_VIDEO_URL" controls width="800" style="max-width: 100%;"></video>
65-
-->
66-
67-
<a href="https://www.youtube.com/watch?v=PPBmfUoIxJ8" target="_blank">
68-
<img src="https://img.youtube.com/vi/PPBmfUoIxJ8/maxresdefault.jpg" alt="OneVision Encoder Introduction Video - Click to Watch" width="800" style="max-width: 100%;">
69-
</a>
70-
71-
**📺 [▶️ 点击图片观看 YouTube 视频 / Click to Watch on YouTube](https://www.youtube.com/watch?v=PPBmfUoIxJ8)**
49+
<video src="https://github.com/anxiangsir/asset/raw/main/OneVision/residual_mv.mp4" controls autoplay loop muted playsinline width="800" style="max-width: 100%;">
50+
Your browser does not support the video tag.
51+
</video>
7252

7353
</div>
7454

0 commit comments

Comments
 (0)