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