fix embed video url
This commit is contained in:
parent
16d7140158
commit
4d8879e02d
1 changed files with 4 additions and 2 deletions
|
@ -21,8 +21,10 @@ Ox.load('UI', {
|
||||||
var video = {};
|
var video = {};
|
||||||
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.user.ui.item + '/'
|
var part = (i + 1),
|
||||||
+ resolution + 'p' + (i + 1) + '.' + pandora.user.videoFormat;
|
prefix = pandora.site.site.videoprefix.replace('PART', part);
|
||||||
|
return prefix + '/' + item + '/'
|
||||||
|
+ resolution + 'p' + part + '.' + pandora.user.videoFormat;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
that.append(pandora.player = Ox.VideoPlayer({
|
that.append(pandora.player = Ox.VideoPlayer({
|
||||||
|
|
Loading…
Reference in a new issue