Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[website] Improve video poster #892

Merged
merged 1 commit into from
Sep 4, 2022

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Sep 3, 2022

The poster we were using was, IMHO, a bit strange:

  1. It would look like this while the page is loading:

Screenshot 2022-09-03 at 23 55 01

The new poster I'm proposing is the first frame of the video ffmpeg -i hero-video.mp4 -vf "scale=iw*sar:ih,setsar=1" -vframes 1 filename.jpg.

  1. The poster is pretty big compared to the video:

Screenshot 2022-09-03 at 23 55 58

The new poster I'm proposing is x10 smaller

https://deploy-preview-892--mui-toolpad-docs.netlify.app/toolpad/

@oliviertassinari oliviertassinari added performance website Related to the marketing pages labels Sep 3, 2022
@oliviertassinari oliviertassinari force-pushed the fix-video-poster branch 2 times, most recently from 3a567fa to 5a702ad Compare September 3, 2022 22:00
@oliviertassinari oliviertassinari merged commit a9bf579 into mui:master Sep 4, 2022
@oliviertassinari oliviertassinari deleted the fix-video-poster branch September 4, 2022 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance website Related to the marketing pages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants