add more variables to videoprefix(id, resolution)
This commit is contained in:
parent
3330512fe4
commit
6c96313191
1 changed files with 4 additions and 2 deletions
|
@ -794,8 +794,10 @@ pandora.getSortOperator = function(key) {
|
||||||
|
|
||||||
pandora.getVideoUrl = function(id, resolution, part) {
|
pandora.getVideoUrl = function(id, resolution, part) {
|
||||||
var prefix = pandora.site.site.videoprefix
|
var prefix = pandora.site.site.videoprefix
|
||||||
.replace('{uid}', Ox.uid())
|
.replace('{id}', id)
|
||||||
.replace('{part}', part);
|
.replace('{part}', part)
|
||||||
|
.replace('{resolution}', resolution)
|
||||||
|
.replace('{uid}', Ox.uid());
|
||||||
return prefix + '/' + id + '/' + resolution + 'p' + part + '.' + pandora.user.videoFormat;
|
return prefix + '/' + id + '/' + resolution + 'p' + part + '.' + pandora.user.videoFormat;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue