Skip to content

docs(command-center): autoplay overview video on #watch links#690

Merged
khushalsonawat merged 1 commit into
devfrom
docs/agentcc-video
Jun 25, 2026
Merged

docs(command-center): autoplay overview video on #watch links#690
khushalsonawat merged 1 commit into
devfrom
docs/agentcc-video

Conversation

@khushalsonawat

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #688 / #689. Makes the Agent Command Center overview video autoplay when a visitor arrives via /docs/command-center#watch, so email/newsletter traffic lands on the docs and the video starts playing immediately.

Changes

  • Add an id + data-embed to the overview iframe and a small inline handler: when the URL hash is #watch, the embed reloads with autoplay=1&mute=1 (browsers require muted autoplay) and scrolls into view.
  • Normal visitors are unaffected — the video stays click-to-play.

Testing

  • Page builds (HTTP 200); the iframe carries the autoplay permission and data-embed; handler is present in the rendered HTML. (The external iframe hangs the headless test browser, so autoplay was not auto-verified — confirm by opening …/command-center#watch.)

🤖 Generated with Claude Code

- Add id + data-embed to the overview iframe and a small handler so /docs/command-center#watch autoplays the muted video and scrolls to it (for email/campaign traffic)
- Normal visitors keep click-to-play
@khushalsonawat khushalsonawat self-assigned this Jun 25, 2026
@khushalsonawat khushalsonawat merged commit fbf4f17 into dev Jun 25, 2026
4 of 5 checks passed
@khushalsonawat khushalsonawat deleted the docs/agentcc-video branch June 25, 2026 16:06
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