make sure videoPreview is up to date

This commit is contained in:
j 2015-11-10 16:08:00 +01:00
commit 9be454dfba
3 changed files with 5 additions and 3 deletions

View file

@ -14,13 +14,13 @@ pandora.ui.videoPreview = function(data) {
: Ox.max(pandora.site.video.resolutions);
return pandora.getMediaURL('/' + data.id + '/' + resolution + 'p' + (
Ox.isUndefined(position) ? '' : position
) + '.jpg');
) + '.jpg?' + data.modified);
},
frameRatio: data.frameRatio,
height: data.height,
position: data.position,
scaleToFill: true,
timeline: pandora.getMediaURL('/' + data.id + '/timeline16p.jpg'),
timeline: pandora.getMediaURL('/' + data.id + '/timeline16p.jpg?' + data.modified),
videoTooltip: data.videoTooltip,
width: data.width
});