Resize YT To Window Size

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

< Feedback on Resize YT To Window Size

سوئال / ئىنكاس

§
يوللانغان ۋاقتى: 2014-07-26

All videos right aligned

In 1.40 there's a problem with all videos with no right border like https://www.youtube.com/watch?v=rp03AorAWLY

It's not an issue in 1.39.

Zrenئاپتور
§
يوللانغان ۋاقتى: 2014-07-30
تەھرىرلەنگەن ۋاقتى: 2014-07-30

Shit. Didn't have email notifications on this site enabled. Will check this out tonight.

Also, can you give me a screenshot?

§
يوللانغان ۋاقتى: 2014-08-04

adblock and yays via tampermonkey are the only other things.

§
يوللانغان ۋاقتى: 2014-08-07

The indicator has not been up to the end. Please correct.

Zrenئاپتور
§
يوللانغان ۋاقتى: 2014-08-11

@Trahbumbeiten:
Neither I nor the guys behind Youtube Center have been able to fix the HTML5 resize bug with the progress bar. Nor does it seem possible to do without rewriting part of Youtube's code which I don't plan on doing. The easiest fix would be to force YT to use the flash player.

@rosahmbo: I was unable to reproduce. Does disabling YAYS do anything?

@:

I'm going to be changing the way the script moves the player. Going to use absolute positioning & a margin-top on the body. This should get rid of the "reloading" effect causing the playback to stop and restart.

§
يوللانغان ۋاقتى: 2014-08-11

Disabling yays has no effect. Since html5 has been 'broken' it's not moving as far to the right.

I'm using chrome 32 with tampermonkey 3.8.52.

Zrenئاپتور
§
يوللانغان ۋاقتى: 2014-08-11
تەھرىرلەنگەن ۋاقتى: 2014-08-11

What element is being so wide?

* F12
* Console Tab
* Type `document.querySelector('.html5-main-video')
* Right click > Reveal in elements panel

https://i.imgur.com/uvdLDkM.png

What kind of styling is applied to it?

* On the right sidebar, click computed.

https://i.imgur.com/0qaESNH.png

Zrenئاپتور
§
يوللانغان ۋاقتى: 2014-08-11
تەھرىرلەنگەن ۋاقتى: 2014-08-11

Also, what is the output of this script:

e=document.querySelector('.html5-main-video');while(e){console.log(e.offsetWidth, e.offsetHeight, e);e=e.parentNode};

http://i.imgur.com/XCUxdyV.png

§
يوللانغان ۋاقتى: 2014-08-12
تەھرىرلەنگەن ۋاقتى: 2014-08-12

Pics of results

§
يوللانغان ۋاقتى: 2014-08-12
تەھرىرلەنگەن ۋاقتى: 2014-08-12

If youtube center is used it's centered. With none or yays it's off to the right.

Guess I'll use youtube center again to fix this and seems the slow page loading has been fixed, that's why I stopped using it a few months ago.

§
يوللانغان ۋاقتى: 2014-08-15

html5 progress bar is fixed in the latest yt center dev build

Zrenئاپتور
§
يوللانغان ۋاقتى: 2014-08-18

I've managed to encounter this bug. Will be fixed in 1.42.

§
يوللانغان ۋاقتى: 2014-08-19
تەھرىرلەنگەن ۋاقتى: 2014-08-19

@Zren, Thank you very much, now it works just fine!

§
يوللانغان ۋاقتى: 2014-10-29

The problem with the progress bar again repeated. Correct please.

Zrenئاپتور
§
يوللانغان ۋاقتى: 2014-10-31

Fixed once again thanks to the folks in YoutubeCenter.

§
يوللانغان ۋاقتى: 2014-10-31

Thank you. Progress bar was automatically hide, that's just fine. In the previous version of this somehow was not. Thank you again.

Zrenئاپتور
§
يوللانغان ۋاقتى: 2014-10-31

Progress bar was automatically hidden, that's just fine

Yeah, it's basically the 1 feature I used Youtube Center for, and since I now need to reload the player in order to fix this issue with the HTML5 player, setting it to autohide is really easy.

§
يوللانغان ۋاقتى: 2014-11-12

The problem with the progress bar again repeated :(

Zrenئاپتور
§
يوللانغان ۋاقتى: 2014-11-13
The problem with the progress bar again repeated :(

Fixed.

§
يوللانغان ۋاقتى: 2014-11-13
تەھرىرلەنگەن ۋاقتى: 2014-11-14
Fixed.

Thank you.
Often something YouTube updated ...

§
يوللانغان ۋاقتى: 2014-12-11

Again, the problem with the progress bar repeated.

Zrenئاپتور
§
يوللانغان ۋاقتى: 2014-12-11

Fixed

§
يوللانغان ۋاقتى: 2014-12-11

Thanks :)

§
يوللانغان ۋاقتى: 2014-12-12

Again... :(

§
يوللانغان ۋاقتى: 2014-12-15

Back to the previous version and it worked))

§
يوللانغان ۋاقتى: 2015-01-23

Update please.

§
يوللانغان ۋاقتى: 2015-01-29

Again, the problem with the progress bar repeated.

جاۋاب قايتۇرۇش

جاۋاب قايتۇرۇش ئۈچۈن كىرىش.