fixup! feat: Add support for HTTP range requests when stream mode is enabled
This commit is contained in:
parent
4cbc21de46
commit
ecd5bf306a
1 changed files with 2 additions and 2 deletions
|
@ -426,8 +426,8 @@ class FrontController
|
||||||
'GET',
|
'GET',
|
||||||
$video->url,
|
$video->url,
|
||||||
[
|
[
|
||||||
'stream' => true,
|
'stream' => true,
|
||||||
'headers' => ['Range' => $request->getHeader('Range')]
|
'headers' => ['Range' => $request->getHeader('Range')],
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
$response = $response->withHeader('Content-Type', $stream->getHeader('Content-Type'));
|
$response = $response->withHeader('Content-Type', $stream->getHeader('Content-Type'));
|
||||||
|
|
Loading…
Reference in a new issue