Unsanitized file names in db but sanitized on disk fixed.

Mimetype fixed.
This commit is contained in:
Maximilian Wagner
2023-08-05 16:29:37 +02:00
parent 6f5d03f449
commit 37c1e655e0
3 changed files with 31 additions and 11 deletions

View File

@@ -6,7 +6,7 @@
{% if 'mp4' in file %}
<div class="section d-flex justify-content-center embed-responsive embed-responsive-16by9" style="padding: 1.5%">
<video class="embed-responsive-item" style="width: 100%; height: auto" controls>
<source src="serve?file={{ file }}" type="video/webm">
<source src="serve?file={{ file }}" type="video/mp4">
</video>
</div>
{% endif %}