rotemdan / maximizerforyoutube Goto Github PK
View Code? Open in Web Editor NEWMaximizes the YouTube player to fill the entire browser viewport when in theater mode, plus a few other enhancements.
License: MIT License
Maximizes the YouTube player to fill the entire browser viewport when in theater mode, plus a few other enhancements.
License: MIT License
I'm using the latest MaximizerForYouTube userscript on Firefox 56.0.2 with Greasemonkey and YouTubes new material design and dark skin activated.
Two problems, which I'm unsure if it's a bug or normal operation.
When I open a YouTube video it doesn't automatically go into Theater mode. I have to click the theater mode button, then it appears to work fine.
When I'm in Theater mode, I can see the YouTube scrollbar on the right side. Is this normal? If so, can it be made to remove the scrollbar when in theater mode?
Thanks for this script, it freaking awesome!
Hello, excellent work with this plugin, I really like that it stops autoplay for videos opened in a new (background) tab. However, if I click on a youtube video for the current tab, I usually want it to autoplay, so I think this should be the default behaviour.
Very useful script, the only thing that does not work is description auto expand (i use Greek language in Youtube).
I recommend you to use the following lines that work for me (script made by makise-homura):
document.addEventListener('dom-change', `function()`
{
// Expand descriptions
if (!document.getElementById('expand').hidden) {document.getElementById("expand").click();}
// Expand comment text
//document.querySelectorAll("span.more-button.style-scope.ytd-comment-renderer").forEach(x => (function(x) {if (x.offsetParent != null) {x.click();}})(x));
// Expand first part of comment subtrees
//document.querySelectorAll("#more-replies.more-button").forEach(x => (function(x) {if (!x.hidden) {x.click();}})(x));
// Expand other parts of comment subtrees
//document.querySelectorAll('ytd-button-renderer.style-scope.ytd-continuation-item-renderer').forEach(x => (function(x) {if (x.clientHeight > 0) {x.firstChild.firstChild.click();}})(x));
}, false);
The settings button and the right click menu on a video don't work because the menu immediately closes.
Great scrip but is there a way to disable the "Expands the video description." is there a line I can disable or delete??
Today I noticed a newer issue where maximized video shows on top of text area. It previously used to push the whole text area downwards so it was easy to read the description when scrolling down but now is necessary to turn off the plugin in order to be able to read so that comes really unhandy. Just giving you heads up if can fix this bug it will be much appreciated, great plugin btw, thanks.
The link in the readme (https://addons.mozilla.org/en-US/firefox/addon/maximizer-for-youtube/) doesn't seem to work anymore.
As the title says. When the extension is active and one opens 2 videos, only the last opened is playing, the first stalls.
This happens with both the userscript or the extension.
Please fix the problem: Can't play two videos (whether it's live stream or normal video) ; If I play two videos at the same time , one of them will stop , Thank you !
The top search bar is still hidden, but the video stays at the top and doesn't fill the window. So I can still see the title, description, related videos etc.
I like that it pauses the playing video when another video starts playing.
But it shouldn't stop playing the video when I mouse-over a video and the "thumbnail" animates (showing video preview).
I would like an option to make it not pause on this specific interaction only (thumbnail).
Thanks anyway.
When window width is resized to be smaller than some size (~800-1200 pixels) YouTube switches to a different player layout, where #player-theater-container
exists but is empty and instead it puts the player in a different container #columns
. This causes a large blank space at the top of the page.
Simple solution: disable the script when #player-theater-container
is empty. Implementing this is not trivial though, and as this behavior might be changed in the future so I'm leaving this open for now.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.