Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialhector alvarado
15,796 PointsHow to make a video Fluid
So when i change the size on the navigator the video of treehouse mantain a fluid state, try yourself go inside any video and make the window screen small and the video mantain the aspect ratio and size, I have a project which needs of that effect but in a bacgkround sounless video, how do I achive video fluidity without losing aspect ratio.
1 Answer
David Perkins
9,607 PointsWhat you're looking for can be achieved in a few different ways, but from what you're suggesting, i've thrown something really quick together as an idea/concept for you to have a look at.
https://codepen.io/prkns/pen/eWbRvY
Let me know what you think and if you have any questions, i'll be glad to help explain any part of it.