forked from 0x2620/pandora
undefined videopoints -> 0
This commit is contained in:
parent
ef916610a7
commit
060e4040cb
2 changed files with 4 additions and 4 deletions
|
|
@ -43,7 +43,7 @@ pandora.ui.editor = function(data) {
|
|||
},
|
||||
height: pandora.$ui.contentPanel.size(1),
|
||||
id: 'editor',
|
||||
'in': ui.videoPoints[ui.item]['in'],
|
||||
'in': ui.videoPoints[ui.item]['in'] || 0,
|
||||
itemName: pandora.site.itemName,
|
||||
layers: data.annotations.map(function(layer) {
|
||||
return Ox.extend({
|
||||
|
|
@ -86,7 +86,7 @@ pandora.ui.editor = function(data) {
|
|||
}),
|
||||
loop: ui.videoLoop,
|
||||
muted: ui.videoMuted,
|
||||
out: ui.videoPoints[ui.item].out,
|
||||
out: ui.videoPoints[ui.item].out || 0,
|
||||
position: ui.videoPoints[ui.item].position,
|
||||
posterFrame: data.posterFrame,
|
||||
resolution: ui.videoResolution,
|
||||
|
|
|
|||
|
|
@ -32,12 +32,12 @@ pandora.ui.player = function(data) {
|
|||
);
|
||||
},
|
||||
height: pandora.$ui.contentPanel.size(1),
|
||||
'in': ui.videoPoints[ui.item]['in'],
|
||||
'in': ui.videoPoints[ui.item]['in'] || 0,
|
||||
itemName: pandora.site.itemName,
|
||||
layers: data.annotations,
|
||||
loop: ui.videoLoop,
|
||||
muted: ui.videoMuted,
|
||||
out: ui.videoPoints[ui.item].out,
|
||||
out: ui.videoPoints[ui.item].out || 0,
|
||||
position: ui.videoPoints[ui.item].position,
|
||||
resolution: ui.videoResolution,
|
||||
scaleToFill: ui.videoScale == 'fill',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue