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() {
|
function getVideos() {
|
||||||
return Ox.flatten(edit.clips.map(function(clip) {
|
var videos = {};
|
||||||
return pandora.getClipVideos(clip);
|
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() {
|
function render() {
|
||||||
|
|
Loading…
Reference in a new issue