Skip to content
This repository has been archived by the owner on Apr 7, 2021. It is now read-only.

Mov/mp4 support #164

Open
apexskier opened this issue Dec 20, 2020 · 0 comments
Open

Mov/mp4 support #164

apexskier opened this issue Dec 20, 2020 · 0 comments

Comments

@apexskier
Copy link

Now that GitHub supports videos in comments, it appears they also support embedding certain videos within markdown files, for example: https://github.com/apexskier/rrf/blob/198908d/README.md.

However, if I want to host my video elsewhere to avoid adding a large file to my git repo, or for whatever other reason, camo breaks this because the file isn't an image. The link generated returns a Non-Image content-type returned error.

I don't know for sure, but I'd imagine this could be supported by adding video/quicktime and video/mp4 to the supported mime types and potentially changing the Content-Security-Policy header to use media-src in addition to/instead of img-src for video files.

apexskier referenced this issue in apexskier/rrf Dec 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant