Skip to content

feat(direct): hold the video 2s to reveal skip controls - #252

Merged
rvegajr merged 1 commit into
developfrom
feat/seek-hold-overlay
Oct 15, 2026
Merged

rvegajr merged 1 commit into
developfrom
feat/seek-hold-overlay

Conversation

@rvegajr

@rvegajr rvegajr commented Oct 12, 2026

Copy link
Copy Markdown
Member

What

  • Gesture change: the seek strip (rewind, skip, pause, go live) used to open from a tap on the center 20% of the video, so ordinary taps meant for the player opened it by accident. It now opens only from a 2-second press anywhere above the native controls.
  • Dismiss: a tap anywhere outside the buttons dismisses it, including tabs and page chrome (handled by a capture-phase pointerdown listener). It still auto-dismisses after 3s idle.
  • Teaching the gesture: a new SeekHoldHint shows a one-time tip until the viewer taps "Got it", remembered in localStorage. The touch help line now reads "Hold the video 2s to skip".
  • Mobile press handling: the long-press zone suppresses the context menu and iOS callout so the press isn't hijacked.

Tests

Ran on this branch, on top of current develop, with Node 26:

  • apps/web Vitest: 90 files, 920 passed, 3 skipped. That includes new SeekHoldHint tests (3) and the updated SeekOverlay (19), MuxStreamPlayer and VidstackPlayer tests.
    • In one earlier full run, multi-user-chat › "should handle simulated network delay" failed once. It passed 3 of 3 times on its own and in the next full run, so it's a timing flake, not related to this change.
  • apps/web tsc --noEmit: clean.
  • e2e/seek-protection.spec.ts was updated to use the long press, but Playwright was not run for this PR.

🤖 Generated with Claude Code

The seek strip used to open from a tap on the center 20% of the video,
which fired on ordinary taps meant for the player. It now opens only from
a 2s press anywhere above the native controls. A tap anywhere else,
including tabs and page chrome, dismisses it.

A one-time hint (SeekHoldHint, remembered in localStorage) teaches the
gesture, and the touch help text now says "Hold the video 2s to skip".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rvegajr
rvegajr merged commit a48132d into develop Oct 15, 2026
3 checks passed
rvegajr added a commit that referenced this pull request Oct 17, 2026
Promote develop to release (uat): seek hold overlay (#252), refund fixes (#253), credential cleanup (#251)
rvegajr added a commit that referenced this pull request Oct 17, 2026
Promote develop to production: seek hold overlay (#252), refund fixes (#253), credential cleanup (#251)
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