You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
invidious/assets/js
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.
4 years ago
..
community.js Migrate to a good Content Security Policy (#1023) 5 years ago
embed.js Migrate to a good Content Security Policy (#1023) 5 years ago
global.js Migrate to a good Content Security Policy (#1023) 5 years ago
handlers.js Support adding video to playlist from watch page 5 years ago
notifications.js Migrate to a good Content Security Policy (#1023) 5 years ago
player.js Merge pull request #713 from leonklingele/keydown-mediakeys-detection 4 years ago
playlist_widget.js Support adding video to playlist from watch page 5 years ago
silvermine-videojs-quality-selector.min.js Migrate to a good Content Security Policy (#1023) 5 years ago
sse.js Prevent firing _onStreamProgress after aborting 6 years ago
subscribe_widget.js Migrate to a good Content Security Policy (#1023) 5 years ago
themes.js Apply dark theme immediately 4 years ago
video.min.js Bump video.js 5 years ago
videojs-contrib-quality-levels.min.js Add http-source-selector 6 years ago
videojs-http-source-selector.min.js Update videojs-http-source-selector 5 years ago
videojs-markers.min.js Host assets locally 6 years ago
videojs-overlay.min.js Add title overlay to embedded videos 6 years ago
videojs-share.min.js Bump JS/CSS dependencies 5 years ago
videojs-vtt-thumbnails.min.js Update videojs-vtt-thumbnails version 6 years ago
videojs-youtube-annotations.min.js Update source and licenses 6 years ago
watch.js Migrate to a good Content Security Policy (#1023) 5 years ago
watched_widget.js Migrate to a good Content Security Policy (#1023) 5 years ago