add more variables to videoprefix(id, resolution)

This commit is contained in:
j 2012-03-03 16:02:30 +01:00
parent 3330512fe4
commit 6c96313191

View File

@ -794,8 +794,10 @@ pandora.getSortOperator = function(key) {
pandora.getVideoUrl = function(id, resolution, part) {
var prefix = pandora.site.site.videoprefix
.replace('{uid}', Ox.uid())
.replace('{part}', part);
.replace('{id}', id)
.replace('{part}', part)
.replace('{resolution}', resolution)
.replace('{uid}', Ox.uid());
return prefix + '/' + id + '/' + resolution + 'p' + part + '.' + pandora.user.videoFormat;
}