use {part}

This commit is contained in:
j 2012-03-03 12:53:35 +01:00
parent f9c1e52dc7
commit d1ed12895a
3 changed files with 3 additions and 3 deletions

View file

@ -180,7 +180,7 @@ pandora.ui.clipList = function(videoRatio) {
rewind: true,
video: partsAndPoints.parts.map(function(i) {
var part = (i + 1),
prefix = pandora.site.site.videoprefix.replace('PART', part);
prefix = pandora.site.site.videoprefix.replace('{part}', part);
return prefix + '/' + item + '/96p' + part + '.' + pandora.user.videoFormat;
}),
width: width

View file

@ -44,7 +44,7 @@ pandora.ui.clipPlayer = function() {
data[i] = {
parts: partsAndPoints.parts.map(function(i) {
var part = (i + 1),
prefix = pandora.site.site.videoprefix.replace('PART', part);
prefix = pandora.site.site.videoprefix.replace('{part}', part);
return prefix + '/' + id + '/96p' + part + '.' + pandora.user.videoFormat;
}),
points: partsAndPoints.points

View file

@ -108,7 +108,7 @@ pandora.ui.itemClips = function(options) {
rewind: true,
video: partsAndPoints.parts.map(function(i) {
var part = (i + 1),
prefix = pandora.site.site.videoprefix.replace('PART', part);
prefix = pandora.site.site.videoprefix.replace('{part}', part);
return prefix + '/' + self.options.id + '/96p' + part + '.' + pandora.user.videoFormat;
}),
width: self.width