Skip to content

Defer promo video iframe until modal opens - #26

Merged
warshawcal merged 1 commit into
mainfrom
defer-promo-video
Sep 12, 2026
Merged

warshawcal merged 1 commit into
mainfrom
defer-promo-video

Conversation

@warshawcal

@warshawcal warshawcal commented Sep 12, 2026 •

Copy link
Copy Markdown
Collaborator

Matches the deferral pattern from #25. No JS changes needed.
Also drops two no-op allow tokens (accelerated-video-decode, gyroscope).

Copilot AI lite review requested due to automatic review settings September 12, 2026 00:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No unresolved review comments remain.

Pull request overview

Defers loading the promotional YouTube iframe until the video modal opens, reducing initial page-load work.

Changes:

  • Replaces the iframe’s eager src with data-src.
  • Removes the accelerated-video-decode permission.
File summaries
File Description
index.html Defers promo video iframe loading and updates iframe permissions.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@warshawcal
warshawcal merged commit 08adda0 into main Sep 12, 2026
1 check passed
@warshawcal
warshawcal deleted the defer-promo-video branch September 12, 2026 01:01
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.

2 participants