Zoom function for YouTube

YouTube video zoom feature

< Feedback de Zoom function for YouTube

Avaliação: Bom - o script funciona

§
Publicado em: 20/09/2024

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!

sititou70Autor
§
Publicado em: 10/05/2025

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.

§
Publicado em: 11/05/2025

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

sititou70Autor
§
Publicado em: 11/05/2025
Editado em: 11/05/2025

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.

§
Publicado em: 11/05/2025

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!

Enviar resposta

Entre para publicar uma resposta.