Zoom function for YouTube

YouTube video zoom feature

< 腳本Zoom function for YouTube的回應

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

§
發表於:2024-09-20

Hello! The zoom works but the video gets zoomed over the page and spills outside the video viewport. It has come outside the video rectangle of the video, when I zoom. See the screenshots before and after. In the after picture, the youtube logo has parts of the video there too! Could you please consider fixing the script. I use it a lot and it would help me so much!

sititou70作者
§
發表於:2025-05-10

Sorry for the late response.

I was not able to reproduce this bug on the latest YouTube. I guess a YouTube update made the bug go away.

§
發表於:2025-05-11

I checked it out more and now I see that it is a interference from another script I have loaded in Tampermonkey. When I enable closed captions/subtitles, it causes the behaviour in the images I attached. When the subtitles are disabled, there is no issue and zooming the video works fine

sititou70作者
§
發表於:2025-05-11
編輯:2025-05-11

Thanks to your info, I now understand what's going on.

"Youtube subtitles under video frame" changes YouTube's default style to allow the video player content to be displayed outside the player area.

https://github.com/t1ml3arn-userscript-js/Youtube-subtitles-under-video-frame/blob/b3cd844a6987e88285178785e5b14a24d9865c23/youtube-subs-under-video.user.js#L69

And now the subtitles and video are outside the player area.

I can't easily think of a way to make the two scripts work well together...... I think it's better to only enable one of them when you need it. Thanks.

§
發表於:2025-05-11

Fair enough! Thank you for even looking into this and trying. And of course, thank you for making the zoom script in the first place. It's amazing!

發表回覆

登入以回覆

长期地址
遇到问题?请前往 GitHub 提 Issues。