forked from 0x2620/oxjs
cleanup Resizebar; make tooltips in VideoEditor, VideoPanel and VideoTimelinePanel configurable
This commit is contained in:
parent
6433c31002
commit
926410d663
4 changed files with 36 additions and 33 deletions
|
|
@ -41,6 +41,7 @@ Ox.VideoPanel = function(options, self) {
|
|||
annotationsRange: 'all',
|
||||
annotationsSize: 256,
|
||||
annotationsSort: 'position',
|
||||
annotationsTooltip: 'annotations',
|
||||
censored: [],
|
||||
censoredIcon: '',
|
||||
censoredTooltip: '',
|
||||
|
|
@ -74,7 +75,7 @@ Ox.VideoPanel = function(options, self) {
|
|||
smallTimelineURL: '',
|
||||
subtitles: [],
|
||||
timeline: '',
|
||||
tooltips: false,
|
||||
timelineTooltip: 'timeline',
|
||||
video: '',
|
||||
volume: 1,
|
||||
width: 0
|
||||
|
|
@ -251,7 +252,7 @@ Ox.VideoPanel = function(options, self) {
|
|||
collapsible: true,
|
||||
element: self.$controls,
|
||||
size: 80,
|
||||
tooltip: self.options.tooltips ? 'timeline' : false
|
||||
tooltip: self.options.timelineTooltip
|
||||
}
|
||||
],
|
||||
orientation: 'vertical'
|
||||
|
|
@ -347,7 +348,7 @@ Ox.VideoPanel = function(options, self) {
|
|||
resizable: true,
|
||||
resize: [192, 256, 320, 384],
|
||||
size: self.options.annotationsSize,
|
||||
tooltip: self.options.tooltips ? 'annotations' : false
|
||||
tooltip: self.options.annotationsTooltip
|
||||
}
|
||||
],
|
||||
orientation: 'horizontal'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue