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
psvenk f54fbd057e Add prefers-color-scheme support (#601)
* Add prefers-color-scheme support

This should fix <https://github.com/omarroth/invidious/issues/559>.
The cookie storage format has been changed from boolean
("true"/"false") to tri-state ("dark"/"light"/""), so that users
without a cookie set will get dark mode if they have enabled the dark
theme in their operating system. The code for handling the cookie
state, along with the user's operating system theme, has been factored
out into a new function `update_mode`, which is called both at window
load and at the "storage" event listener, because the "storage" event
listener is only trigerred when a change is made to the localStorage
from another tab/window (for more info - see
<https://stackoverflow.com/a/4679754>).
5 years ago
..
community.js Add community page 5 years ago
embed.js Remove default arguments from function definitions 5 years ago
notifications.js Remove default arguments from function definitions 5 years ago
player.js Add '1.75' playback speed 5 years ago
silvermine-videojs-quality-selector.min.js Remove sourceMap link for JS source 6 years ago
sse.js Prevent firing _onStreamProgress after aborting 5 years ago
subscribe_widget.js Shorten timeout for AJAX 5 years ago
themes.js Add prefers-color-scheme support (#601) 5 years ago
video.min.js Add http-source-selector 6 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 Update videojs-share 6 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
videojs.hotkeys.min.js Remove source map URL from videojs.hotkeys.min.js 6 years ago
watch.js Remove default arguments from function definitions 5 years ago
watched_widget.js Shorten timeout for AJAX 5 years ago