pass item name to video panels

This commit is contained in:
rolux 2014-01-19 11:58:05 +05:30
parent c0022b1f86
commit e7288a1f0b
3 changed files with 3 additions and 0 deletions

View file

@ -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]

View file

@ -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,

View file

@ -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,