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
Marcus Parsons
15,719 PointsFeature Request: Video Container Format
I've noticed that the video is much larger now, regardless of my current screen size. The video itself seems proportionate to my screen size, when I adjust it to fit exactly via some meticulous scrolling. But, I'm finding myself having to constantly scroll to get to the control buttons below the video, and then I have to roll the scroll bar back up and reposition the video so that I can see all of the video again.
I've heard at least a couple other people mention how it is too large for their screen: Julius Danek and Elina P. I'm certain there are others out there who share this sentiment with the video size.
I propose that you all make the video container, not just the video element, a proportionate size for the current screen.
I wrote a little piece of JavaScript specifically for this site that can be pasted into a console and will temporarily overrule the styles set for #video-container. Even though it has to be copied and pasted on any video page, it is still much better than having to constantly scroll and adjust and then rinse and repeat.
var styleEl = document.createElement('style');
//Change this value to be a proportionate size for you
//I found 85% to work for me
var scale = '85%';
styleEl.type = 'text/css';
document.getElementsByTagName('head')[0].appendChild(styleEl);
styleEl.appendChild(document.createTextNode('#video-container { width:'+scale+'; height:'+scale+';}'));