Alexander Pushkov
1fc9506442
Add audio mode link to items
2020-01-21 15:36:56 +03:00
Omar Roth
7524b5e349
Move feed_menu and default_home into user preferences
2019-10-20 20:43:33 -04:00
Omar Roth
be055d9dcb
Add support for custom playlists
2019-10-15 21:17:14 -04:00
leonklingele
1aefc5b540
Update to Crystal 0.31.0, resolve compiler deprecation warnings, update dependencies ( #764 )
...
* shard: update to crystal 0.31.0
Additionally, no longer use the Crystal "markdown" library which has
been removed from the Crystal stdlib in version 0.31.0.
See https://github.com/crystal-lang/crystal/pull/8115 .
Also fix some deprecation warnings using the following commands:
find . \( -type d -name .git -prune \) -o -type f -exec sed -i 's/URI\.escape/URI\.encode_www_form/g' "{}" \;
find . \( -type d -name .git -prune \) -o -type f -exec sed -i 's/URI\.unescape/URI\.decode_www_form/g' "{}" \;
sed -i 's/while \%pull\.kind \!\= \:end_object/until \%pull\.kind\.end_object\?/g' src/invidious/helpers/patch_mapping.cr
2019-09-24 13:31:33 -04:00
Omar Roth
50d793e49b
Hide video count for auto-generated channels
2019-09-12 13:11:21 -04: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
a19cdb5e72
Fix season playlists
2019-08-16 15:46:59 -05:00
Leon Klingele
46577fb128
Add support for player styles
...
This currently includes the following styles:
- Invidious, the default
- YouTube, using a centered play button and always visible video control bar
Implements https://github.com/omarroth/invidious/issues/670 .
Supersedes https://github.com/omarroth/invidious/pull/661 .
2019-08-09 02:04:36 +02:00
Omar Roth
2cc25b1e6e
Add administrator option to disable proxying
2019-07-08 12:15:18 -05:00
Omar Roth
b43e9ed7e7
Refactor 'description_html'
2019-06-08 15:08:27 -05:00
Omar Roth
12b2ab5da8
Add 'to_json' into respective structs
2019-06-08 13:31:41 -05:00
Omar Roth
2febc268f7
Fix warnings in Crystal 0.29
2019-06-07 21:13:50 -05:00
Omar Roth
8c944815bc
Minor refactor
2019-06-07 21:13:50 -05:00
Omar Roth
64464f23ae
Add 'views' to channel_videos
2019-05-30 18:59:13 -05:00
Omar Roth
7d2e1f63b5
Refactor watched_widget.js
2019-05-16 20:51:17 -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
058711d3a8
Refactor player.js
2019-05-06 11:23:14 -05:00
Omar Roth
e04b7d0f01
Fix video previews for embeds
2019-05-06 10:28:20 -05:00
Omar Roth
2faa2ed1f4
Refactor watch.js
2019-05-06 09:48:33 -05:00
Omar Roth
0099a9822e
Refactor subscribe_widget
2019-05-05 08:38:55 -05:00
Omar Roth
570715100b
Fix text size for premieres
2019-05-03 18:00:16 -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
56fe3ede5b
Add annotation preferences
2019-04-30 23:39:04 -05:00
glmdgrielson
e48a000784
Add annotation player
...
This addresses issue #110 from master. Yay for adding annotations back!
2019-04-30 21:19:13 -05:00
Omar Roth
f08d53b0c6
Add view count to livestreams in search results
2019-04-28 14:11:23 -05:00
Omar Roth
075adb4f03
Add http-source-selector
2019-04-28 10:05:15 -05:00
Omar Roth
8c2958b86d
Add 'local=true' to hlsUrl
2019-04-25 12:41:35 -05:00
Omar Roth
eac0a52f10
Fix shiftKey for player hotkeys
2019-04-19 09:20:41 -05:00
Omar Roth
2a6c81a89d
Add authentication API
2019-04-18 16:23:50 -05:00
Omar Roth
26168a9520
Refactor CSRF tokens (using format in #473 )
2019-04-15 23:23:40 -05:00
Omar Roth
b51fd7fc13
Add view count to video items
2019-04-14 17:43:44 -05:00
Omar Roth
efe86c37b2
Show subscribe text when not logged in
2019-04-14 17:10:32 -05:00
Omar Roth
e8c5246645
Fix share button
2019-04-12 09:31:05 -05:00
Omar Roth
5de300fb35
Fix default background color for player
2019-04-11 17:03:37 -05:00
Omar Roth
c8cf4fe09c
Fix subscription_ajax for Google accounts
2019-04-07 12:59:12 -05:00
Omar Roth
7a0f0ca5ce
Fix thin mode
2019-03-27 11:31:05 -05:00
Omar Roth
0c6cede287
Format files and trim trailing whitespace
2019-03-23 14:05:13 -05:00
Omar Roth
1c8075ca40
Add 0.25 to list of playback rates
2019-03-23 11:14:15 -05:00
Omar Roth
56b0952cd1
Update sources
2019-03-23 11:09:31 -05:00
Omar Roth
fd26f9f34e
Add support for premieres to search and feed
2019-03-22 14:54:35 -05:00
Omar Roth
88b70973cc
Add 'premiereTimestamp' to /api/v1/videos
2019-03-22 14:53:19 -05:00
Omar Roth
d85020079f
Add shortcuts for changing playbackRate
2019-03-17 12:21:55 -05:00
Omar Roth
99aa214859
Add 'thumbnail_id' to playlists
2019-03-17 12:21:47 -05:00
Omar Roth
405e98f429
Add 1.25 and 0.75 playback rates
2019-03-16 09:17:57 -05:00
Omar Roth
4a56a2cad6
Remove outline when clicking on player
2019-03-15 08:34:37 -05:00
Omar Roth
46e985b306
Add 'dark_mode', 'thin_mode' as query parameters
2019-03-11 12:44:25 -05:00
Omar Roth
fdc014af67
Add '&local=true' to watch and embed pages
2019-03-11 11:43:48 -05:00