diff --git a/static/js/pandora/item.js b/static/js/pandora/item.js index 5f945014..846054b1 100644 --- a/static/js/pandora/item.js +++ b/static/js/pandora/item.js @@ -64,8 +64,10 @@ pandora.ui.item = function() { }); pandora.site.video.resolutions.forEach(function(resolution) { video[resolution] = Ox.range(result.data.parts).map(function(i) { - return pandora.site.site.videoprefix + '/' + pandora.user.ui.item + '/' - + resolution + 'p' + (i + 1) + '.' + pandora.user.videoFormat; + var part = (i + 1), + prefix = pandora.site.site.videoprefix.replace('PART', part); + return prefix + '/' + pandora.user.ui.item + '/' + + resolution + 'p' + part + '.' + pandora.user.videoFormat; }); }); }