mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 09:37:17 +00:00
Issue #27 Patch 1
Almost forgot to add left and right arrow shortcuts. Added placeholders for jumping back/forth in playlist 10 songs for future implementation
This commit is contained in:
parent
1b17757103
commit
674dff0e2d
1 changed files with 4 additions and 0 deletions
|
|
@ -415,8 +415,12 @@ document.onkeyup = function(e){
|
|||
case 104: winamp.setVolume((winamp.nodes.volume.value*1)+1); break;
|
||||
case 40: winamp.setVolume((winamp.nodes.volume.value*1)-1); break;
|
||||
case 98: winamp.setVolume((winamp.nodes.volume.value*1)-1); break;
|
||||
case 37: winamp.media.audio.currentTime-=5; winamp.updateTime(); break;
|
||||
case 103: winamp.media.audio.currentTime-=5; winamp.updateTime(); break;
|
||||
case 39: winamp.media.audio.currentTime+=5; winamp.updateTime(); break;
|
||||
case 105: winamp.media.audio.currentTime+=5; winamp.updateTime(); break;
|
||||
case 97: /* Placeholder for jump backwards 10 songs in playlist or to start of */ break;
|
||||
case 99: /* Placeholder for jump forwards 10 songs in playlist or to start of */ break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue