remove speed change on rewind

Confuses too many people, can be accomplished with/via other shortcuts.

Closes #24.
This commit is contained in:
Ilya Grigorik
2015-03-29 10:54:25 -07:00
parent 5656c3fc81
commit 5758280776
2 changed files with 4 additions and 5 deletions

View File

@@ -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:

View File

@@ -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