Try to stream the file in handler.

This commit is contained in:
Florian THIERRY
2026-07-24 15:38:36 +02:00
parent f8f86eeae1
commit cef96884c6
6 changed files with 35 additions and 17 deletions
+8
View File
@@ -9,4 +9,12 @@
</div>
}
</div>
<div>
@if (firstVideo(); as firstVideo) {
<video controls>
<source src="/api/videos/{{firstVideo.id}}/stream" type="video/mp4">
Your browser does not support the html video player.
</video>
}
</div>
<router-outlet />