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),
|
height: pandora.$ui.contentPanel.size(1),
|
||||||
id: 'editor',
|
id: 'editor',
|
||||||
'in': ui.videoPoints[ui.item]['in'],
|
'in': ui.videoPoints[ui.item]['in'] || 0,
|
||||||
itemName: pandora.site.itemName,
|
itemName: pandora.site.itemName,
|
||||||
layers: data.annotations.map(function(layer) {
|
layers: data.annotations.map(function(layer) {
|
||||||
return Ox.extend({
|
return Ox.extend({
|
||||||
|
|
@ -86,7 +86,7 @@ pandora.ui.editor = function(data) {
|
||||||
}),
|
}),
|
||||||
loop: ui.videoLoop,
|
loop: ui.videoLoop,
|
||||||
muted: ui.videoMuted,
|
muted: ui.videoMuted,
|
||||||
out: ui.videoPoints[ui.item].out,
|
out: ui.videoPoints[ui.item].out || 0,
|
||||||
position: ui.videoPoints[ui.item].position,
|
position: ui.videoPoints[ui.item].position,
|
||||||
posterFrame: data.posterFrame,
|
posterFrame: data.posterFrame,
|
||||||
resolution: ui.videoResolution,
|
resolution: ui.videoResolution,
|
||||||
|
|
|
||||||
|
|
@ -32,12 +32,12 @@ pandora.ui.player = function(data) {
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
height: pandora.$ui.contentPanel.size(1),
|
height: pandora.$ui.contentPanel.size(1),
|
||||||
'in': ui.videoPoints[ui.item]['in'],
|
'in': ui.videoPoints[ui.item]['in'] || 0,
|
||||||
itemName: pandora.site.itemName,
|
itemName: pandora.site.itemName,
|
||||||
layers: data.annotations,
|
layers: data.annotations,
|
||||||
loop: ui.videoLoop,
|
loop: ui.videoLoop,
|
||||||
muted: ui.videoMuted,
|
muted: ui.videoMuted,
|
||||||
out: ui.videoPoints[ui.item].out,
|
out: ui.videoPoints[ui.item].out || 0,
|
||||||
position: ui.videoPoints[ui.item].position,
|
position: ui.videoPoints[ui.item].position,
|
||||||
resolution: ui.videoResolution,
|
resolution: ui.videoResolution,
|
||||||
scaleToFill: ui.videoScale == 'fill',
|
scaleToFill: ui.videoScale == 'fill',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue