cyfung1031 / userscript-supports

This is for the userscripts created on GreasyFork.org.
https://cyfung1031.github.io/userscript-supports/
MIT License
48 stars 3 forks source link

youtube-video-resize-fix: Slowdown when clicking the Player bar to scrub to another timestamp #6

Closed funkkiy closed 1 year ago

funkkiy commented 1 year ago

With youtube-video-resize-fix enabled, I get prolonged style recalculations when going to another timestamp in a video by clicking on the Player bar. I can reproduce this consistently by recording Performance in Chrome's Developer Tools.

cyfung1031 commented 1 year ago

Is this problem also occur when only youtube-video-resize-fix is enabled? (might be conflict with your other scripts) What is your browser and system OS?

cyfung1031 commented 1 year ago

when going to another timestamp in a video by clicking on the Player bar

This should not trigger any resize of the video player. The correct behaviour should have no style recalculation.

cyfung1031 commented 1 year ago

Closed due to no further discussion for more than 1 month.