mirror of
https://github.com/SoPat712/videospeed.git
synced 2025-08-21 18:08:46 -04:00
remove speed change on rewind
Confuses too many people, can be accomplished with/via other shortcuts. Closes #24.
This commit is contained in:
@@ -15,11 +15,11 @@ HTML5 video provides a native API to accelerate playback of any video. The probl
|
||||
|
||||
#### *[Install Chrome Extension](https://chrome.google.com/webstore/detail/video-speed-controller/nffaoalbilbmmfgbnbgppjihopabppdk)*
|
||||
|
||||
Once the extension is installed simply navigate to any page that offers HTML5 video ([example](http://www.youtube.com/watch?v=E9FxNzv1Tr8)), and you'll see a speed indicator in top left corner. Hover over the indicator to reveal the controls to accelerate, slowdown, or rewind the video (10 seconds + lowers playback speed). Or, even better, simply use your keyboard:
|
||||
Once the extension is installed simply navigate to any page that offers HTML5 video ([example](http://www.youtube.com/watch?v=E9FxNzv1Tr8)), and you'll see a speed indicator in top left corner. Hover over the indicator to reveal the controls to accelerate, slowdown, and quickly rewind the video. Or, even better, simply use your keyboard:
|
||||
|
||||
* **a** - will rewind video 10s and lower playback speed **by 10 points**.
|
||||
* **s** - will lower playback speed.
|
||||
* **d** - will accelerate playback speed.
|
||||
* **a** - rewind video 10 second.
|
||||
* **s** - lower playback speed.
|
||||
* **d** - increse playback speed.
|
||||
|
||||
Note that you can customize these shortcuts in the extension settings page. Also, a few tips for enabling and forcing HTML5 video:
|
||||
|
||||
|
@@ -100,7 +100,6 @@ chrome.extension.sendMessage({}, function(response) {
|
||||
videoTags.forEach(function(v) {
|
||||
if (!v.paused && !v.classList.contains('vc-cancelled')) {
|
||||
if (action === 'rewind') {
|
||||
v.playbackRate = Math.max(v.playbackRate - speedStep, 0.00);
|
||||
v.currentTime -= rewindTime;
|
||||
} else if (action === 'faster') {
|
||||
v.playbackRate += speedStep
|
||||
|
Reference in New Issue
Block a user