documentation/Preferences.md

55 lines
2.1 KiB
Markdown
Raw Normal View History

2021-01-28 21:04:37 +00:00
---
title: Preferences
description:
published: true
2021-05-23 17:01:19 +00:00
date: 2021-05-23T16:59:12.665Z
2021-01-28 21:04:37 +00:00
tags:
2021-03-14 17:15:53 +00:00
editor: markdown
2021-01-28 21:04:37 +00:00
dateCreated: 2021-01-28T20:40:12.674Z
---
2019-03-03 01:42:47 +00:00
Preferences for Invidious can be stored in a cookie named `PREFS`. This cookie can be set on the Invidious Preferences page.
If setting the cookie value yourself, the value must be in JSON format and then URL-encoded.
These are the preferences you can set:
```
{
2019-05-31 00:58:44 +00:00
"video_loop":true, // Always loop
"annotations":true, // Show annotations
2019-07-30 10:39:14 +00:00
"annotations_subscribed":true, // Show annotations for subscribed channels
2019-05-31 00:58:44 +00:00
"autoplay":true, // Autoplay current video
"continue":true, // Load next video when current video finishes
"continue_autoplay":true, // Load and autoplay next video
2019-05-31 00:58:44 +00:00
"listen":true, // Audio-only mode by default
"local": true, // Proxy requests via Invidious instance for privacy
"speed":1.0, // Also accepts '0.5', '1.5', '2.0'
"quality":"hd720", // Also accepts 'dash' for 1080p, 'medium', 'small'
"volume":100, // Default audio volume (0 = Min, 100 = Max)
"comments":[ // Source to use for comments; 'youtube' or 'reddit'
2019-03-03 01:42:47 +00:00
"youtube",
2019-05-31 00:58:44 +00:00
""
2019-03-03 01:42:47 +00:00
],
2019-05-31 00:58:44 +00:00
"captions":[ // Language captions in order of preference
2019-03-03 01:42:47 +00:00
"",
"",
""
],
2019-05-31 00:58:44 +00:00
"related_videos":true, // Show related videos
"redirect_feed":true, // Redirect homepage to subscription feed
"locale":"en-US", // Choose interface language
"dark_mode":true, // Use dark mode
"thin_mode":true, // Don't include pictures in page load
2019-08-09 19:41:40 +00:00
"player_style":"invidious", // Invidious style, the default
"player_style":"youtube", // YouTube style, using a centered play button and always visible video control bar
2019-05-31 00:58:44 +00:00
2019-03-03 01:50:04 +00:00
// For registered users (currently unused):
2019-03-03 01:42:47 +00:00
"max_results":40,
"sort":"published",
"latest_only":false,
"unseen_only":false,
"notifications_only":false
}
```