diff --git a/static/js/pandora/list.js b/static/js/pandora/list.js index 97ad50d9..cdfb5d15 100644 --- a/static/js/pandora/list.js +++ b/static/js/pandora/list.js @@ -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); diff --git a/static/js/pandora/utils.js b/static/js/pandora/utils.js index dfd02003..4274446d 100644 --- a/static/js/pandora/utils.js +++ b/static/js/pandora/utils.js @@ -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; }; diff --git a/static/js/pandora/videoView.js b/static/js/pandora/videoView.js index 465c005b..1cfa8d4f 100644 --- a/static/js/pandora/videoView.js +++ b/static/js/pandora/videoView.js @@ -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 = [],