Iridium icon indicating copy to clipboard operation
Iridium copied to clipboard

Page scrolling issues while trying to control volume when mouse is inside video player

Open greenscarf07 opened this issue 7 years ago • 14 comments

While the mouse is inside video player (even when not in full screen), when trying to change the volume the volume does change but the page also scrolls. This isn't such a problem for turning the volume up as there is no where to scroll above the top of the page - but there is more of an issue when trying to reduce the volume (i.e. scroll down). As once you scroll down after a certain point - and the page scrolls down as well - your mouse is no longer inside the video player so it cannot control the volume anymore.

Hopefully there can be a fix to prevent page scrolling while the mouse is inside the video player in a future update.

greenscarf07 avatar Mar 27 '19 11:03 greenscarf07

Same as #693?

Skaronator avatar Mar 28 '19 15:03 Skaronator

the original issue of 693 only talks about issues with scrolling in full screen. there might be a single fix to both of these issues but there also might be two different solutions to fix scrolling in full screen as well as in standard view.

greenscarf07 avatar Mar 29 '19 03:03 greenscarf07

There was a recent change to wheel & mousewheel events. They are now passive by default.

Simple fix if you are using latest Userscript is to change #L3562 to document.addEventListener("wheel", this.changeVolume.bind(this), {"passive": false});

zuexo avatar Mar 29 '19 12:03 zuexo

By far this is the best script for youtube. with out it watching youtube is unbearable. Now, I wish somebody could jump in and fix it. this is by far the most helpful feature. The fix abode only deactivate it. any other ideas on how to fix it?

altadiag avatar Mar 30 '19 20:03 altadiag

There was a recent change to wheel & mousewheel events. They are now passive by default.

Simple fix if you are using latest Userscript is to change #L3562 to document.addEventListener("wheel", this.changeVolume.bind(this), {"passive": false});

How do I do this if I install the addon through the chrome interface regularly?

Suddow avatar Apr 02 '19 23:04 Suddow

Also here because of this. Does the suggested change fix the issue or just deactivate the sound control? If it helps, I'll dig into how to change the script manually. :)

diskdusk avatar Apr 03 '19 11:04 diskdusk

this issue is incredibly frustrating. How do I fix it using the passive feature?

iMagic16 avatar Apr 24 '19 22:04 iMagic16

There was a recent change to wheel & mousewheel events. They are now passive by default.

Simple fix if you are using latest Userscript is to change #L3562 to document.addEventListener("wheel", this.changeVolume.bind(this), {"passive": false});

Is this able to be edited with Iridium downloaded through the chrome store and not directly through GitHub?

IanFanning avatar May 01 '19 23:05 IanFanning

Any news on this? I installed this extension primarily for the volume control feature. It's a shame it's not working!

twifty avatar May 14 '19 15:05 twifty

I'm still unable to edit it

iMagic16 avatar May 14 '19 21:05 iMagic16

Unfortunately, the fix posted above no longer works. At least in Brave.

allansramblings avatar Jul 20 '19 19:07 allansramblings

This issue is still present in Chrome 76.0.3809.100 and Iridium 0.2.5.

stom66 avatar Aug 18 '19 04:08 stom66

Fixed the issue - Finally understood the above comment.

You will need userscript support to do this. Greasemonkey or tampermonkey will do.

Uninstall chrome store version first!

Visit: https://github.com/iMagic16/Iridium/blob/06ce0c54a89f155bd135c463374fc32c4f849f8d/src/Userscript/Iridium.user.js

Click "raw file" on this page and install to your userscript app, then visit youtube and click the |> in top right to configure again

You can export settings from the chrome version before you transfer over

Video proof: https://drive.google.com/uc?id=10TqFXyuy9AP85h6wlLgIGdKSrTHRuWe5

Enjoy

iMagic16 avatar Aug 28 '19 14:08 iMagic16

Closed due to https://github.com/ParticleCore/Iridium/tree/1.0.0

ParticleCore avatar Oct 06 '19 22:10 ParticleCore