mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-06-26 20:52:44 +08:00
Merge branch 'koogua/fix-vod-lesson' into demo
This commit is contained in:
commit
6bc1c1fc1a
@ -44,9 +44,9 @@ class ChapterVod extends Service
|
|||||||
$result = [];
|
$result = [];
|
||||||
|
|
||||||
foreach ($vod->file_transcode as $key => $file) {
|
foreach ($vod->file_transcode as $key => $file) {
|
||||||
$url = $vodService->getPlayUrl($file['url']);
|
$file['url'] = $vodService->getPlayUrl($file['url']);
|
||||||
$type = $this->getDefinitionType($file['height']);
|
$type = $this->getDefinitionType($file['height']);
|
||||||
$result[$type] = ['url' => $url];
|
$result[$type] = $file;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user