Compare commits
No commits in common. "5bf71ead0983cfdf9559983e599a3599f4a70ddb" and "7ad121d912b38538299acd32c37dfe6d6e15e8d8" have entirely different histories.
5bf71ead09
...
7ad121d912
2 changed files with 1 additions and 2 deletions
|
|
@ -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}p${poster.position.toFixed(3)}.jpg`
|
data.poster = `${pandora.proto}://${data.site}/${poster.item}/${pandora.resolution}${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`
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,6 @@ function renderItemInfo(data) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function renderItem(data) {
|
function renderItem(data) {
|
||||||
window.item = window.item || {}
|
|
||||||
if (data.error) {
|
if (data.error) {
|
||||||
return renderError(data)
|
return renderError(data)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue