diff --git a/static/js/player.js b/static/js/player.js index 7bd954cbd..e9ec4e608 100644 --- a/static/js/player.js +++ b/static/js/player.js @@ -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}); },