diff --git a/README.md b/README.md index b43beb7..0ae8f45 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/inject.js b/inject.js index e9c0805..29add4a 100644 --- a/inject.js +++ b/inject.js @@ -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