This commit is contained in:
j 2024-02-17 10:59:22 +00:00
parent c05d0bbb44
commit a39a2ab31f

View file

@ -255,7 +255,7 @@ async function loadEdit(id, args) {
poster = getClip(data.edit, parseDuration(args.parts[2])) poster = getClip(data.edit, parseDuration(args.parts[2]))
} }
if (poster && poster.item) { if (poster && poster.item) {
data.poster = `${pandora.proto}://${data.site}/${poster.item}/${pandora.resolution}${poster.position.toFixed(3)}.jpg` data.poster = `${pandora.proto}://${data.site}/${poster.item}/${pandora.resolution}p${poster.position.toFixed(3)}.jpg`
} else { } else {
data.poster = data.videos[0].src.split('/48')[0] + `/${pandora.resolution}p${data.videos[0].in.toFixed(3)}.jpg` data.poster = data.videos[0].src.split('/48')[0] + `/${pandora.resolution}p${data.videos[0].in.toFixed(3)}.jpg`
} }