Skip to content

fix(feed): retry web playback after age verification#4702

Open
rabble wants to merge 3 commits into
mainfrom
fix/web-age-gate-retry
Open

fix(feed): retry web playback after age verification#4702
rabble wants to merge 3 commits into
mainfrom
fix/web-age-gate-retry

Conversation

@rabble
Copy link
Copy Markdown
Member

@rabble rabble commented May 25, 2026

Summary

  • Recreate the active web video player after age verification succeeds so auth-gated playback retries with fresh viewer headers.
  • Clear the age-restricted playback status before retrying and guard web player key cleanup against disposing stale retry instances.
  • Add regression coverage for WebVideoFeedState.retryPlayback and keep fullscreen web factory injection testable.

Test plan

  • dart format lib test integration_test
  • Analyzer on touched files: No errors
  • flutter test test/widgets/web_video_feed_test.dart test/screens/feed/pooled_fullscreen_video_feed_screen_test.dart (+48 ~4, 4 skipped; all other tests passed)

🤖 Generated with Claude Code

@github-actions github-actions Bot added the needs-issue PR needs a linked tracking issue label May 25, 2026
@github-actions
Copy link
Copy Markdown

🔗 Link this PR to an issue

This PR doesn't reference a tracking issue yet. These open issues look related:

To link: edit the PR description and add Closes #<number> (if this PR will close the issue) or Relates to #<number> (if the PR is related but doesn't close it).
If none of these match, add Closes #none and a new tracking issue will be created automatically.

This comment and the needs-issue label will be removed once an issue is linked.

@github-actions

This comment has been minimized.

rabble and others added 2 commits May 25, 2026 14:59
Web auth-gated fullscreen videos were left on the age-restricted overlay after verification because the HLS player was never recreated. Retry the active web player once auth succeeds so playback can load with fresh viewer headers.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Age verification returns request headers that must be used when recreating the web player; otherwise the retry immediately hits the age gate again.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@rabble rabble force-pushed the fix/web-age-gate-retry branch from 6f0b5a5 to 4a08544 Compare May 25, 2026 03:06
@github-actions

This comment has been minimized.

Age-gated media on web needs the HLS auth player path because direct browser MP4 playback cannot attach NIP-98 authorization headers.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

Mobile PR Preview

Preview refreshed for 98de0c3

Last refresh: 98de0c3 at 2026-05-25 04:15:21 UTC (preview run)

Property Value
Preview URL https://78341f29.openvine-app.pages.dev
Pages project openvine-app
Preview branch pr-4702
PR branch fix/web-age-gate-retry
Commit 98de0c3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-issue PR needs a linked tracking issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant