1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-04 10:19:25 +02:00

Enable a size for HTML5 Player sized albumart

This commit is contained in:
Stephen Shkardoon 2013-08-05 03:13:00 +12:00 committed by Paul Arthur
parent a201a05d06
commit 6f05b3d436
2 changed files with 6 additions and 1 deletions

View file

@ -75,7 +75,7 @@ function play(event)
//$('album').select('a')[0].writeAttribute('target', '_new');
$('artist').update(current_playlist_item.author);
//$('artist').select('a')[0].writeAttribute('target', '_new');
$('albumart').update(new Element('img', {src: current_playlist_item.albumart_url}));
$('albumart').update(new Element('img', {src: current_playlist_item.albumart_url + '&thumb=4'}));
dequeue(current_playlist_item.element);
current_playlist_item.player.writeAttribute('preload', 'auto');
current_playlist_item.player.play();