Skip to content

Commit 2d32608

Browse files
Copilotanxiangsir
andcommitted
Improve video embed instructions with bilingual guide
Co-authored-by: anxiangsir <31175974+anxiangsir@users.noreply.github.com>
1 parent 4348b42 commit 2d32608

1 file changed

Lines changed: 18 additions & 7 deletions

File tree

README.md

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,29 @@
4646

4747
<div align="center">
4848

49-
<!-- To enable direct video playback: -->
50-
<!-- 1. Download the video from YouTube (https://www.youtube.com/watch?v=PPBmfUoIxJ8) -->
51-
<!-- 2. Edit this README on GitHub -->
52-
<!-- 3. Drag and drop the video file into the edit box -->
53-
<!-- 4. GitHub will upload it and provide a URL like https://user-images.githubusercontent.com/... -->
54-
<!-- 5. Replace the line below with: <video src="URL" controls width="800"></video> -->
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+
-->
5566

5667
<a href="https://www.youtube.com/watch?v=PPBmfUoIxJ8" target="_blank">
5768
<img src="https://img.youtube.com/vi/PPBmfUoIxJ8/maxresdefault.jpg" alt="OneVision Encoder Introduction Video - Click to Watch" width="800" style="max-width: 100%;">
5869
</a>
5970

60-
**📺 [▶️ 点击图片观看视频 / Click Image to Watch Video on YouTube](https://www.youtube.com/watch?v=PPBmfUoIxJ8)**
71+
**📺 [▶️ 点击图片观看 YouTube 视频 / Click to Watch on YouTube](https://www.youtube.com/watch?v=PPBmfUoIxJ8)**
6172

6273
</div>
6374

0 commit comments

Comments
 (0)