Unsanitized file names in db but sanitized on disk fixed.
Mimetype fixed.
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user