findChapterVod($chapterId); if (empty($vod->file_transcode)) { return []; } /** * @var array $transcode */ $transcode = $vod->file_transcode; $vod = new Vod(); foreach ($transcode as $key => $file) { $transcode[$key]['url'] = $vod->getPlayUrl($file['url']); } return $transcode; } }