Added extra information about shortcut keys and how to customize them. (#419)

* Update README.md

Added extra information about shortcut keys and how to customize them.
This commit is contained in:
Brett Cooper
2019-01-06 14:03:31 +13:00
committed by Ilya Grigorik
parent 7c633f3986
commit 2f11faddb3

View File

@@ -19,15 +19,21 @@ Once the extension is installed simply navigate to any page that offers HTML5 vi
* **S** - decrease playback speed.
* **D** - increase playback speed.
* **R** - reset playback speed.
* **R** - reset playback speed to 1.0x.
* **Z** - rewind video by 10 seconds.
* **X** - advance video by 10 seconds.
* **G** - Preferred speed, it toggles between the current play speed and a defaul speed of 1.8x.
* **V** - show/hide the controller.
Some sites may assign other functionality to same shortcut keys — these collisions are inevitable, unfortunately. As a workaround, we listen both for lower and upper case values (i.e. you can use `Shift-<shortcut>`) if there is other functionality assigned to the lowercase key. This is not a perfect solution, as some sites may listen to both, but works most of the time.
_Note: you can customize these shortcut keys in the extension settings page and even make the extension remember your current playback speed._
For example, you could add a new short cut key, to add a key that toggle the video speed between 16x and it's previous speed by clicking the **Add New** button and selecting the **'Preferred speed'** In this image below the A key was used.
You can have different speed setting with the different **Shortcuts** as they don't interfere with other shortcuts you set.
![settings Add New shortcut](https://user-images.githubusercontent.com/121805/50726471-50242200-1172-11e9-902f-0e5958387617.jpg)
### FAQ
**The video controls are not showing up?** This extension is only compatible with HTML5 video. If you don't see the controls showing up, chances are you are viewing a Flash video. If you want to confirm, try right-clicking on the video and inspect the menu: if it mentions flash, then that's the issue. That said, most sites will fallback to HTML5 if they detect that Flash it not available. You can try manually disabling Flash plugin in Chrome: