Skip to content

docs: autoplay demo video in hero, swap logo and cover image#84

Merged
mrpollo merged 2 commits intomainfrom
docs/hero-video-and-logo
Apr 23, 2026
Merged

docs: autoplay demo video in hero, swap logo and cover image#84
mrpollo merged 2 commits intomainfrom
docs/hero-video-and-logo

Conversation

@mrpollo
Copy link
Copy Markdown
Contributor

@mrpollo mrpollo commented Apr 23, 2026

Replaces the static screenshot in the VitePress home hero with an autoplaying muted loop of Mike's demo video, hosted at artifacts.px4.io/hawkeye/demo.mp4 (CloudFront in front of px4-travis). Uses a custom theme that overrides the home-hero-image slot and tunes the hero CSS so a 16:9 video fits cleanly instead of being cropped into the default 320x320 square container. Video is H.264 High + AAC in MP4 with faststart, re-encoded from 77MB down to 11MB at CRF 22, visually indistinguishable from source, plays in every major browser.

The README header image and docs nav logo are updated in the same change. cover.png (a poster frame pulled from the video) replaces the old screenshot at the top of README.md, and the PX4 logo SVG replaces the screenshot thumbnail in the docs sidebar. The now-unused docs/public/screenshot.png is removed.

Typography on the home hero is also dialed down a few pixels so the headline and tagline don't dominate the layout.

mrpollo added 2 commits April 22, 2026 19:11
Replaces the static screenshot in the VitePress home hero with an autoplaying
muted loop of the demo video, hosted at artifacts.px4.io/hawkeye/demo.mp4.
Adds a custom theme that overrides the home-hero-image slot, tunes the hero
typography down, and frees the image container from the default 320x320
square cap so a 16:9 video fits cleanly.

The README header image and docs nav logo are updated too: cover.png (poster
frame from the video) replaces the old screenshot at the top of README.md,
and the PX4 logo SVG replaces the thumbnail in the sidebar.
@mrpollo mrpollo merged commit a60e51b into main Apr 23, 2026
6 checks passed
@mrpollo mrpollo deleted the docs/hero-video-and-logo branch April 23, 2026 02:17
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.

1 participant