Repository navigation
CD-ROM player: ?start=, ?go and ?airship link options - #13
Merged
Merged
Conversation
…oot, start sound if the browser allows), ?airship ?go probes with a throwaway AudioContext and falls back to the boot card when audio is blocked. Rebuilt dist and refreshed players/cdrom-player.html and cdrom-ambient.html (ambient copy was missing the Oct 26 era-timer fix). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ad4FScAN5Nw3bZz9JVfd1f
…e internal key stays desk) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ad4FScAN5Nw3bZz9JVfd1f
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
?start=KEYstarts on an era (ascii,dos,stars,desk= the airship,maze) and then rotates as usual.?ch=KEYstill locks.?goskips the boot card and starts the sound at once, but only if the browser allows it. A throwaway AudioContext is probed first (250 ms); if it can't run, the boot card shows and its click starts the sound as before.?airship=?start=desk&go, for an easter-egg link on the homepage.dist/; refreshedplayers/cdrom-player.htmlandplayers/cdrom-ambient.html(the ambient copy was missing the Oct 26 era-timer fix).Tested (headless Chromium, default autoplay policy)
?airship: sound starts, airship era, no boot card.allow="autoplay"opened by a click on the host page: sound starts.start=desk&surf=6rotates desk → maze → ascii;ch=deskstays; a badstartfalls back to ascii. No page errors.Not tested: Safari and Firefox (stricter; the boot-card fallback covers them).
Generated by Claude Code