This commit is contained in:
Ryan Shpeherd
2026-09-15 13:12:21 -04:00
parent 4782dc5bfa
commit 46548881cb
+2 -2
View File
@@ -157,7 +157,7 @@ def serve_video(video_id):
for full_path in candidates: for full_path in candidates:
try: try:
return send_file(full_path, mimetype="video/mp4", conditional=True) return send_file(full_path, conditional=True)
except FileNotFoundError: except FileNotFoundError:
continue continue
@@ -343,7 +343,7 @@ _REVIEW_TEMPLATE = """
<h2>Video</h2> <h2>Video</h2>
<div class="video-wrap"> <div class="video-wrap">
<video controls preload="metadata" id="review-video"> <video controls preload="metadata" id="review-video">
<source src="/video/{{ video.video_id }}" type="video/mp4"> <source src="/video/{{ video.video_id }}">
Video playback not supported. Video playback not supported.
</video> </video>
</div> </div>