// 获取封面 drawVideo(video) { return new Promise((res, rej) => { const canvas = document.createElement('canvas') const ctx = canvas.getContext('2d') canvas.width = video.width canvas.height = video.height ...