forked from 0x2620/pandora
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),
|
height: pandora.$ui.contentPanel.size(1),
|
||||||
'in': ui.videoPoints[ui.item]['in'],
|
'in': ui.videoPoints[ui.item]['in'],
|
||||||
layers: data.annotations,
|
layers: data.annotations,
|
||||||
|
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,
|
||||||
|
@ -91,6 +92,9 @@ pandora.ui.player = 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});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue