mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-06-25 20:17:23 +08:00
复原腾讯云点播的地址格式
This commit is contained in:
parent
bbc88be3a3
commit
10e99c818e
@ -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