mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
When a music file is playing, the page title gets modified.
This commit is contained in:
parent
9e105d9bd7
commit
041e3575d1
1 changed files with 3 additions and 1 deletions
|
|
@ -93,9 +93,11 @@ var PlayList={
|
|||
ended:PlayList.next,
|
||||
pause:function(){
|
||||
localStorage.setItem(oc_current_user+'oc_playlist_playing','false');
|
||||
document.title = "ownCloud";
|
||||
},
|
||||
play:function(){
|
||||
play:function(event){
|
||||
localStorage.setItem(oc_current_user+'oc_playlist_playing','true');
|
||||
document.title = "\u25b8 " + event.jPlayer.status.media.name + " - " + event.jPlayer.status.media.artist + " - ownCloud";
|
||||
},
|
||||
supplied:type,
|
||||
ready:function(){
|
||||
|
|
|
|||
Loading…
Reference in a new issue