Commit graph

20 commits

Author SHA1 Message Date
leonklingele e6b4e12689 js: add support for keydown events (#678)
* js: add support for keydown events

This will modify the player behavior even if the player element is unfocused.

Based on the YouTube key bindings, allow to

- toggle playback with space and 'k' key
- increase and decrease player volume with up / down arrow key
- mute and unmute player with 'm' key
- jump forwards and backwards by 5 seconds with right / left arrow key
- jump forwards and backwards by 10 seconds with 'l' / 'j'  key
- set video progress with number keys 0–9
- toggle captions with 'c' key
- toggle fullscreen mode with 'f' key
- play next video with 'N' key
- increase and decrease playback speed with '>' / '<' key

* js: remove unused dependency 'videojs.hotkeys.min.js'

Support for controlling the player volume by scrolling over it is
still retained by copying over the relevant code part from the
aforementioned library.
2019-08-16 16:01:14 -05:00
Omar Roth bcd239ac2b
Add community page 2019-07-09 09:31:04 -05:00
Omar Roth 458e9d6cc7
Update license for sse.js 2019-06-16 09:46:09 -05:00
Omar Roth 9122f8acee
Add title overlay to embedded videos 2019-06-08 10:52:47 -05:00
Omar Roth 0338fd42e1
Add support for Web notifications 2019-06-01 16:09:17 -05:00
Omar Roth a7578aa709
Update videojs-vtt-thumbnails version 2019-05-27 20:55:34 -05:00
Omar Roth d93df15eff
Update licenses 2019-05-10 15:33:23 -05:00
Omar Roth fd8af88493
Use separate asset version for cache busting 2019-05-09 22:58:34 -05:00
Omar Roth 4616f889fd
Add simple form of cache busting 2019-05-08 08:58:10 -05:00
Omar Roth 59cbf95c4f
Update licenses 2019-05-06 11:27:11 -05:00
Omar Roth 6d92775ab5
Add video previews 2019-05-02 14:36:32 -05:00
Omar Roth 1a9360ca75
Minor formatting changes 2019-05-01 20:03:39 -05:00
Omar Roth 6fb44083ec
Update source and licenses 2019-05-01 07:40:18 -05:00
Omar Roth 075adb4f03 Add http-source-selector 2019-04-28 10:05:15 -05:00
Omar Roth e8c5246645 Fix share button 2019-04-12 09:31:05 -05:00
Omar Roth 56b0952cd1 Update sources 2019-03-23 11:09:31 -05:00
Omar Roth a160c645c9 Add support for translations 2018-12-20 15:32:09 -06:00
Omar Roth ed6d321bc6 Fix identifier for AGPLv3 in licenses.ecr 2018-11-19 16:02:35 -06:00
Omar Roth dcddb6fb83 Update license information 2018-11-11 08:47:42 -06:00
Omar Roth 7f868ecdf9 Add unminimized sources and license information 2018-11-10 11:08:03 -06:00