Nova-YouTube-extension
Nova-YouTube-extension copied to clipboard
[Bug] "Unshort Video" + "Pin Player while Scrolling": Floating Player is too big
Setup:
- enabled "Unshort Video" (
shorts-redirect
) - enabled ""Pin Player while Scrolling" (
player-pin-scroll
)
What I see:
- I scroll the page
- the floating player is much more bigger (see Screenshots below)
What I expect:
- player same size as with normal video
Possible solution:
- detect if it is a Unshorted Video (I can not see a difference in the url if it is an unshorted video)
- and adjust the scale
- if it is on normal video:
1.2
then the unshorted should have something between2.1
and2.2
- so I guess it is factor 1.2 x 1.8 = 2.16 (I manually can only set2.1
or2.2
in the settings dialog
Debug Info:
-
analysed floating
video
div in developer tools -
Player Size:
1.2
-
Normal Video:
lement.style { width: 800px; height: 450px; left: 0px; top: 0px;
-
Unshorted Video:
- with:
1.2
:
width: 754px; height: 1341px; left: 815px; top: 0px;
- with
2.1
:
lement.style { width: 258px; height: 459px; left: 278px; top: 0px;
- with
2.2
:
lement.style { width: 246px; height: 438px; left: 266px; top: 0px;
- with:
Example URL
- https://www.youtube.com/watch?v=T93jU7tqT04&t=15s
Setup:
- Browser: Chrome 127.0.6533.99
- Tampermonkey 5.1.1
- Nova 1.50.1b
Screenshots
-
floating player is too big
-
without scrolling (no floating player is activated)