webmusic.js: prevent default action for keydown events
webmusic.js: check for playable content
webmusic.js: hide selector when track selected
webmusic.js: ignore keyboard controls if ctrl or alt is pressed
webmusic.js: seeking in track with number keys
webmusic.js: use single quotes everywhere
webmusic.js: use arrow functions everywhere
webmusic.js: use const for audioplayer and variable element in function playSong
webmusic.js: use strict mode
webmusic.js: add classes needed for previous 2 commits
webmusic.js: use classes for buttons
webmusic.js: navigating through files/folders with arrowkeys/enter
webmusic.js: removed debug prints, better player handling
webmusic.js: bind to audioplayer-events just once
webmusic.js: renamed gstate to playerState
webmusic.js: renamed setState to setPlayerState and updateState to updatePlayerState
webmusic.css: replaced spaces with tabs
needed changes on template and css to make previous commit work
webmusic.js: refactor continuous- and repeat-button handling
webmusic.js: general code improvements
webmusic.js: rename variable 'sound' to 'audioPlayer'
remove howler.core.js
webmusic.js: replace howler with the native Audio() element
webmusic.js: set onclick-event on state element just once
webmusic.js: skip folders
needed changes on template to make previous commit work
webmusic.js: navigate through files more smartly
webmusic.js: code improovements
webmusic.js: replace spaces with tabs
webmusic.js: replace ifs with switch
Co-authored-by: Leah (ctucx) <leah@ctu.cx>
Co-authored-by: Isabelle <hi@f2k1.de>
Co-authored-by: ctucx <c@ctu.cx>
Reviewed-on: https://git.zotan.services/zotan/webmusic/pulls/5
Co-Authored-By: Leah <leah@ctu.cx>
Co-Committed-By: Leah <leah@ctu.cx>
Merge branch 'master' of destiny.zotan.network:ctucx/webmusic
click on back element instead of window.location override
add id to back button, use list elements
Merge branch 'master' into master
new key-combo: ESC for goto parent folder
Co-authored-by: Leah (ctucx) <leah@ctu.cx>
Co-authored-by: Laura Hausmann <laura@hausmann.dev>
Reviewed-on: https://git.zotan.services/zotan/webmusic/pulls/4
Co-Authored-By: Leah <leah@antifa.jetzt>
Co-Committed-By: Leah <leah@antifa.jetzt>