Resize YT To Window Size

Moves the YouTube video to the top of the website and fill the window with the video player.

< Părere la script-ul Resize YT To Window Size

Recenzie: Bun, script-ul merge

Deleted user 128
§
Postat în: 24-11-2015
Editat în: 25-11-2015

Progress bar and controls width issue with latest YouTube mofification (FIXED)

I've just noticed a YouTube modification to its progress bar and controls which handicaps this script as it blocks the Progress Bar (or whatever the name) to a default smaller width (full-screen not concerned of course).

For the time being I've added a css line for Youtube.com which displays the bar almost correctly on a 1600px width screen :
.ytp-chrome-controls, .ytp-chrome-bottom {width: 98% !important;}

Not a big issue, slightly bothering, in YouTube's odyssey to always change one thing or another in their hyper complicated page layouts ...

ZrenAutor
§
Postat în: 24-11-2015
Editat în: 24-11-2015

FML. I forgot use use one of my variables rather than a hardcoded value. Ah well. v71 should fix it.

Deleted user 128
§
Postat în: 24-11-2015

Version 71 fixes it, thanks :smiley:

§
Postat în: 13-12-2015

Hi Zren, I hate to be a bearer of bad news but v72 breaks it again.

Deleted user 128
§
Postat în: 13-12-2015

Confirmed, 72 breaks it again here as well. Back to 71.

ZrenAutor
§
Postat în: 13-12-2015

I disabled it on purpose since I thought it was breaking Youtube altogether. Clicking next on a playlist would not load the comments and broke all the buttons in the player. Apparently I didn't test Youtube without my script enabled enough since it's still breaking by itself for some reason. v73 reenables it.

Deleted user 128
§
Postat în: 13-12-2015
Editat în: 13-12-2015

73 fixes it :smiley:
I hadn't been in the situation to realize that "clicking next on a playlist would not load the comments and broke all the buttons in the player."
Wow, this is the quickest developer reply & fix I've seen up to now!
Thanks, Zren

I'm on v74 and I'm having this problem.
The progress bar and controls don't stretch until I click the video.

ZrenAutor
§
Postat în: 19-12-2015

Yeah, it's a bit annoying. It doesn't happen every single time which makes testing a bleeding pain. Too tired to finish this right now so leaving my notes here to finish later:

  • I can break on .ytp-chrome-bottom attribute modification to jump right to the function I need to call.
  • ytwp.html5.app.P('resize') works, so I need to do another func.toString() check, or find a way to trigger it using a spoofed native browser event. Dispatch a resize event maybe?
ZrenAutor
§
Postat în: 20-12-2015

v75 should fix this.

Deleted user 128
§
Postat în: 20-12-2015

Resize YT To Window Size v75 successful here : YT video screen displayed the progress bar in full length before the video actually started.
"Houston, we no longer have a problem" :smiley: (even if it wasn't a critical one).

Postează un raspuns

Autentifică-te pentru a posta un răspuns.