forked from midou/invidious
e6b4e12689
* 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.
252 lines
7.3 KiB
Plaintext
252 lines
7.3 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="en-US">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
</head>
|
|
|
|
<body>
|
|
<h1><%= translate(locale, "JavaScript license information") %></h1>
|
|
<table id="jslicense-labels1">
|
|
<tr>
|
|
<td>
|
|
<a href="/js/community.js?v=<%= ASSET_COMMIT %>">community.js</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="https://www.gnu.org/licenses/agpl-3.0.html">AGPL-3.0</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="/js/community.js?v=<%= ASSET_COMMIT %>"><%= translate(locale, "source") %></a>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
<a href="/js/embed.js?v=<%= ASSET_COMMIT %>">embed.js</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="https://www.gnu.org/licenses/agpl-3.0.html">AGPL-3.0</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="/js/embed.js?v=<%= ASSET_COMMIT %>"><%= translate(locale, "source") %></a>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
<a href="/js/notifications.js?v=<%= ASSET_COMMIT %>">notifications.js</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="https://www.gnu.org/licenses/agpl-3.0.html">AGPL-3.0</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="/js/notifications.js?v=<%= ASSET_COMMIT %>"><%= translate(locale, "source") %></a>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
<a href="/js/player.js?v=<%= ASSET_COMMIT %>">player.js</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="https://www.gnu.org/licenses/agpl-3.0.html">AGPL-3.0</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="/js/player.js?v=<%= ASSET_COMMIT %>"><%= translate(locale, "source") %></a>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
<a href="/js/silvermine-videojs-quality-selector.min.js?v=<%= ASSET_COMMIT %>">silvermine-videojs-quality-selector.min.js</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="http://www.jclark.com/xml/copying.txt">Expat</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="https://github.com/omarroth/videojs-quality-selector"><%= translate(locale, "source") %></a>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
<a href="/js/sse.js?v=<%= ASSET_COMMIT %>">sse.js</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="http://www.apache.org/licenses/LICENSE-2.0">Apache-2.0-only</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="https://github.com/mpetazzoni/sse.js"><%= translate(locale, "source") %></a>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
<a href="/js/subscribe_widget.js?v=<%= ASSET_COMMIT %>">subscribe_widget.js</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="https://www.gnu.org/licenses/agpl-3.0.html">AGPL-3.0</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="/js/subscribe_widget.js?v=<%= ASSET_COMMIT %>"><%= translate(locale, "source") %></a>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
<a href="/js/themes.js?v=<%= ASSET_COMMIT %>">themes.js</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="https://www.gnu.org/licenses/agpl-3.0.html">AGPL-3.0</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="/js/themes.js?v=<%= ASSET_COMMIT %>"><%= translate(locale, "source") %></a>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
<a href="/js/videojs-contrib-quality-levels.min.js?v=<%= ASSET_COMMIT %>">videojs-contrib-quality-levels.min.js</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="http://www.apache.org/licenses/LICENSE-2.0">Apache-2.0-only</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="https://github.com/videojs/videojs-contrib-quality-levels"><%= translate(locale, "source") %></a>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
<a href="/js/videojs-http-source-selector.min.js?v=<%= ASSET_COMMIT %>">videojs-http-source-selector.min.js</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="http://www.jclark.com/xml/copying.txt">Expat</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="https://github.com/jfujita/videojs-http-source-selector"><%= translate(locale, "source") %></a>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
<a href="/js/videojs-markers.min.js?v=<%= ASSET_COMMIT %>">videojs-markers.min.js</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="http://www.jclark.com/xml/copying.txt">Expat</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="https://github.com/spchuang/videojs-markers"><%= translate(locale, "source") %></a>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
<a href="/js/videojs-overlay.min.js?v=<%= ASSET_COMMIT %>">videojs-overlay.min.js</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="http://www.apache.org/licenses/LICENSE-2.0">Apache-2.0-only</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="https://github.com/brightcove/videojs-overlay"><%= translate(locale, "source") %></a>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
<a href="/js/videojs-share.min.js?v=<%= ASSET_COMMIT %>">videojs-share.min.js</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="http://www.jclark.com/xml/copying.txt">Expat</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="https://github.com/mkhazov/videojs-share"><%= translate(locale, "source") %></a>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
<a href="/js/videojs-vtt-thumbnails.min.js?v=<%= ASSET_COMMIT %>">videojs-vtt-thumbnails.min.js</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="http://www.jclark.com/xml/copying.txt">Expat</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="https://github.com/omarroth/videojs-vtt-thumbnails"><%= translate(locale, "source") %></a>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
<a href="/js/videojs-youtube-annotations.min.js?v=<%= ASSET_COMMIT %>">videojs-youtube-annotations.min.js</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="https://www.gnu.org/licenses/gpl-3.0.html">GPL-3.0</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="https://github.com/afrmtbl/videojs-youtube-annotations"><%= translate(locale, "source") %></a>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
<a href="/js/video.min.js?v=<%= ASSET_COMMIT %>">video.min.js</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="http://www.apache.org/licenses/LICENSE-2.0">Apache-2.0-only</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="https://github.com/videojs/video.js"><%= translate(locale, "source") %></a>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
<a href="/js/watch.js?v=<%= ASSET_COMMIT %>">watch.js</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="https://www.gnu.org/licenses/agpl-3.0.html">AGPL-3.0</a>
|
|
</td>
|
|
|
|
<td>
|
|
<a href="/js/watch.js?v=<%= ASSET_COMMIT %>"><%= translate(locale, "source") %></a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|