diff --git a/app/Services/ChapterVod.php b/app/Services/ChapterVod.php index 26e5e9ee..3c0f34b3 100644 --- a/app/Services/ChapterVod.php +++ b/app/Services/ChapterVod.php @@ -44,9 +44,9 @@ class ChapterVod extends Service $result = []; foreach ($vod->file_transcode as $key => $file) { - $url = $vodService->getPlayUrl($file['url']); + $file['url'] = $vodService->getPlayUrl($file['url']); $type = $this->getDefinitionType($file['height']); - $result[$type] = ['url' => $url]; + $result[$type] = $file; } return $result;