Commit graph

49 commits

Author SHA1 Message Date
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 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 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 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 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 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 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 d85020079f Add shortcuts for changing playbackRate 2019-03-17 12:21:55 -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
Omar Roth a65998274f Defer loading videojs-share until last 2019-03-05 15:22:04 -06:00
Omar Roth 9989c8100a Properly escape email when creating view 2019-02-02 15:27:19 -06:00
Omar Roth d5c9b7dfe8 Only play after error if already playing 2019-01-31 20:26:11 -06:00
Omar Roth def58ff11f Add interval and timeout for errors in player 2019-01-31 09:09:00 -06:00
Omar Roth 1e214aae7c Reload player instead of removing invalid source 2019-01-29 19:55:27 -06:00
Omar Roth ff09a7255a Add handling to remove invalid sources 2019-01-28 22:36:27 -06:00
Omar Roth 26b7200360 Respect playback rate when reloading player 2019-01-28 20:47:38 -06:00
Omar Roth b38a2bbd12 Reload player on error 2019-01-28 20:45:08 -06:00
Omar Roth a9aae6b36c Add internal redirect for video URLs 2019-01-27 20:36:40 -06:00
Omar Roth a160c645c9 Add support for translations 2018-12-20 15:32:09 -06:00
Omar Roth b030149d76 Revert "Use <audio> tag for audio only"
This reverts commit e6bc5bb35d.
2018-12-08 20:12:22 -06:00
Omar Roth 32bd593a8a Remove log statement 2018-11-27 21:20:29 -06:00
Omar Roth 1c49fa3b63 Add timeout for autoplay 2018-11-27 21:18:20 -06:00
Omar Roth 0152967d3e Fix title when downloading video 2018-11-25 19:01:04 -06:00
Omar Roth e6bc5bb35d Use <audio> tag for audio only 2018-11-15 17:52:53 -06:00
Omar Roth 0e26e4d407 Remove video title tooltip 2018-11-12 18:37:58 -06:00
Omar Roth 791f216a45 Don't remove unsupported sources 2018-10-30 08:34:55 -05:00
Omar Roth b3ca3922a9 Add experimental dash support 2018-09-24 19:28:36 -05:00
Omar Roth cefb5d679f Add label to HLS 2018-09-20 09:45:49 -05:00
Omar Roth 2232bc0495 Use escaped newlines instead of graves 2018-09-13 18:12:19 -05:00
Omar Roth 023066b452 Revert "Remove 'codecs' from source types"
This reverts commit 93e12d94fc.
2018-09-05 10:49:40 -05:00
Omar Roth 93e12d94fc Remove 'codecs' from source types 2018-09-05 10:38:01 -05:00
Omar Roth 7fd0f93d02 Add support for preferences as query params 2018-08-25 20:05:51 -05:00
Omar Roth ce0e4babad Pull 'player' out into seperate component 2018-08-11 10:52:13 -05:00