In theory it should be possible to do something like:
A video: <video src="video.mp4" width="320" height="240" controls></video>
an audio:
<audio controls="controls">
<source type="audio/mp3" src="audio.mp3"></source>
<p>Your browser does not support the audio element.</p>
</audio>
But this does not work. When I put this in a page, the log shows:
[2024-10-17 14:08:43,033] INFO in wiki: [Errno 2] No such file or directory: 'wiki/video.mp4.md'
[2024-10-17 14:08:43,034] INFO in wiki: [Errno 2] No such file or directory: 'wiki/audio.mp3.md'
It seems this problem is a special case of #101
If wikmd would be able to serve urls with a path that has a known media extension like mp4, mp3 using the correct mime type, this would work just fine.
In theory it should be possible to do something like:
But this does not work. When I put this in a page, the log shows: