11 Commits

Author SHA1 Message Date
kgva CMS 666681be7c fix: pause icon drawn in css instead of a glyph, no more gap
letter-spacing on the ❚❚ glyph could tighten the character cells but not the visible gap between them on a monospace font — each character keeps its own cell regardless. now two bars drawn via ::before/::after on .is-playing, with exact pixel control over the gap; the ▶ span just hides instead of getting replaced.
2026-08-15 11:49:27 +00:00
kgva CMS 11660ac63d fix: play/pause button size consistency, add a real volume slider
the play/pause button had no fixed width, so swapping the single-character play glyph for the two-character pause glyph (with the fonts normal spacing between them) visibly widened the button. now a fixed 2.4ch width with tightened tracking on the pause state.\n\nmute only ever toggled — there was no way to set a level. added a small click/drag bar next to it (same interaction as the scrub bar), synced with the video elements own volume/muted state via the volumechange event so it stays correct regardless of how its changed.
2026-08-15 11:44:14 +00:00
kgva CMS 46aff56577 perf: smoother video player — rAF-driven scrub bar, less cold-start stutter
scrub fill/time were driven off timeupdate, which browsers fire irregularly (a handful of times a second) — visible as the bar stepping instead of gliding. now driven by requestAnimationFrame while playing (display refresh rate), with a direct sync on pause/seeked so it still tracks immediately when not running.\n\npreload=none meant zero data was fetched until the play button was pressed, causing a visible stall right at playback start. preload=metadata lets the browser prime the connection and read the moov atom ahead of time without fetching the full video for visitors who never press play.
2026-08-15 00:24:17 +00:00
kgva CMS fb6e87ef24 feat: filebrowser shows only images; info.md moves to a side panel in Libre Baskerville 2026-08-10 22:02:37 +00:00
karim c46f9a48f7 i18n: bilingual de/en, bundle js from assets via hugo pipes, css refresh
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-30 01:07:04 +02:00
karim 8bd3e6449b fix: guard len images for video-only projects 2026-06-29 12:03:36 +02:00
karim dd9fb79b5d video as filebrowser entry 2026-06-29 12:02:44 +02:00
karim cc2840fe5c custom terminal video player 2026-06-29 11:50:30 +02:00
karim a0d4cd150c selfhost video, drop vimeo 2026-06-29 11:06:23 +02:00
karim 0fb7127436 vimeo: privacy click-to-load 2026-06-29 10:05:45 +02:00
karim f7643602cb import kgva site 2026-06-29 01:37:03 +02:00