diff --git a/static/js/pandora/editor.js b/static/js/pandora/editor.js index d9328bb3e..a81900932 100644 --- a/static/js/pandora/editor.js +++ b/static/js/pandora/editor.js @@ -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, diff --git a/static/js/pandora/player.js b/static/js/pandora/player.js index 2320fd6f2..022b32811 100644 --- a/static/js/pandora/player.js +++ b/static/js/pandora/player.js @@ -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); },