forked from 0x2620/pandora
use {part}
This commit is contained in:
parent
f9c1e52dc7
commit
d1ed12895a
3 changed files with 3 additions and 3 deletions
|
@ -180,7 +180,7 @@ pandora.ui.clipList = function(videoRatio) {
|
||||||
rewind: true,
|
rewind: true,
|
||||||
video: partsAndPoints.parts.map(function(i) {
|
video: partsAndPoints.parts.map(function(i) {
|
||||||
var part = (i + 1),
|
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;
|
return prefix + '/' + item + '/96p' + part + '.' + pandora.user.videoFormat;
|
||||||
}),
|
}),
|
||||||
width: width
|
width: width
|
||||||
|
|
|
@ -44,7 +44,7 @@ pandora.ui.clipPlayer = function() {
|
||||||
data[i] = {
|
data[i] = {
|
||||||
parts: partsAndPoints.parts.map(function(i) {
|
parts: partsAndPoints.parts.map(function(i) {
|
||||||
var part = (i + 1),
|
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;
|
return prefix + '/' + id + '/96p' + part + '.' + pandora.user.videoFormat;
|
||||||
}),
|
}),
|
||||||
points: partsAndPoints.points
|
points: partsAndPoints.points
|
||||||
|
|
|
@ -108,7 +108,7 @@ pandora.ui.itemClips = function(options) {
|
||||||
rewind: true,
|
rewind: true,
|
||||||
video: partsAndPoints.parts.map(function(i) {
|
video: partsAndPoints.parts.map(function(i) {
|
||||||
var part = (i + 1),
|
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;
|
return prefix + '/' + self.options.id + '/96p' + part + '.' + pandora.user.videoFormat;
|
||||||
}),
|
}),
|
||||||
width: self.width
|
width: self.width
|
||||||
|
|
Loading…
Reference in a new issue