diff --git a/controllers/FrontController.php b/controllers/FrontController.php index 87d8b02..39c68a8 100644 --- a/controllers/FrontController.php +++ b/controllers/FrontController.php @@ -360,7 +360,7 @@ class FrontController $stream = $this->download->getRtmpStream($video); $response = $response->withHeader('Content-Type', 'video/'.$video->ext); $body = new Stream($stream); - } elseif ($video->protocol == 'm3u8') { + } elseif ($video->protocol == 'm3u8' || $video->protocol == 'm3u8_native') { $stream = $this->download->getM3uStream($video); $response = $response->withHeader('Content-Type', 'video/'.$video->ext); $body = new Stream($stream);