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 trial
Aurelian Spodarec
10,801 PointsHow to make a video that expands like a cover?
Hi,
If you look on this example and go throw the carousel to see the video, how do you make it? I worked with video html5 a little bit, but videos are pretty challenging stuff to manipulate.
The video expands 100% each way, and it zoomz in if the width is greater than the orginal video size.
1 Answer
Tim Knight
28,888 PointsThe example you posted I believe uses a jQuery plugin slider that is controlling that, but if you're looking at how to do it yourself this article has a great walkthrough of the process: https://envato.com/blog/video-background-html5-video/