update player settings
This commit is contained in:
parent
622fa468fb
commit
5ee78ffd7d
1 changed files with 18 additions and 0 deletions
|
|
@ -159,6 +159,24 @@ pandora.ui.previewPlayer = function() {
|
|||
data.position
|
||||
);
|
||||
},
|
||||
loop: function(data) {
|
||||
pandora.UI.set({videoLoop: data.loop});
|
||||
},
|
||||
muted: function(data) {
|
||||
pandora.UI.set({videoMuted: data.muted});
|
||||
},
|
||||
resolution: function(data) {
|
||||
pandora.UI.set({videoResolution: data.resolution});
|
||||
},
|
||||
scale: function(data) {
|
||||
pandora.UI.set({videoScale: data.scale});
|
||||
},
|
||||
subtitles: function(data) {
|
||||
pandora.UI.set({videoSubtitles: data.subtitles});
|
||||
},
|
||||
volume: function(data) {
|
||||
pandora.UI.set({videoVolume: data.volume});
|
||||
},
|
||||
});
|
||||
that.options({content: $player});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue