player view: handle ui.videoLoop
This commit is contained in:
parent
bdc88d4022
commit
5a11e40fb4
1 changed files with 4 additions and 0 deletions
|
@ -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});
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue