buildmymcpserver/apps/web/components
Marco Sadjadi b464b5640f
All checks were successful
Deploy to Production / deploy (push) Successful in 1m0s
feat(video): play-overlay for blocked autoplay + click-to-play
Owner reported "video läuft nicht, sehe nur foto" — classic blocked-
autoplay on browsers with prefers-reduced-motion / data-saver / strict
autoplay policies. The poster sat there forever and the visitor
thought the page was broken because the only control was a tiny
mute pill they didn't realise would also start playback.

Fixes:
- Tracks `playing` state via the video element's own play/pause events
  so React knows whether the browser actually granted autoplay.
- Renders a large centre PLAY button overlay whenever the video is
  paused. The button covers the full frame (universal YouTube / Vimeo
  pattern: click anywhere on the video to play); the inner indigo
  circle with the triangle is the visual affordance, with hover scale
  for tactile feedback.
- Wires onClick directly on the <video> element too so the click-
  anywhere-to-play works whether or not the overlay happens to be up.
- Mute toggle now calls e.stopPropagation so tapping it doesn't
  accidentally trigger play/pause via the video's onClick handler.
- Best-effort .play() call in the mount effect, with the rejection
  silently swallowed — failure just means the user has to click play
  themselves, which the overlay already affords.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-28 03:21:04 +02:00
..
particle-hero feat(video): v10 hero video with mute toggle — voice + bg music 2026-05-28 02:31:10 +02:00
ui feat(web): Next.js 15 shell — design tokens, landing, auth pages 2026-05-19 00:30:20 +02:00
code-block.tsx feat(web): Next.js 15 shell — design tokens, landing, auth pages 2026-05-19 00:30:20 +02:00
cookie-banner.tsx feat: Swiss-compliant launch — Impressum/AGB/Contact, support panel, DSG exports, cookie banner 2026-05-25 17:12:06 +02:00
country-picker.tsx fix(web): UserMenu + CountryPicker dropdowns frosted (Tailwind v4 bug) 2026-05-25 23:04:02 +02:00
docs-page.tsx feat(web): real 3-step wizard, settings, audit, docs, marketing pages 2026-05-19 18:20:31 +02:00
hero-animation.tsx feat(web): hero redesign — cycling step rotator + full-width video section 2026-05-27 12:05:28 +02:00
hero-step-rotator.tsx feat: particle cloud (no discrete dots) + geo-IP country preselect on login 2026-05-27 13:17:20 +02:00
hero-video.tsx feat(video): play-overlay for blocked autoplay + click-to-play 2026-05-28 03:21:04 +02:00
input.tsx feat(web): Next.js 15 shell — design tokens, landing, auth pages 2026-05-19 00:30:20 +02:00
install-snippets.tsx feat(web): dashboard, wizard, server detail, WS build stream, install snippets 2026-05-19 00:32:53 +02:00
json-ld.tsx feat(web): full SEO stack — metadata, JSON-LD, sitemap, robots, OG image 2026-05-21 19:16:40 +02:00
logo.tsx feat(web): Next.js 15 shell — design tokens, landing, auth pages 2026-05-19 00:30:20 +02:00
marketing-auth-buttons.tsx feat(web): glow-pulse on primary CTAs + hero fills full first viewport 2026-05-27 12:20:25 +02:00
marketing-mobile-menu.tsx fix(web): mobile menu background via inline style (Tailwind v4 quirk) 2026-05-23 18:43:57 +02:00
mobile-action-bar.tsx feat(web): app-like mobile dashboard — bottom tab bar, minimal top 2026-05-25 23:15:44 +02:00
pulse.tsx feat(web): glow-pulse on primary CTAs + hero fills full first viewport 2026-05-27 12:20:25 +02:00
scroll-cue.tsx feat(web): restore tall hero + carousel slide + viewport-fixed scroll cue 2026-05-27 12:11:42 +02:00
static-code-block.tsx perf(web): server-only StaticCodeBlock for above-the-fold marketing 2026-05-26 23:30:41 +02:00
status-pill.tsx feat(web): Next.js 15 shell — design tokens, landing, auth pages 2026-05-19 00:30:20 +02:00
streaming-logs.tsx feat(web): dashboard, wizard, server detail, WS build stream, install snippets 2026-05-19 00:32:53 +02:00
user-menu.tsx fix(web): UserMenu + CountryPicker dropdowns frosted (Tailwind v4 bug) 2026-05-25 23:04:02 +02:00