Embedding videos in READMEs

When I attempt to embed a video file in my Gitea repo README file using HTML markup the markdown parser displays the fallback text (i.e. “Your browser does not support HTML5 video”) rather than creating a video element from the supplied source(s).

Example markup in README:

<video controls>
  <source src="https://user.keybase.pub/demo.mp4" type="video/mp4">
  <p>Your browser doesn't support HTML5 video. Here is a <a href="https://user.keybase.pub/demo.mp4">link to the video</a> instead.</p>

Is there an available setting to configure to markdown parser to render video content? If there were, could Gitea be instructed to prefetch the content when the page is loaded?

1 Like

Is there a solution for this in the meantime (it’s been a while…)? I am also struggeling with embedding videos…