Commit graph

4 commits

Author SHA1 Message Date
Leah 035c1648c1
more modern js, more keyboard-controls (#5)
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>
2021-03-21 18:04:15 +01:00
Laura Hausmann b9794110cd
lyrics support, code cleanup 2020-12-21 20:43:26 +01:00
Laura Hausmann 193cc39ce2
update to net50 2020-12-21 16:56:20 +01:00
Laura d9c776e1d1
Initial commit
fix repeat
added simple keyboard control
add preloading tracks
add plain view ("api")
fix memory leak, add streaming
responsive viewport
Mobile web capable
2019-07-06 03:59:58 +02:00