You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
at the moment the video-html5-tag is removed from markdown when it's rendered to html5 page, can we keep it so that we can embed video files directly in markdown and watch it from gitea?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
It seems like it's not possible to embed a video in markdown. The workaround is pretty bad tbh and does not work as intended with local files: [](data/video.mp4) won't link to the raw video but instead to the gitea page of the video resource. Workaround to the workaround: [](../../../raw/branch/master/data/video.mp4)
[](data/video.mp4) will jump to a new gitea page and you can play video.mp4 from there, so not direct embed video in gitea but a workaround.
for [](../../../raw/branch/master/data/video.mp4) it does not jump to a new page, instead it downloads the file directly.
the best still will be "video" tag support, before then I will use the first option here to get by.
Activity
stale commentedon Jan 31, 2019
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
uberhalit commentedon Feb 2, 2019
It seems like it's not possible to embed a video in markdown. The workaround is pretty bad tbh and does not work as intended with local files:
[](data/video.mp4)
won't link to the raw video but instead to the gitea page of the video resource. Workaround to the workaround:[](../../../raw/branch/master/data/video.mp4)
6543 commentedon Sep 6, 2020
@laoshaw can you test if this is still the case?
laoshaw commentedon Sep 6, 2020
[](data/video.mp4)
will jump to a new gitea page and you can play video.mp4 from there, so not direct embed video in gitea but a workaround.for
[](../../../raw/branch/master/data/video.mp4)
it does not jump to a new page, instead it downloads the file directly.the best still will be "video" tag support, before then I will use the first option here to get by.
<video>
in MarkDown #22892wxiaoguang commentedon Apr 25, 2023
After #22892 , the tag is kept.