Skip to content
Discussion options

You must be logged in to vote

Same issue on our repo. Claude Code found the cause and a fix:

With a <video> tag, GitHub doesn't rewrite the first video in each HTML block to a signed private-user-images.githubusercontent.com URL. It stays on github.com/user-attachments/..., and the signed-in CSP blocks that.

We replaced each <video> tag with the bare attachment URL on its own line, with blank lines around it:

https://github.com/user-attachments/assets/<id>

GitHub rewrites all of these to signed URLs, and all our README videos play again when signed in.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jo-duchan
Comment options

Answer selected by jo-duchan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug GitHub or a GitHub feature is not working as intended Repositories The core of version-controlled code storage Welcome 🎉 Used to greet and highlight first-time discussion participants. Welcome to the community! source:ui Discussions created via Community GitHub templates
2 participants