forked from 0x2620/pandora
prefix part variable
This commit is contained in:
parent
5da7b3b0e7
commit
4a37f20f54
1 changed files with 4 additions and 2 deletions
|
@ -64,8 +64,10 @@ pandora.ui.item = function() {
|
||||||
});
|
});
|
||||||
pandora.site.video.resolutions.forEach(function(resolution) {
|
pandora.site.video.resolutions.forEach(function(resolution) {
|
||||||
video[resolution] = Ox.range(result.data.parts).map(function(i) {
|
video[resolution] = Ox.range(result.data.parts).map(function(i) {
|
||||||
return pandora.site.site.videoprefix + '/' + pandora.user.ui.item + '/'
|
var part = (i + 1),
|
||||||
+ resolution + 'p' + (i + 1) + '.' + pandora.user.videoFormat;
|
prefix = pandora.site.site.videoprefix.replace('PART', part);
|
||||||
|
return prefix + '/' + pandora.user.ui.item + '/'
|
||||||
|
+ resolution + 'p' + part + '.' + pandora.user.videoFormat;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue