mirror of
https://github.com/SoPat712/videospeed.git
synced 2025-08-22 02:18:45 -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)*
|
#### *[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**.
|
* **a** - rewind video 10 second.
|
||||||
* **s** - will lower playback speed.
|
* **s** - lower playback speed.
|
||||||
* **d** - will accelerate 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:
|
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) {
|
videoTags.forEach(function(v) {
|
||||||
if (!v.paused && !v.classList.contains('vc-cancelled')) {
|
if (!v.paused && !v.classList.contains('vc-cancelled')) {
|
||||||
if (action === 'rewind') {
|
if (action === 'rewind') {
|
||||||
v.playbackRate = Math.max(v.playbackRate - speedStep, 0.00);
|
|
||||||
v.currentTime -= rewindTime;
|
v.currentTime -= rewindTime;
|
||||||
} else if (action === 'faster') {
|
} else if (action === 'faster') {
|
||||||
v.playbackRate += speedStep
|
v.playbackRate += speedStep
|
||||||
|
Reference in New Issue
Block a user