Commit Graph

109 Commits (55ce1ce3ece965e32cb5bd1f42bed97d855fd690)

Author SHA1 Message Date
Andrew Zhao 4a0b10984a Bump videojs and fix webworker
Andrew Zhao 15ba3325d9 add ui for searching
saltycrys 75c6844b66 Improve storyboards
Instead of limiting the width of storyboards through CSS it is now done in the
VTT directly.
saltycrys fc67dd18d0 Increase color contrast of light theme links
saltycrys b3e9b92344 Fix pure-button hover color on a-tags
TheFrenchGhosty fe73eccb90
Merge pull request from saltycrys/theme-flash
Apply dark theme immediately
saltycrys 5f932e9749 Fix CSS specificity issues
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.
saltycrys de777907f2 Apply dark theme immediately
Themes are now controlled with a class on the body element.

If a preference is set the body element will have either "dark-theme"
or "light-theme" class. If no preference is set or the preference is
empty the class will be "no-theme".

"dark-theme" and "light-theme" are handled by darktheme.css and
lighttheme.css respectively.

"no-theme" is handled by default.css where depending on the value of
"prefers-color-scheme" the styles corresponding to "dark-theme" or
"light-theme" are applied.

Unfortunately this means that both themes are duplicated, once in the
theme .css and once in default.css.
saltycrys 0530045536
Remove double empty line
saltycrys d3e4739745 Improve storyboard display
Matthew McGarvey 5937e0289e Fix feed menu overlap at ipad screen widths
leonklingele 70cbe91776
Migrate to a good Content Security Policy ()
So attacks such as XSS (see [0]) will no longer be of an issue.

[0]: https://github.com/omarroth/invidious/issues/1022
Omar Roth 0560d2cfb7
Bump video.js
Omar Roth be055d9dcb
Add support for custom playlists
Omar Roth e03b4b7505
Hide scrollbar for player menus
Omar Roth e61c8046f4
Fix z-index, scrollbar in player
agony affeeb39de Fixed bug that made the whole 'Invidious' div clickable. Solves
Omar Roth be2ee33273
Fix overflow for player controls
Omar Roth 7d3ecd2297
Bump JS/CSS dependencies
Omar Roth 2b94975345
Fix playlist_thumbnail extractor
Dragnucs 7eaac995bd Change font family to better native selection ()
Omar Roth f6f176afc1
Merge pull request from leonklingele/add-player-styles
Add support for player styles
Omar Roth 3de37a61c5
Update videojs-http-source-selector
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.
Leon Klingele fe2cffb25b
Fix jumpy page on search field focus
Omar Roth e8a56e0fea
Add '1.75' playback speed
Omar Roth aac240fe41
Resize comment thumbnails
Omar Roth 8fad0af935
Add caption styling
Omar Roth a3cc3c57fd
Add cursor: none to player
Omar Roth 0d0d3edeae
Add thumbnail and banners to channel page
Omar Roth 485459b8b2
Add clickable title for embedded videos
Omar Roth 9122f8acee
Add title overlay to embedded videos
Omar Roth d68baf08cb
Shrink h1 on mobile
Omar Roth bb15dc57a4
Fix font color for captions button
Omar Roth 716705aa15
Add mouse hover for video previews
Omar Roth 3f738cf905
Tweak styling for thumbnail video length
Omar Roth 6d92775ab5
Add video previews
Omar Roth 6fb44083ec
Update source and licenses
glmdgrielson e48a000784 Add annotation player
This addresses issue  from master. Yay for adding annotations back!
Omar Roth 075adb4f03 Add http-source-selector
Omar Roth d20a4a8bfc Fix grid size for smaller devices
Omar Roth e8c5246645 Fix share button
Omar Roth 6fd24ad54f Add cancel button to search bar
Omar Roth ce4b07d7d7 Fix thumbnail for deleted videos
Omar Roth 56b0952cd1 Update sources
Omar Roth 1c152f6cad Add padding to thumbnails
Omar Roth d5c6d74f14 Fix loading icon size
Omar Roth 7a54b1d36a Fix player size with JS disabled
Omar Roth 956dc382ea Clean up player CSS