Skip to content

Play an intro video when GLEAPP opens, with a box to stop it - #216

Merged
abrignoni merged 2 commits into
mainfrom
feat/first-run-intro-video
Sep 27, 2026
Merged

abrignoni merged 2 commits into
mainfrom
feat/first-run-intro-video

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Plays the GLEAPP intro video over the launcher when the program opens, until the examiner ticks "Don't show this at startup".

  • Close, Esc, a click outside it or the end of the video closes it. Watch intro in the launcher's ☰ Menu, or under Help in a case's ☰ Menu, plays it again and can turn it back on.
  • The choice is per-user config (show_intro), set through /api/settings. No case is touched.
  • If the window won't start it with sound it plays muted and says so. If the window can't play the file it closes. Keys stop at the overlay, so gallery shortcuts can't act behind it.
  • The video is re-encoded from the 21 MB 1080p60 master to 1080p30 with the moov first: 6.2 MB, SSIM 0.9955 against the master. Video and soundtrack are original to the project.

Checked in the real desktop window on macOS (WKWebView): it autoplays with sound, the box saves, and the next launch neither opens nor loads the file. The muted fallback, Esc, the error close and the key blocking were exercised in Chromium.

🤖 Generated with Claude Code

abrignoni and others added 2 commits September 27, 2026 10:37
The launcher opens a 52 second intro video over itself until the examiner
ticks "Don't show this at startup". Close, Esc, a click outside it or the
end of the video closes it, and Watch intro in the launcher's menu (or under
Help in a case's menu) plays it again and can turn it back on. The choice is
per-user config (appconfig show_intro), set through /api/settings and
reported by /api/context; no case is touched.

If the window will not start it with sound, it plays muted and says how to
turn sound on. If the window cannot play the file at all, it closes. While
it is open, keys stop at it, so the gallery's shortcuts cannot act on the
case behind it. A launch with the box ticked never loads the file.

The video is re-encoded from the 1080p60 master (21 MB) to 1080p30 H.264 and
AAC with the moov first (6.2 MB, SSIM 0.9955 against the master), and the
poster frame is a 66 KB JPEG. Both the video and its soundtrack are original
to the project.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
pylint reported redefined-outer-name on each test taking the fixture.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@abrignoni
abrignoni merged commit 981b6e0 into main Sep 27, 2026
8 checks passed
@abrignoni
abrignoni deleted the feat/first-run-intro-video branch September 27, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant