pieces-app / documentation

Official documentation for Pieces for Developers
https://docs.pieces.app
266 stars 34 forks source link

feat: fix flicker #444

Closed caleb-at-pieces closed 4 weeks ago

caleb-at-pieces commented 4 weeks ago

on the home page of the docs there is a flicker that is caused by the video not being fully loaded on the first page render

adding an optional 'aspect ratio' parameter to the video component fixes this.

vercel[bot] commented 4 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
documentation ✅ Ready (Inspect) Visit Preview May 29, 2024 5:51pm
caleb-at-pieces commented 4 weeks ago

@caleb-at-pieces I would double check the new deployment against the prod deployment. Looks like that aspect ratio added a lot of extra spacing around videos.

oh yea I think my aspect ratio was flipped it should be 5/4 not 4/5