video edit panel: fix view event, make icon list draggable, show milliseconds in player
This commit is contained in:
parent
54f665e39f
commit
a4ab0c1eb3
2 changed files with 3 additions and 1 deletions
|
@ -81,7 +81,7 @@ Ox.ClipPanel = function(options, self) {
|
|||
if (data.id == 'view') {
|
||||
self.options.view = data.checked[0].id;
|
||||
self.$panel.replaceElement(1, self.$list = getList());
|
||||
self.$panel.triggerEvent('view', {view: self.options.view});
|
||||
that.triggerEvent('view', {view: self.options.view});
|
||||
}
|
||||
},
|
||||
click: function(data) {
|
||||
|
@ -264,6 +264,7 @@ Ox.ClipPanel = function(options, self) {
|
|||
});
|
||||
} else {
|
||||
$list = Ox.IconList({
|
||||
draggable: true,
|
||||
fixedRatio: pandora.site.video.previewRatio,
|
||||
item: function(data, sort, size) {
|
||||
size = size || 128; // fixme: is this needed?
|
||||
|
|
|
@ -158,6 +158,7 @@ Ox.VideoEditPanel = function(options, self) {
|
|||
position: self.options.position,
|
||||
resolution: self.options.resolution,
|
||||
scaleToFill: self.options.scaleToFill,
|
||||
showMilliseconds: 3,
|
||||
subtitles: self.options.subtitles,
|
||||
timeline: self.options.smallTimelineURL,
|
||||
video: self.options.video,
|
||||
|
|
Loading…
Reference in a new issue