1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-26 12:23:06 +08:00

Merge branch 'koogua/fix-vod-lesson' into demo

This commit is contained in:
koogua 2021-06-19 10:55:52 +08:00
commit 6bc1c1fc1a

View File

@ -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;