From ba4f94df5b3eea20fa99a94162744fe2c69754f9 Mon Sep 17 00:00:00 2001 From: rolux Date: Tue, 6 Aug 2013 09:55:22 +0000 Subject: [PATCH] editor view: pass/receive loop --- static/js/editor.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/static/js/editor.js b/static/js/editor.js index 1b20520b..e2566fe2 100644 --- a/static/js/editor.js +++ b/static/js/editor.js @@ -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}); },