forked from 0x2620/pandora
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) {
|
pandora.ui.editor = function(data) {
|
||||||
|
|
||||||
|
// fixme: var ui = pandora.user.ui;
|
||||||
|
|
||||||
return Ox.VideoEditor({
|
return Ox.VideoEditor({
|
||||||
annotationsCalendarSize: pandora.user.ui.annotationsCalendarSize,
|
annotationsCalendarSize: pandora.user.ui.annotationsCalendarSize,
|
||||||
annotationsFont: pandora.user.ui.annotationsFont,
|
annotationsFont: pandora.user.ui.annotationsFont,
|
||||||
|
|
|
@ -4,6 +4,8 @@
|
||||||
|
|
||||||
pandora.ui.player = function(data) {
|
pandora.ui.player = function(data) {
|
||||||
|
|
||||||
|
// fixme: var ui = pandora.user.ui;
|
||||||
|
|
||||||
return Ox.VideoPanel({
|
return Ox.VideoPanel({
|
||||||
annotationsCalendarSize: pandora.user.ui.annotationsCalendarSize,
|
annotationsCalendarSize: pandora.user.ui.annotationsCalendarSize,
|
||||||
annotationsFont: pandora.user.ui.annotationsFont,
|
annotationsFont: pandora.user.ui.annotationsFont,
|
||||||
|
@ -93,18 +95,18 @@ pandora.ui.player = function(data) {
|
||||||
subtitles: function(data) {
|
subtitles: function(data) {
|
||||||
pandora.UI.set('videoSubtitles', data.subtitles);
|
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) {
|
toggleannotations: function(data) {
|
||||||
pandora.UI.set('showAnnotations', data.showAnnotations);
|
pandora.UI.set('showAnnotations', data.showAnnotations);
|
||||||
},
|
},
|
||||||
togglelayer: function(data) {
|
togglelayer: function(data) {
|
||||||
pandora.UI.set('showLayers.' + data.layer, !data.collapsed);
|
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) {
|
toggletimeline: function(data) {
|
||||||
pandora.UI.set('showTimeline', data.showTimeline);
|
pandora.UI.set('showTimeline', data.showTimeline);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue