in edits, support different resolutions
This commit is contained in:
parent
c547b6e877
commit
e020941705
1 changed files with 7 additions and 3 deletions
|
@ -30,9 +30,13 @@ pandora.ui.editPanel = function() {
|
|||
}
|
||||
|
||||
function getVideos() {
|
||||
return Ox.flatten(edit.clips.map(function(clip) {
|
||||
return pandora.getClipVideos(clip);
|
||||
}));
|
||||
var videos = {};
|
||||
pandora.site.video.resolutions.forEach(function(resolution) {
|
||||
videos[resolution] = Ox.flatten(edit.clips.map(function(clip) {
|
||||
return pandora.getClipVideos(clip, resolution);
|
||||
}));
|
||||
});
|
||||
return videos;
|
||||
}
|
||||
|
||||
function render() {
|
||||
|
|
Loading…
Reference in a new issue