use poster frame for video preview
This commit is contained in:
parent
592d7796cd
commit
8368e9cbdf
1 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ pandora.ui.info = function() {
|
|||
} else if (view == 'video') {
|
||||
pandora.api.get({
|
||||
id: id,
|
||||
keys: ['duration', 'rendered', 'videoRatio']
|
||||
keys: ['duration', 'posterFrame', 'rendered', 'videoRatio']
|
||||
}, function(result) {
|
||||
emptyInfo();
|
||||
if (result.data && result.data.rendered) {
|
||||
|
@ -93,7 +93,7 @@ pandora.ui.info = function() {
|
|||
id: id,
|
||||
position: !ui.item && ui.listView == 'timelines'
|
||||
? (ui.videoPoints[id] ? ui.videoPoints[id].position : 0)
|
||||
: void 0,
|
||||
: result.data.posterFrame,
|
||||
width: ui.sidebarSize
|
||||
})
|
||||
.bindEvent({
|
||||
|
|
Loading…
Reference in a new issue