Commit graph

48 commits

Author SHA1 Message Date
saltycrys ff46c18164 Move themes into default.css
Now that themes are controlled with a class instead of setting
media="none" on the stylesheet link and both themes already being
duplicated in default.css for the automatic themeing it makes sense
to have all theme related CSS in the same place.

This commit also fixes the missing dark theme on embeds.
2020-11-17 22:53:45 +01:00
Omar Roth 3b2e142542
Fix JSON serialization 2020-03-29 18:04:44 -04:00
leonklingele 70cbe91776
Migrate to a good Content Security Policy (#1023)
So attacks such as XSS (see [0]) will no longer be of an issue.

[0]: https://github.com/omarroth/invidious/issues/1022
2020-03-15 16:46:08 -05:00
Omar Roth be055d9dcb
Add support for custom playlists 2019-10-15 21:17:14 -04:00
Omar Roth ff5d79e3ee
Update video extractor 2019-07-29 19:41:45 -05:00
Omar Roth 485459b8b2
Add clickable title for embedded videos 2019-06-16 09:41:33 -05:00
Omar Roth 9122f8acee
Add title overlay to embedded videos 2019-06-08 10:52:47 -05:00
Omar Roth ef8c9f093c
Add premiere date to watch page 2019-06-08 10:18:45 -05:00
Omar Roth 0338fd42e1
Add support for Web notifications 2019-06-01 16:09: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 2ddc61fa5c
Refactor embed.js 2019-05-06 10:37:22 -05:00
Omar Roth 2faa2ed1f4
Refactor watch.js 2019-05-06 09:48:33 -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
Omar Roth 6859b85266 Add 'lang' to HTML tag 2019-04-28 10:05:15 -05:00
Omar Roth bb5a1ad513 Add 'continue_autoplay' preference 2019-04-19 09:38:27 -05:00
Omar Roth 9a7fea0447 Add playlist support to embedded videos 2019-04-13 14:26:32 -05:00
Omar Roth 0c6cede287 Format files and trim trailing whitespace 2019-03-23 14:05:13 -05:00
Omar Roth 956dc382ea Clean up player CSS 2019-03-17 12:21:55 -05:00
Omar Roth 9a15438c71 Minor formatting changes 2018-08-17 11:04:38 -05:00
Omar Roth ce0e4babad Pull 'player' out into seperate component 2018-08-11 10:52:13 -05:00
Omar Roth d4e37c0201 Commit whitespace 2018-08-09 16:07:11 -05:00
Omar Roth 02a4bbccb6 Format JavaScript 2018-08-09 16:01:39 -05:00
Omar Roth 3154f250d8 Update player sources 2018-08-09 15:58:44 -05:00
Omar Roth 6c71227766 Add JSON mapping for captions 2018-08-06 18:25:25 -05:00
Omar Roth f3646dc0bb Disable preload on embedded videos by default 2018-08-06 17:18:50 -05:00
Omar Roth ac12d161b9 Enable captions when listen=1 2018-08-06 17:10:22 -05:00
Omar Roth ca7c376874 Add preferred captions 2018-08-06 13:23:36 -05:00
Omar Roth 06af43c95e Add timeDisplay to player 2018-08-05 08:58:03 -05:00
Omar Roth d75d34abdd Fix player parameters 2018-08-05 07:38:43 -05:00
Omar Roth 54190d9645 Fix caption listings in embedded videos 2018-08-04 17:55:27 -05:00
Omar Roth 3398a9fe6b Move player options into initialization 2018-08-03 19:51:29 -05:00
Omar Roth 7128881a38 Add videojs style to embedded videos 2018-08-03 19:20:40 -05:00
Omar Roth 5ddf7889fe Add color scheme for player 2018-08-03 18:17:19 -05:00
Omar Roth a12690cbfd Add captions to embedded videos 2018-08-02 17:08:33 -05:00
Omar Roth 7e217fd0cb Use 'dump_unquoted' for share title 2018-08-01 16:17:34 -05:00
Omar Roth 25bf44d7ad HTML escape title on watch and embed pages 2018-08-01 16:07:47 -05:00
Omar Roth 01d23c6191 Fix metadata and embed code on watch and embed 2018-08-01 10:45:45 -05:00
Omar Roth b5bbf1b9f2 Add share button 2018-07-31 14:05:42 -05:00
Omar Roth e1391f4ac7 Use videojs-markers for start end end times 2018-07-31 13:19:38 -05:00
Omar Roth 78f995c903 Move aspectRatio into videojs options 2018-07-30 18:13:26 -05:00
Omar Roth ac8fb9d8c8 Add 'raw' and 'quality' options to embedded videos 2018-07-19 11:04:29 -05:00
Omar Roth b965c8a7a4 Fix typo in embedded player 2018-07-19 10:57:57 -05:00
Omar Roth 8861d31b21 Move video options to <video> element 2018-07-19 10:30:54 -05:00
Omar Roth 23711a127c Add 'autoplay', 'controls', 'loop' to embedded player options 2018-07-16 08:08:18 -05:00
Omar Roth 38af1b4c1b Add /embed/:id 2018-07-14 08:36:31 -05:00