forked from 0x2620/pandora
pass item name to video panels
This commit is contained in:
parent
c0022b1f86
commit
e7288a1f0b
3 changed files with 3 additions and 0 deletions
|
@ -40,6 +40,7 @@ pandora.ui.editor = function(data) {
|
|||
height: pandora.$ui.contentPanel.size(1),
|
||||
id: 'editor',
|
||||
'in': ui.videoPoints[ui.item]['in'],
|
||||
itemName: pandora.site.itemName,
|
||||
layers: data.annotations.map(function(layer) {
|
||||
return Ox.extend({
|
||||
editable: layer.canAddAnnotations[pandora.user.level]
|
||||
|
|
|
@ -31,6 +31,7 @@ pandora.ui.player = function(data) {
|
|||
},
|
||||
height: pandora.$ui.contentPanel.size(1),
|
||||
'in': ui.videoPoints[ui.item]['in'],
|
||||
itemName: pandora.site.itemName,
|
||||
layers: data.annotations,
|
||||
loop: ui.videoLoop,
|
||||
muted: ui.videoMuted,
|
||||
|
|
|
@ -31,6 +31,7 @@ pandora.ui.timeline = function(data) {
|
|||
return '/' + ui.item + '/timeline' + type + '64p' + i + '.jpg';
|
||||
},
|
||||
height: pandora.$ui.contentPanel.size(1),
|
||||
itemName: pandora.site.itemName,
|
||||
layers: data.annotations,
|
||||
muted: ui.videoMuted,
|
||||
position: ui.videoPoints[ui.item].position,
|
||||
|
|
Loading…
Reference in a new issue