Skip to content

Web player: live progress, mirrors, restartable links, share targets - #2

Merged
JonTelep merged 1 commit into
mainfrom
seamless-web
Oct 21, 2026
Merged

JonTelep merged 1 commit into
mainfrom
seamless-web

Conversation

@JonTelep

Copy link
Copy Markdown
Owner

Makes the web player feel instant and recoverable.

  • No frozen button: /w?url=… opens the player right away; the stream is found and relayed in a background thread while the page polls /j/<id> and shows unplayer's progress live.
  • Skip the paste: /?url= redirect, auto-submit on paste, drag-to-bookmarks link, and a manifest.json share target (Android share menu). README covers the iPhone Shortcut.
  • Recoverable: watch links restart on refresh/bookmark; Next mirror → and ↻ Restart buttons; the player stops retrying and says so when the source dies.
  • Recent links on the home page (last 5 that played, from the stats DB).
  • Viewers of the same link share one ffmpeg relay.

Tested against a local HLS source in Chrome: progress → buffering → playback, mirror out of range, share-text links, dead-source message. make test passes.

Not verified: PWA install on a real Android phone (SVG-only icon; may need 192/512 PNGs).

🤖 Generated with Claude Code

/w?url=<page>[&n=<mirror>] opens the player at once; a background thread finds
and relays the stream while the page polls /j/<id> and shows each step. Watch
links restart the stream on refresh, viewers of the same link share one relay,
and the player offers Restart / Next mirror and says when the source dies.
Home page lists recent links, auto-submits on paste and has a bookmarklet;
a web manifest makes it an Android share target.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@JonTelep
JonTelep merged commit 247022e into main Oct 21, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant