Resize YT To Window Size

Moves the video to the top of the website and resizes it to the screen size.

As of 2015-02-24. See the latest version.

Author
Zren
Ratings
0 0 0
Version
54
Created
2014-05-11
Updated
2015-02-24
Size
26.9 KB
License
N/A
Applies to

Suggestions

  • Youtube Center now has this feature with a few more options in their script. Check out YT Center Settings > Player > Fullscreen Top Player.
  • Use Yays! or Youtube Center to select a video resolution if you want a constant resolution.
  • Auto-Hide the Progressbar & Controlbar:
    • HTML5 Player: Default operation of this script.
    • Flash Player: Use Youtube Center.
  • If using Youtube Center:
    • Version 1.31+ should automatically set these settings for you.
    • Unchecked YT Center Settings > Player > Player Size > Enable Resize.
    • Unchecked YT Center Settings > Player > General > Scroll to Video. YT Center will scroll to the wrong location.

Screenshots

After loading the video webpage you will see:

It appears above the rest of the site, so you can scroll down for the description, related links, etc.

Changelog

https://github.com/Zren/ResizeYoutubePlayerToWindowSize/blob/master/changelog.md

53 - Feb 22, 2015

  • Fix double audio bug after clicking a video on the homepage/search page.
  • No longer reloading the html5 player to get the playerInstance. We are instead creating an unused dummy playerInstance to get the reference to it's constructor, which has a static list of the list of active playerInstances.
  • Reattempt to subscribe to pubsub events 1 second later if we get an error.