From 462a9d8ef6ffe0b2e370487df62eb0a27e495120 Mon Sep 17 00:00:00 2001 From: j Date: Tue, 6 Jun 2017 10:06:27 +0200 Subject: [PATCH] timeline cache --- static/js/player.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/player.js b/static/js/player.js index 11bada26..fca39c65 100644 --- a/static/js/player.js +++ b/static/js/player.js @@ -26,7 +26,7 @@ pandora.ui.player = function(data) { find: ui.itemFind, getLargeTimelineURL: function(type, i) { return pandora.getMediaURL( - '/' + ui.item + '/timeline' + type + '64p' + i + '.jpg' + '/' + ui.item + '/timeline' + type + '64p' + i + '.jpg?' + data.modified ); }, height: pandora.$ui.contentPanel.size(1), @@ -48,7 +48,7 @@ pandora.ui.player = function(data) { showLayers: Ox.clone(ui.showLayers), showUsers: pandora.site.annotations.showUsers, showTimeline: ui.showTimeline, - smallTimelineURL: pandora.getMediaURL('/' + ui.item + '/timeline16p.jpg'), + smallTimelineURL: pandora.getMediaURL('/' + ui.item + '/timeline16p.jpg?' + data.modified), subtitlesDefaultTrack: Ox.getLanguageNameByCode(pandora.site.language), subtitlesLayer: data.subtitlesLayer, subtitlesOffset: ui.videoSubtitlesOffset,