feat(backend): serve video with HTTP range requests
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
onclick={(e) => e.stopPropagation()}
|
||||
>
|
||||
{#if isVideo}
|
||||
<VideoPreview src={`/api/files/${file.id}/download`} />
|
||||
<VideoPreview src={`/api/files/${file.id}/stream_part`} />
|
||||
<div
|
||||
class="pointer-events-none absolute inset-x-0 top-0 z-10 flex items-center justify-between bg-linear-to-b from-black/70 to-transparent px-4 py-3"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user