aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús Eduardo Estupiñán Medina <heckyel@openmailbox.org>2017-02-11 18:16:26 +0100
committerGogs <gogitservice@gmail.com>2017-02-11 18:16:26 +0100
commitc154382092bc6b91cba82f5248db62de70627f00 (patch)
tree328c8980db6e10545f4b1ab32db88033a52ee313
parente1ee0c536d6153a51ad54f7b132bcd7b3d35ebff (diff)
parent96f8ab0c382ad1d96f07e326a38711c4b6c408ee (diff)
downloadlibrevideojs-html5-player-c154382092bc6b91cba82f5248db62de70627f00.tar.lz
librevideojs-html5-player-c154382092bc6b91cba82f5248db62de70627f00.tar.xz
librevideojs-html5-player-c154382092bc6b91cba82f5248db62de70627f00.zip
Merge branch 'master' of jorgesumle/librevideojs-html5-player into master
-rw-r--r--readme.txt19
1 files changed, 18 insertions, 1 deletions
diff --git a/readme.txt b/readme.txt
index 4c00fb4..08a3c65 100644
--- a/readme.txt
+++ b/readme.txt
@@ -19,7 +19,7 @@ Embed video files with LibreVideoJS beautifully in WordPress, adaptable to diffe
* Embed responsive videos.
* Embed videos in HTML5, compatible with all major browsers.
* Embed videos with Poster of image.
-* Embed videos using the player LibreVideoJS.
+* Common hotkeys
* Play a video automatically when the page is processed.
* Embed videos uploaded to your media library of WordPress with direct links in the access code.
* Does not require to know a lot of programming, simply install and begin to embed videos.
@@ -126,6 +126,23 @@ For detailed documentation, please visit the website of the plugin [LibreVideoJS
[/librevideojs_video]
`
+= Hotkeys =
+
+The video player that comes with this plugin enables some keyboard hotkeys when the player has focus:
+* Space bar toggles play/pause.
+* Right and Left Arrow keys seek the video forwards and back.
+* Up and Down Arrow keys increase and decrease the volume.
+* M key toggles mute/unmute.
+* F key toggles fullscreen off and on. (Does not work in Internet Explorer, it seems to be a limitation where scripts cannot request fullscreen without a mouse click)
+* Double-clicking with the mouse toggles fullscreen off and on.
+* Number keys from 0-9 skip to a percentage of the video. 0 is 0% and 9 is 90%.
+
+**Note: clicking any of the control buttons such as Play/Pause, Fullscreen, or Mute, will remove focus on the player
+which appears to "break" the hotkeys. This is for accessibility reasons so that people who do not use or know about
+the hotkeys can still properly use the `Tab` key to highlight the control buttons and press `space` to toggle them.**
+
+**To restore focus, just click on the video, or an empty part of the control bar at the bottom of the video player.**
+
== Installation ==
1. Go to the screen to add new plugins in the dashboard of WordPress