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!

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

General Discussion

Anybody else having a hard time seeing the videos on a laptop? I created a Firefox add-on that fixes it. Check it out!

Firefox add-on link: https://addons.mozilla.org/en-US/firefox/addon/treehouse-video-big/

When I'm working on my laptop I watch videos on one virtual desktop, code in another, run my terminal and have my file explorer open in a third, and have my site I'm developing open in a fourth.

Watching the Treehouse videos on my 15 inch screen poses a bit of a problem because the code they type in the videos is sometimes difficult to see. If I play the video in full screen, however, it looks beautiful and clear, but I have to exit full screen to switch virtual desktops or else wonkiness happens to the browser window (hides off screen, minimizes, etc.).

So, I created a Firefox plugin/add-on that readjusts the size of the video to the size of your browser screen up to the video player's container's max size.

It works great on my laptop now, and I was wondering if anybody wants to try it and give me feedback?

How it works: I just target the video player id and increase the max height to the height of the browser window minus the header height (70px). I had to put a couple second delay on making the change until after the page loads because the Treehouse page continued to load stuff for a second or two. So after each page load just count to three and your video player should be resized. And I made it domain specific so that it will only work on video players on the Treehouse site.

Check it out and let me know what you think!

Thanks, Matt

Firefox add-on link: https://addons.mozilla.org/en-US/firefox/addon/treehouse-video-big/