From d1ed12895acc2e308d324b21d205dc772f1cfb24 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 3 Mar 2012 12:53:35 +0100 Subject: [PATCH] use {part} --- static/js/pandora/clipList.js | 2 +- static/js/pandora/clipPlayer.js | 2 +- static/js/pandora/itemClips.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/static/js/pandora/clipList.js b/static/js/pandora/clipList.js index f0271360a..4faa16d67 100644 --- a/static/js/pandora/clipList.js +++ b/static/js/pandora/clipList.js @@ -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 diff --git a/static/js/pandora/clipPlayer.js b/static/js/pandora/clipPlayer.js index 8fd209a3e..808a9c10f 100644 --- a/static/js/pandora/clipPlayer.js +++ b/static/js/pandora/clipPlayer.js @@ -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 diff --git a/static/js/pandora/itemClips.js b/static/js/pandora/itemClips.js index 3f45ab08f..6d3d62d76 100644 --- a/static/js/pandora/itemClips.js +++ b/static/js/pandora/itemClips.js @@ -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