summaryrefslogtreecommitdiffstats
path: root/assets/js (follow)
AgeCommit message (Collapse)Author
2019-08-15Add prefers-color-scheme support (#601)psvenk
* 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>).
2019-08-09Update videojs-http-source-selectorOmar Roth
2019-07-20Remove default arguments from function definitionsOmar Roth
2019-07-14Add '1.75' playback speedOmar Roth
2019-07-09Add community pageOmar Roth
2019-06-22Prevent firing _onStreamProgress after abortingOmar Roth
2019-06-16Fix event listener for notifications.jsOmar Roth
2019-06-16Optimize get_subscriptions AJAXOmar Roth
2019-06-16Add target="_blank" to embed titlesOmar Roth
2019-06-16Fix title URL for embedded videosOmar Roth
2019-06-16Fix typo in notifications.jsOmar Roth
2019-06-16Shorten timeout for AJAXOmar Roth
2019-06-16Add clickable title for embedded videosOmar Roth
2019-06-15Fix retry on timeout for AJAX requestsOmar Roth
2019-06-08Add title overlay to embedded videosOmar Roth
2019-06-08Add premiere date to watch pageOmar Roth
2019-06-07Minor refactorOmar Roth
2019-06-05Use short URL for sharing videosOmar Roth
2019-06-01Only add notification event listener after onloadOmar Roth
2019-06-01Add support for Web notificationsOmar Roth
2019-05-29Add 'comments' as URL parameterOmar Roth
2019-05-27Update videojs-vtt-thumbnails versionOmar Roth
2019-05-27Add "local" to "next video" URLsOmar Roth
2019-05-20Reset playbackRate once player has caught up to sourceOmar Roth
2019-05-16Refactor watched_widget.jsOmar Roth
2019-05-14Fix comments for age-restricted videosOmar Roth
2019-05-09Add option to toggle theme without reloadOmar Roth
2019-05-09Fix typo in player.jsOmar Roth
2019-05-08Remove referer from XHROmar Roth
2019-05-06Refactor player.jsOmar Roth
2019-05-06Refactor embed.jsOmar Roth
2019-05-06Refactor watch.jsOmar Roth
2019-05-05Remove source map URL from videojs.hotkeys.min.jsOmar Roth
2019-05-05Refactor subscribe_widgetOmar Roth
2019-05-04Add mouse hover for video previewsOmar Roth
2019-05-02Add video previewsOmar Roth
2019-05-01Minor formatting changesOmar Roth
2019-05-01Update source and licensesOmar Roth
2019-04-30Add annotation playerglmdgrielson
This addresses issue #110 from master. Yay for adding annotations back!
2019-04-28Add http-source-selectorOmar Roth
2019-04-24Update videojs-shareOmar Roth
2019-04-12Fix share buttonOmar Roth
2019-03-23Update sourcesOmar Roth
2019-03-08Remove sourceMap link for JS sourceOmar Roth
2019-02-24Remove JS from download widgetOmar Roth
2019-02-16Fix locale text for "Show replies"Omar Roth
2019-01-27Fix colors and data-url in download widgetOmar Roth
2019-01-24Add fix to download widget for titles with unescaped charactersOmar Roth
2019-01-23Fix typo in default.cssOmar Roth
2019-01-23Add download widgetOmar Roth