Commit Graph

28 Commits

Author SHA1 Message Date
meow
7dd699370f js code rewrite. Created _helpers.js with XHR and storage wrapper 2022-05-06 04:46:59 +03:00
syeopite
02431b3f98 Use correct videojs-vtt-thumbnails location in licences.ecr 2021-09-18 13:30:17 -07:00
syeopite
0323202a03 Revert to iv-org fork of silvermine-videojs-quality-selector
Upstream requires at least two additional sources. Whereas Invidious needs it to be
able to display a single additional source for normal (dashless)
qualites. Aka medium and hd720.
2021-09-18 13:30:17 -07:00
syeopite
2451497b31 Typo 2021-09-18 13:30:17 -07:00
syeopite
262131f68e Add script to resolve and fetch VideoJS files 2021-09-18 13:30:15 -07:00
syeopite
f529948d81 Change videojs-vr to the unminified version 2021-05-23 09:24:49 -07:00
syeopite
a0fb75efcb Add licence for videojs-vr 2021-05-23 09:22:37 -07:00
syeopite
ac1ac2cfed Add mobile-ui js to licenses 2021-05-03 03:44:33 -07:00
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