Add title to audio element

This commit is contained in:
An Phan 2016-01-30 23:38:55 +08:00
parent 5b496915a6
commit 7e67d5db59

View file

@ -110,6 +110,7 @@ export default {
this.app.$broadcast('song:played', song);
$('title').text(`${song.title} ♫ Koel`);
$('.player audio').attr('title', `${song.album.artist.name} - ${song.title}`);
this.player.restart();
this.player.play();