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:
Seth 2014-11-13 21:30:04 +00:00
parent 1b17757103
commit 674dff0e2d

View file

@ -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;
}
}