The idea is to:
- Run a script which converts a
SONGNAME.wav
toSONGNAME.mp3
,SONGNAME.ogg
andSONGNAME.webm
(usingffmpeg
) - Upload the 3 files to https://kuu.se/play/audio/
- Play the the file https://kuu.se/play/#SONGNAME using the same player.
Things to improve:
- Big play/pause button
- Responsive (even bigger play button on phone)
- Siri waves at bottom of page (or anywhere not interfering with button)
- Bigger volume button with vertical layout
- Fast Forward/Rewind not working on mobile
Tests:
- original example: https://howlerjs.com/#player OK
- fossil server: http://192.168.1.37:8080/doc/ckout/index.html BUG: mobile (Chrome and Opera) - restarts from beginning after pause instead of continue
- file Win32:
file:///C:/fossil/nested/howler/index.html
OK - file Android:
file:///C:/fossil/nested/howler/index.html
OK (termux-storage-setup
, copyhowler
to~/storage/shared/kuuse/
- https://kuu.se/play/ Apache - OK (also on mobile)
Bug may be related to fossil server. No need to fix for now.
On server
First time:
mkdir -p /home/redantig/www/kuu.se/play && cd /home/redantig/www/kuu.se/play && fossil open ~/fossil/repos/howler.fossil
Update:
cd /home/redantig/www/kuu.se/play && fossil update
deepPink
http://www.html-color-names.com/deeppink.php
HTML Color Name DeepPink
Hex Color Code #ff1493
RGB Decimal rgb(255, 20, 147)
Howler GitHub
https://github.com/goldfire/howler.js
Better GUI than Howler's demo player
Wavesurfer
https://github.com/katspaugh/wavesurfer.js