full page background video #229
Unanswered
Leviathan91
asked this question in
Q&A
Replies: 1 comment
-
is the issue here that the yes, by default next-video does put an aspect-ratio of 16 / 9 because 80% chance it would need it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to use next-video (using mux as provider) to have a video background on my landing page, but there are certain width/height constellations where this does not seem to work (my best guess right now is that the video wants to stay in a 16:9 aspect ratio?) for next-video, while it does work for the native video implementation.
This is my code
with these styles
And here are images to illustrate the problem.
I also removed the video div and applied the style directly to the Video component, same result.
Edit: I've just seen that you guys added BackgroundVideo to your documentation and that works, amazing!
If you don't mind tho I'd still know how I would fix this without using the BackgroundVideo component so I learn something
Beta Was this translation helpful? Give feedback.
All reactions