Skip to content

Comments

Fix video rendering in README using direct CDN URLs#95

Closed
Copilot wants to merge 2 commits intomainfrom
copilot/increase-video-visibility
Closed

Fix video rendering in README using direct CDN URLs#95
Copilot wants to merge 2 commits intomainfrom
copilot/increase-video-visibility

Conversation

Copy link
Contributor

Copilot AI commented Feb 11, 2026

GitHub's github.com/.../raw/ redirect URLs fail to render in many browsers when used as video sources.

Changes

  • Video element: Switched from redirect URL to direct raw.githubusercontent.com CDN delivery
  • Source tag: Moved URL to <source> child element with explicit type="video/mp4" MIME type
  • Fallback: Added direct download link for unsupported browsers

Before:

<video src="https://github.com/anxiangsir/asset/raw/main/OneVision/residual_mv.mp4" controls ...>
  Your browser does not support the video tag.
</video>

After:

<video controls ...>
  <source src="https://raw.githubusercontent.com/anxiangsir/asset/main/OneVision/residual_mv.mp4" type="video/mp4">
  Your browser does not support the video tag. <a href="...">Click here to view the video</a>.
</video>

This aligns with existing asset embedding patterns in the README (images at lines 23-25, 93, 98 already use raw.githubusercontent.com).

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • github-production-user-asset-6210df.s3.amazonaws.com
    • Triggering command: /usr/bin/curl curl -L REDACTED -o /tmp/image1.png (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: anxiangsir <31175974+anxiangsir@users.noreply.github.com>
Copilot AI changed the title [WIP] Improve video visibility in introduction sections Fix video compatibility in README Introduction Feb 11, 2026
Copilot AI requested a review from anxiangsir February 11, 2026 02:40
Copilot AI changed the title Fix video compatibility in README Introduction Fix video rendering in README using direct CDN URLs Feb 11, 2026
@anxiangsir anxiangsir closed this Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants