editor view: pass/receive loop

This commit is contained in:
rolux 2013-08-06 09:55:22 +00:00
parent 4195c3baeb
commit ba4f94df5b

View file

@ -43,6 +43,7 @@ pandora.ui.editor = function(data) {
editable: layer.canAddAnnotations[pandora.user.level]
}, layer);
}),
loop: ui.videoLoop,
muted: ui.videoMuted,
out: ui.videoPoints[ui.item].out,
position: ui.videoPoints[ui.item].position,
@ -186,6 +187,9 @@ pandora.ui.editor = 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});
},