Skip to content

Add MWC live demo video to homepage modal - #25

Merged
warshawcal merged 3 commits into
mainfrom
add-demo-video
Sep 12, 2026
Merged

warshawcal merged 3 commits into
mainfrom
add-demo-video

Conversation

@warshawcal

Copy link
Copy Markdown
Collaborator

Swaps the placeholder div for a youtube-nocookie iframe. Video: HfAVCsJ0Tro

Swaps the placeholder div for a youtube-nocookie iframe.
Video: HfAVCsJ0Tro
Copilot AI lite review requested due to automatic review settings September 12, 2026 00:13

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.

🟡 Changes recommended

Defer the iframe URL until the modal opens or use verified lazy loading.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Adds the MWC live demo YouTube embed to the homepage modal.

Changes:

  • Replaces the placeholder with a privacy-enhanced YouTube iframe.
  • Adds video metadata and playback permissions.
File summaries
File Summary
index.html Embeds the MWC demo video; the hidden iframe may trigger an unintended third-party request before the modal opens.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

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

Comment thread index.html Outdated
Copilot AI review requested due to automatic review settings September 12, 2026 00:20

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 issues were identified.

Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

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

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 issues were identified.

Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@warshawcal
warshawcal merged commit af37d68 into main Sep 12, 2026
1 check passed
@warshawcal
warshawcal deleted the add-demo-video branch September 12, 2026 00:47
warshawcal added a commit that referenced this pull request Sep 12, 2026
The promo iframe loaded YouTube on every homepage visit, even
for visitors who never opened the modal — a third-party request
to Google before any user action.

Switching to data-src defers the load until openModal() runs.
Homepage now makes zero YouTube requests until the video is
clicked. Uses the deferral path already in initModal (#25).

Also removes two no-op allow tokens: accelerated-video-decode
(not a real Permissions Policy token) and gyroscope (360° video
only).
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