freetube/static
Cody Sechelski 37051d8518
Ctrl plus scroll to change playback rate (#1745)
* added the setting to toggle the 'scroll playback rate over video player' on and off. Set the default to off

* • Added Setting to toggle the 'ctrl+scroll for playback rate' feature
• Added the label and tooltip to the en-US local file
• Added the ctrl+scroll functionality to the video player component
• Added the ctrl+click functionality to the video player component
• Modified the existing scroll to change volume funtionality to ignore the event if the ctrl key is pressed

* changed the max playrate to 8 in Player Settings. Changed the available playrate options in the video player component popup menu to go up to 8 in steps of .25

* reverted back to hard coded values for playback rates

* opps, forgot to remove the playbackRates method. It has been removed now.

* fixed (at lesast I think) the hacky way I was overwriding the click handler. Also added a check for event.meteKey for mac users.

* added a check for if the metakey is pressedin the the mosueScrollVlumne method

* made a slight change to the tooltip text. The point of this commit is just to try and get the tests to re-run after I marked the PR as ready for review.

* added 'event.metaKey' back to the 'mouseScrollPlaybackRate' method. Not sure how I ended up leaving it off a few commits ago

Co-authored-by: Cody Sechelski <codysechelski@RMC02G68EYMD6R.local>
2021-11-24 16:52:56 -05:00
..
geolocations Create countries.json 2021-03-29 16:02:02 +00:00
locales Ctrl plus scroll to change playback rate (#1745) 2021-11-24 16:52:56 -05:00
.gitkeep Push Latest Code to Repository 2020-02-16 13:30:00 -05:00
external-player-map.json Add support for external player 'iina' (#1424) 2021-10-07 07:46:33 +00:00
invidious-instances.json fix: white screen when invidious instances don't load (#1755) 2021-11-02 11:42:24 +00:00
manifest.json Add Initial PWA Functionality 2020-04-13 22:59:25 -04:00
pwabuilder-sw.js Fix linting issues 2020-06-19 16:20:06 -04:00