player view: handle ui.videoLoop

This commit is contained in:
rolux 2013-08-01 08:37:17 +00:00
parent bdc88d4022
commit 5a11e40fb4

View file

@ -30,6 +30,7 @@ pandora.ui.player = function(data) {
height: pandora.$ui.contentPanel.size(1),
'in': ui.videoPoints[ui.item]['in'],
layers: data.annotations,
loop: ui.videoLoop,
muted: ui.videoMuted,
out: ui.videoPoints[ui.item].out,
position: ui.videoPoints[ui.item].position,
@ -91,6 +92,9 @@ pandora.ui.player = function(data) {
Ox.getObjectById(pandora.site.layers, data.layer).title
).open();
},
loop: function(data) {
pandora.UI.set({videoLoop: data.loop});
},
muted: function(data) {
pandora.UI.set({videoMuted: data.muted});
},