Resize YT To Window Size

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

< 腳本Resize YT To Window Size的回應

評論:正評 - 腳本一切正常

§
發表於:2016-07-06

Compatible with "Simple YouTube MP3 Button" ?

When I click the Download MP3 button just collapse and nothing happens

Simple YouTube MP3 Button->https://gf.qytechs.cn/scripts/20015

§
發表於:2016-07-07

I checked the issue out.
The solution is to limit the script and only have it run on YouTube video pages.

For example:
@match *://www.youtube.com/watch?v=*

Zren作者
§
發表於:2016-07-07

That will not work with Youtube @Arari since Youtube uses ajax based page loading after the first page is loaded. So a script with that rule would not load on the homepage, nor would it be loaded when a user clicks on a video link.

Your script doesn't work because of this rule: body.ytwp-window-player { margin-top: 100vh; } which moves the button down and out of view in the iframe. This is something I have to fix since apparently my script is running in iframes of other domains when the top level matches. Bleh.

Zren作者
§
發表於:2016-07-07

Fixed in v84

§
發表於:2016-07-08
編輯:2016-07-08

@Zren @Arari
Yeeeeeeeeeeees they work!!!
Thaaaank you both for your great job,I really really love your scripts

§
發表於:2016-07-08

@Zren - awesome to see that you fixed the issue.
You're right about that indeed, but you can catch those updates with JS (although the include method is much easier).

發表回覆

登入以回復

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址