forked from 0x2620/pandora
sort video by clip props
This commit is contained in:
parent
88b27d2f35
commit
a660dc327c
3 changed files with 7 additions and 2 deletions
|
@ -382,7 +382,7 @@ pandora.ui.list = function() {
|
|||
that = pandora.ui.navigationView(view);
|
||||
}
|
||||
|
||||
if (['list', 'grid', 'clips', 'timelines'].indexOf(view) > -1) {
|
||||
if (['list', 'grid', 'clips', 'timelines', 'video'].indexOf(view) > -1) {
|
||||
|
||||
pandora.enableDragAndDrop(that, true);
|
||||
|
||||
|
|
|
@ -1256,7 +1256,7 @@ pandora.isClipView = function(view, item) {
|
|||
item = pandora.user.ui.item;
|
||||
}
|
||||
return (
|
||||
!item ? ['calendar', 'clip', 'map'] : ['calendar', 'clips', 'map']
|
||||
!item ? ['calendar', 'clip', 'map', 'video'] : ['calendar', 'clips', 'map']
|
||||
).indexOf(view) > -1;
|
||||
};
|
||||
|
||||
|
|
|
@ -8,6 +8,11 @@ pandora.ui.videoView = function() {
|
|||
that = Ox.Element().css({
|
||||
width: '100%',
|
||||
hegiht: '100%',
|
||||
}).update({
|
||||
sort: function() {
|
||||
//fixme just update player items
|
||||
loadPlayer();
|
||||
}
|
||||
}),
|
||||
range = [0, 500],
|
||||
clips = [],
|
||||
|
|
Loading…
Reference in a new issue