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。