cosmetic changes in editor.js and player.js
This commit is contained in:
parent
27f1a16e02
commit
363ff25bb7
2 changed files with 10 additions and 6 deletions
|
@ -4,6 +4,8 @@
|
|||
|
||||
pandora.ui.editor = function(data) {
|
||||
|
||||
// fixme: var ui = pandora.user.ui;
|
||||
|
||||
return Ox.VideoEditor({
|
||||
annotationsCalendarSize: pandora.user.ui.annotationsCalendarSize,
|
||||
annotationsFont: pandora.user.ui.annotationsFont,
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
pandora.ui.player = function(data) {
|
||||
|
||||
// fixme: var ui = pandora.user.ui;
|
||||
|
||||
return Ox.VideoPanel({
|
||||
annotationsCalendarSize: pandora.user.ui.annotationsCalendarSize,
|
||||
annotationsFont: pandora.user.ui.annotationsFont,
|
||||
|
@ -93,18 +95,18 @@ pandora.ui.player = function(data) {
|
|||
subtitles: function(data) {
|
||||
pandora.UI.set('videoSubtitles', data.subtitles);
|
||||
},
|
||||
togglemap: function(data) {
|
||||
pandora.UI.set('showAnnotationsMap', !data.collapsed);
|
||||
},
|
||||
togglesize: function(data) {
|
||||
pandora.UI.set({videoSize: data.size});
|
||||
},
|
||||
toggleannotations: function(data) {
|
||||
pandora.UI.set('showAnnotations', data.showAnnotations);
|
||||
},
|
||||
togglelayer: function(data) {
|
||||
pandora.UI.set('showLayers.' + data.layer, !data.collapsed);
|
||||
},
|
||||
togglemap: function(data) {
|
||||
pandora.UI.set('showAnnotationsMap', !data.collapsed);
|
||||
},
|
||||
togglesize: function(data) {
|
||||
pandora.UI.set({videoSize: data.size});
|
||||
},
|
||||
toggletimeline: function(data) {
|
||||
pandora.UI.set('showTimeline', data.showTimeline);
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue