config.example.yml 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950
  1. #########################################
  2. #
  3. # Database and other external servers
  4. #
  5. #########################################
  6. ##
  7. ## Database configuration with separate parameters.
  8. ## This setting is MANDATORY, unless 'database_url' is used.
  9. ##
  10. db:
  11. user: kemal
  12. password: kemal
  13. host: localhost
  14. port: 5432
  15. dbname: invidious
  16. ##
  17. ## Database configuration using a single URI. This is an
  18. ## alternative to the 'db' parameter above. If both forms
  19. ## are used, then only database_url is used.
  20. ## This setting is MANDATORY, unless 'db' is used.
  21. ##
  22. ## Note: The 'database_url' setting allows the use of UNIX
  23. ## sockets. To do so, remove the IP address (or FQDN) and port
  24. ## and append the 'host' parameter. E.g:
  25. ## postgres://kemal:kemal@/invidious?host=/var/run/postgresql
  26. ##
  27. ## Accepted values: a postgres:// URI
  28. ## Default: postgres://kemal:kemal@localhost:5432/invidious
  29. ##
  30. #database_url: postgres://kemal:kemal@localhost:5432/invidious
  31. ##
  32. ## Enable automatic table integrity check. This will create
  33. ## the required tables and columns if anything is missing.
  34. ##
  35. ## Accepted values: true, false
  36. ## Default: false
  37. ##
  38. #check_tables: false
  39. ##
  40. ## Path to an external signature resolver, used to emulate
  41. ## the Youtube client's Javascript. If no such server is
  42. ## available, some videos will not be playable.
  43. ##
  44. ## When this setting is commented out, no external
  45. ## resolver will be used.
  46. ##
  47. ## Accepted values: a path to a UNIX socket or "<IP>:<Port>"
  48. ## Default: <none>
  49. ##
  50. #signature_server:
  51. #########################################
  52. #
  53. # Server config
  54. #
  55. #########################################
  56. # -----------------------------
  57. # Network (inbound)
  58. # -----------------------------
  59. ##
  60. ## Port to listen on for incoming connections.
  61. ##
  62. ## Note: Ports lower than 1024 requires either root privileges
  63. ## (not recommended) or the "CAP_NET_BIND_SERVICE" capability
  64. ## (See https://stackoverflow.com/a/414258 and `man capabilities`)
  65. ##
  66. ## Accepted values: 1-65535
  67. ## Default: 3000
  68. ##
  69. #port: 3000
  70. ##
  71. ## When the invidious instance is behind a proxy, and the proxy
  72. ## listens on a different port than the instance does, this lets
  73. ## invidious know about it. This is used to craft absolute URLs
  74. ## to the instance (e.g in the API).
  75. ##
  76. ## Note: This setting is MANDATORY if invidious is behind a
  77. ## reverse proxy.
  78. ##
  79. ## Accepted values: 1-65535
  80. ## Default: <none>
  81. ##
  82. #external_port:
  83. ##
  84. ## Interface address to listen on for incoming connections.
  85. ##
  86. ## Accepted values: a valid IPv4 or IPv6 address.
  87. ## default: 0.0.0.0 (listen on all interfaces)
  88. ##
  89. #host_binding: 0.0.0.0
  90. ##
  91. ## Domain name under which this instance is hosted. This is
  92. ## used to craft absolute URLs to the instance (e.g in the API).
  93. ## The domain MUST be defined if your instance is accessed from
  94. ## a domain name (like 'example.com').
  95. ##
  96. ## Accepted values: a fully qualified domain name (FQDN)
  97. ## Default: <none>
  98. ##
  99. domain:
  100. ##
  101. ## Tell Invidious that it is behind a proxy that provides only
  102. ## HTTPS, so all links must use the https:// scheme. This
  103. ## setting MUST be set to true if invidious is behind a
  104. ## reverse proxy serving HTTPs.
  105. ##
  106. ## Accepted values: true, false
  107. ## Default: false
  108. ##
  109. https_only: false
  110. ##
  111. ## Enable/Disable 'Strict-Transport-Security'. Make sure that
  112. ## the domain specified under 'domain' is served securely.
  113. ##
  114. ## Accepted values: true, false
  115. ## Default: true
  116. ##
  117. #hsts: true
  118. # -----------------------------
  119. # Network (outbound)
  120. # -----------------------------
  121. ##
  122. ## Disable proxying server-wide. Can be disable as a whole, or
  123. ## only for a single function.
  124. ##
  125. ## Accepted values: true, false, dash, livestreams, downloads, local
  126. ## Default: false
  127. ##
  128. #disable_proxy: false
  129. ##
  130. ## Size of the HTTP pool used to connect to youtube. Each
  131. ## domain ('youtube.com', 'ytimg.com', ...) has its own pool.
  132. ##
  133. ## Accepted values: a positive integer
  134. ## Default: 100
  135. ##
  136. #pool_size: 100
  137. ##
  138. ## Additional cookies to be sent when requesting the youtube API.
  139. ##
  140. ## Accepted values: a string in the format "name1=value1; name2=value2..."
  141. ## Default: <none>
  142. ##
  143. #cookies:
  144. ##
  145. ## Force connection to youtube over a specific IP family.
  146. ##
  147. ## Note: This may sometimes resolve issues involving rate-limiting.
  148. ## See https://github.com/ytdl-org/youtube-dl/issues/21729.
  149. ##
  150. ## Accepted values: ipv4, ipv6
  151. ## Default: <none>
  152. ##
  153. #force_resolve:
  154. ##
  155. ## Configuration for using a HTTP proxy
  156. ##
  157. ## If unset, then no HTTP proxy will be used.
  158. ##
  159. #http_proxy:
  160. # user:
  161. # password:
  162. # host:
  163. # port:
  164. ##
  165. ## Use Innertube's transcripts API instead of timedtext for closed captions
  166. ##
  167. ## Useful for larger instances as InnerTube is **not ratelimited**. See https://github.com/iv-org/invidious/issues/2567
  168. ##
  169. ## Subtitle experience may differ slightly on Invidious.
  170. ##
  171. ## Accepted values: true, false
  172. ## Default: false
  173. ##
  174. # use_innertube_for_captions: false
  175. ##
  176. ## Send Google session informations. This is useful when Invidious is blocked
  177. ## by the message "This helps protect our community."
  178. ## See https://github.com/iv-org/invidious/issues/4734.
  179. ##
  180. ## Warning: These strings gives much more identifiable information to Google!
  181. ##
  182. ## Accepted values: String
  183. ## Default: <none>
  184. ##
  185. # po_token: ""
  186. # visitor_data: ""
  187. # -----------------------------
  188. # Logging
  189. # -----------------------------
  190. ##
  191. ## Path to log file. Can be absolute or relative to the invidious
  192. ## binary. This is overridden if "-o OUTPUT" or "--output=OUTPUT"
  193. ## are passed on the command line.
  194. ##
  195. ## Accepted values: a filesystem path or 'STDOUT'
  196. ## Default: STDOUT
  197. ##
  198. #output: STDOUT
  199. ##
  200. ## Logging Verbosity. This is overridden if "-l LEVEL" or
  201. ## "--log-level=LEVEL" are passed on the command line.
  202. ##
  203. ## Accepted values: All, Trace, Debug, Info, Warn, Error, Fatal, Off
  204. ## Default: Info
  205. ##
  206. #log_level: Info
  207. ##
  208. ## Enables colors in logs. Useful for debugging purposes
  209. ## This is overridden if "-k" or "--colorize"
  210. ## are passed on the command line.
  211. ## Colors are also disabled if the environment variable
  212. ## NO_COLOR is present and has any value
  213. ##
  214. ## Accepted values: true, false
  215. ## Default: true
  216. ##
  217. #colorize_logs: false
  218. # -----------------------------
  219. # Features
  220. # -----------------------------
  221. ##
  222. ## Enable/Disable the "Popular" tab on the main page.
  223. ##
  224. ## Accepted values: true, false
  225. ## Default: true
  226. ##
  227. #popular_enabled: true
  228. ##
  229. ## Enable/Disable statstics (available at /api/v1/stats).
  230. ## The following data is available:
  231. ## - Software name ("invidious") and version+branch (same data as
  232. ## displayed in the footer, e.g: "2021.05.13-75e5b49" / "master")
  233. ## - The value of the 'registration_enabled' config (true/false)
  234. ## - Number of currently registered users
  235. ## - Number of registered users who connected in the last month
  236. ## - Number of registered users who connected in the last 6 months
  237. ## - Timestamp of the last server restart
  238. ## - Timestamp of the last "Channel Refresh" job execution
  239. ##
  240. ## Warning: This setting MUST be set to true if you plan to run
  241. ## a public instance. It is used by api.invidious.io to refresh
  242. ## your instance's status.
  243. ##
  244. ## Accepted values: true, false
  245. ## Default: false
  246. ##
  247. #statistics_enabled: false
  248. # -----------------------------
  249. # Users and accounts
  250. # -----------------------------
  251. ##
  252. ## Allow/Forbid Invidious (local) account creation. Invidious
  253. ## accounts allow users to subscribe to channels and to create
  254. ## playlists without a Google account.
  255. ##
  256. ## Accepted values: true, false
  257. ## Default: true
  258. ##
  259. #registration_enabled: true
  260. ##
  261. ## Allow/Forbid users to log-in.
  262. ##
  263. ## Accepted values: true, false
  264. ## Default: true
  265. ##
  266. #login_enabled: true
  267. ##
  268. ## Enable/Disable the captcha challenge on the login page.
  269. ##
  270. ## Note: this is a basic captcha challenge that doesn't
  271. ## depend on any third parties.
  272. ##
  273. ## Accepted values: true, false
  274. ## Default: true
  275. ##
  276. #captcha_enabled: true
  277. ##
  278. ## List of usernames that will be granted administrator rights.
  279. ## A user with administrator rights will be able to change the
  280. ## server configuration options listed below in /preferences,
  281. ## in addition to the usual user preferences.
  282. ##
  283. ## Server-wide settings:
  284. ## - popular_enabled
  285. ## - captcha_enabled
  286. ## - login_enabled
  287. ## - registration_enabled
  288. ## - statistics_enabled
  289. ## Default user preferences:
  290. ## - default_home
  291. ## - feed_menu
  292. ##
  293. ## Accepted values: an array of strings
  294. ## Default: [""]
  295. ##
  296. #admins: [""]
  297. ##
  298. ## Enable/Disable the user notifications for all users
  299. ##
  300. ## Note: On large instances, it is recommended to set this option to 'false'
  301. ## in order to reduce the amount of data written to the database, and hence
  302. ## improve the overall performance of the instance.
  303. ##
  304. ## Accepted values: true, false
  305. ## Default: true
  306. ##
  307. #enable_user_notifications: true
  308. # -----------------------------
  309. # Background jobs
  310. # -----------------------------
  311. ##
  312. ## Number of threads to use when crawling channel videos (during
  313. ## subscriptions update).
  314. ##
  315. ## Notes: This setting is overridden if either "-c THREADS" or
  316. ## "--channel-threads=THREADS" is passed on the command line.
  317. ##
  318. ## Accepted values: a positive integer
  319. ## Default: 1
  320. ##
  321. channel_threads: 1
  322. ##
  323. ## Time interval between two executions of the job that crawls
  324. ## channel videos (subscriptions update).
  325. ##
  326. ## Accepted values: a valid time interval (like 1h30m or 90m)
  327. ## Default: 30m
  328. ##
  329. #channel_refresh_interval: 30m
  330. ##
  331. ## Forcefully dump and re-download the entire list of uploaded
  332. ## videos when crawling channel (during subscriptions update).
  333. ##
  334. ## Accepted values: true, false
  335. ## Default: false
  336. ##
  337. full_refresh: false
  338. ##
  339. ## Number of threads to use when updating RSS feeds.
  340. ##
  341. ## Notes: This setting is overridden if either "-f THREADS" or
  342. ## "--feed-threads=THREADS" is passed on the command line.
  343. ##
  344. ## Accepted values: a positive integer
  345. ## Default: 1
  346. ##
  347. feed_threads: 1
  348. jobs:
  349. ## Options for the database cleaning job
  350. clear_expired_items:
  351. ## Enable/Disable job
  352. ##
  353. ## Accepted values: true, false
  354. ## Default: true
  355. ##
  356. enable: true
  357. ## Options for the channels updater job
  358. refresh_channels:
  359. ## Enable/Disable job
  360. ##
  361. ## Accepted values: true, false
  362. ## Default: true
  363. ##
  364. enable: true
  365. ## Options for the RSS feeds updater job
  366. refresh_feeds:
  367. ## Enable/Disable job
  368. ##
  369. ## Accepted values: true, false
  370. ## Default: true
  371. ##
  372. enable: true
  373. # -----------------------------
  374. # Miscellaneous
  375. # -----------------------------
  376. ##
  377. ## custom banner displayed at the top of every page. This can
  378. ## used for instance announcements, e.g.
  379. ##
  380. ## Accepted values: any string. HTML is accepted.
  381. ## Default: <none>
  382. ##
  383. #banner:
  384. ##
  385. ## Subscribe to channels using PubSubHub (Google PubSubHubbub service).
  386. ## PubSubHub allows Invidious to be instantly notified when a new video
  387. ## is published on any subscribed channels. When PubSubHub is not used,
  388. ## Invidious will check for new videos every minute.
  389. ##
  390. ## Note: This setting is recommended for public instances.
  391. ##
  392. ## Note 2:
  393. ## - Requires a public instance (it uses /feed/webhook/v1)
  394. ## - Requires 'domain' and 'hmac_key' to be set.
  395. ## - Setting this parameter to any number greater than zero will
  396. ## enable channel subscriptions via PubSubHub, but will limit the
  397. ## amount of concurrent subscriptions.
  398. ##
  399. ## Accepted values: true, false, a positive integer
  400. ## Default: false
  401. ##
  402. #use_pubsub_feeds: false
  403. ##
  404. ## HMAC signing key used for CSRF tokens, cookies and pubsub
  405. ## subscriptions verification.
  406. ##
  407. ## Note: This parameter is mandatory and should be a random string.
  408. ## Such random string can be generated on linux with the following
  409. ## command: `pwgen 20 1`
  410. ##
  411. ## Accepted values: a string
  412. ## Default: <none>
  413. ##
  414. hmac_key: "CHANGE_ME!!"
  415. ##
  416. ## List of video IDs where the "download" widget must be
  417. ## disabled, in order to comply with DMCA requests.
  418. ##
  419. ## Accepted values: an array of string
  420. ## Default: <none>
  421. ##
  422. #dmca_content:
  423. ##
  424. ## Cache video annotations in the database.
  425. ##
  426. ## Warning: empty annotations or annotations that only contain
  427. ## cards won't be cached.
  428. ##
  429. ## Accepted values: true, false
  430. ## Default: false
  431. ##
  432. #cache_annotations: false
  433. ##
  434. ## Source code URL. If your instance is running a modified source
  435. ## code, you MUST publish it somewhere and set this option.
  436. ##
  437. ## Accepted values: a string
  438. ## Default: <none>
  439. ##
  440. #modified_source_code_url: ""
  441. ##
  442. ## Maximum custom playlist length limit.
  443. ##
  444. ## Accepted values: Integer
  445. ## Default: 500
  446. ##
  447. #playlist_length_limit: 500
  448. #########################################
  449. #
  450. # Default user preferences
  451. #
  452. #########################################
  453. ##
  454. ## NOTE: All the settings below define the default user
  455. ## preferences. They will apply to ALL users connecting
  456. ## without a preferences cookie (so either on the first
  457. ## connection to the instance or after clearing the
  458. ## browser's cookies).
  459. ##
  460. default_user_preferences:
  461. # -----------------------------
  462. # Internationalization
  463. # -----------------------------
  464. ##
  465. ## Default user interface language (locale).
  466. ##
  467. ## Note: When hosting a public instance, overriding the
  468. ## default (english) is not recommended, as it may
  469. ## people using other languages.
  470. ##
  471. ## Accepted values:
  472. ## ar (Arabic)
  473. ## da (Danish)
  474. ## de (German)
  475. ## en-US (english, US)
  476. ## el (Greek)
  477. ## eo (Esperanto)
  478. ## es (Spanish)
  479. ## fa (Persian)
  480. ## fi (Finnish)
  481. ## fr (French)
  482. ## he (Hebrew)
  483. ## hr (Hungarian)
  484. ## id (Indonesian)
  485. ## is (Icelandic)
  486. ## it (Italian)
  487. ## ja (Japanese)
  488. ## nb-NO (Norwegian, Bokmål)
  489. ## nl (Dutch)
  490. ## pl (Polish)
  491. ## pt-BR (Portuguese, Brazil)
  492. ## pt-PT (Portuguese, Portugal)
  493. ## ro (Romanian)
  494. ## ru (Russian)
  495. ## sv (Swedish)
  496. ## tr (Turkish)
  497. ## uk (Ukrainian)
  498. ## zh-CN (Chinese, China) (a.k.a "Simplified Chinese")
  499. ## zh-TW (Chinese, Taiwan) (a.k.a "Traditional Chinese")
  500. ##
  501. ## Default: en-US
  502. ##
  503. #locale: en-US
  504. ##
  505. ## Default geographical location for content.
  506. ##
  507. ## Accepted values:
  508. ## AE, AR, AT, AU, AZ, BA, BD, BE, BG, BH, BO, BR, BY, CA, CH, CL, CO, CR,
  509. ## CY, CZ, DE, DK, DO, DZ, EC, EE, EG, ES, FI, FR, GB, GE, GH, GR, GT, HK,
  510. ## HN, HR, HU, ID, IE, IL, IN, IQ, IS, IT, JM, JO, JP, KE, KR, KW, KZ, LB,
  511. ## LI, LK, LT, LU, LV, LY, MA, ME, MK, MT, MX, MY, NG, NI, NL, NO, NP, NZ,
  512. ## OM, PA, PE, PG, PH, PK, PL, PR, PT, PY, QA, RO, RS, RU, SA, SE, SG, SI,
  513. ## SK, SN, SV, TH, TN, TR, TW, TZ, UA, UG, US, UY, VE, VN, YE, ZA, ZW
  514. ##
  515. ## Default: US
  516. ##
  517. #region: US
  518. ##
  519. ## Top 3 preferred languages for video captions.
  520. ##
  521. ## Note: overriding the default (no preferred
  522. ## caption language) is not recommended, in order
  523. ## to not penalize people using other languages.
  524. ##
  525. ## Accepted values: a three-entries array.
  526. ## Each entry can be one of:
  527. ## "English", "English (auto-generated)",
  528. ## "Afrikaans", "Albanian", "Amharic", "Arabic",
  529. ## "Armenian", "Azerbaijani", "Bangla", "Basque",
  530. ## "Belarusian", "Bosnian", "Bulgarian", "Burmese",
  531. ## "Catalan", "Cebuano", "Chinese (Simplified)",
  532. ## "Chinese (Traditional)", "Corsican", "Croatian",
  533. ## "Czech", "Danish", "Dutch", "Esperanto", "Estonian",
  534. ## "Filipino", "Finnish", "French", "Galician", "Georgian",
  535. ## "German", "Greek", "Gujarati", "Haitian Creole", "Hausa",
  536. ## "Hawaiian", "Hebrew", "Hindi", "Hmong", "Hungarian",
  537. ## "Icelandic", "Igbo", "Indonesian", "Irish", "Italian",
  538. ## "Japanese", "Javanese", "Kannada", "Kazakh", "Khmer",
  539. ## "Korean", "Kurdish", "Kyrgyz", "Lao", "Latin", "Latvian",
  540. ## "Lithuanian", "Luxembourgish", "Macedonian",
  541. ## "Malagasy", "Malay", "Malayalam", "Maltese", "Maori",
  542. ## "Marathi", "Mongolian", "Nepali", "Norwegian Bokmål",
  543. ## "Nyanja", "Pashto", "Persian", "Polish", "Portuguese",
  544. ## "Punjabi", "Romanian", "Russian", "Samoan",
  545. ## "Scottish Gaelic", "Serbian", "Shona", "Sindhi",
  546. ## "Sinhala", "Slovak", "Slovenian", "Somali",
  547. ## "Southern Sotho", "Spanish", "Spanish (Latin America)",
  548. ## "Sundanese", "Swahili", "Swedish", "Tajik", "Tamil",
  549. ## "Telugu", "Thai", "Turkish", "Ukrainian", "Urdu",
  550. ## "Uzbek", "Vietnamese", "Welsh", "Western Frisian",
  551. ## "Xhosa", "Yiddish", "Yoruba", "Zulu"
  552. ##
  553. ## Default: ["", "", ""]
  554. ##
  555. #captions: ["", "", ""]
  556. # -----------------------------
  557. # Interface
  558. # -----------------------------
  559. ##
  560. ## Enable/Disable dark mode.
  561. ##
  562. ## Accepted values: "dark", "light", "auto"
  563. ## Default: "auto"
  564. ##
  565. #dark_mode: "auto"
  566. ##
  567. ## Enable/Disable thin mode (no video thumbnails).
  568. ##
  569. ## Accepted values: true, false
  570. ## Default: false
  571. ##
  572. #thin_mode: false
  573. ##
  574. ## List of feeds available on the home page.
  575. ##
  576. ## Note: "Subscriptions" and "Playlists" are only visible
  577. ## when the user is logged in.
  578. ##
  579. ## Accepted values: A list of strings
  580. ## Each entry can be one of: "Popular", "Trending",
  581. ## "Subscriptions", "Playlists"
  582. ##
  583. ## Default: ["Popular", "Trending", "Subscriptions", "Playlists"] (show all feeds)
  584. ##
  585. #feed_menu: ["Popular", "Trending", "Subscriptions", "Playlists"]
  586. ##
  587. ## Default feed to display on the home page.
  588. ##
  589. ## Note: setting this option to "Popular" has no
  590. ## effect when 'popular_enabled' is set to false.
  591. ##
  592. ## Accepted values: Popular, Trending, Subscriptions, Playlists, <none>
  593. ## Default: Popular
  594. ##
  595. #default_home: Popular
  596. ##
  597. ## Default number of results to display per page.
  598. ##
  599. ## Note: this affects invidious-generated pages only, such
  600. ## as watch history and subscription feeds. Playlists, search
  601. ## results and channel videos depend on the data returned by
  602. ## the Youtube API.
  603. ##
  604. ## Accepted values: any positive integer
  605. ## Default: 40
  606. ##
  607. #max_results: 40
  608. ##
  609. ## Show/hide annotations.
  610. ##
  611. ## Accepted values: true, false
  612. ## Default: false
  613. ##
  614. #annotations: false
  615. ##
  616. ## Show/hide annotation.
  617. ##
  618. ## Accepted values: true, false
  619. ## Default: false
  620. ##
  621. #annotations_subscribed: false
  622. ##
  623. ## Type of comments to display below video.
  624. ##
  625. ## Accepted values: a two-entries array.
  626. ## Each entry can be one of: "youtube", "reddit", ""
  627. ##
  628. ## Default: ["youtube", ""]
  629. ##
  630. #comments: ["youtube", ""]
  631. ##
  632. ## Default player style.
  633. ##
  634. ## Accepted values: invidious, youtube
  635. ## Default: invidious
  636. ##
  637. #player_style: invidious
  638. ##
  639. ## Show/Hide the "related videos" sidebar when
  640. ## watching a video.
  641. ##
  642. ## Accepted values: true, false
  643. ## Default: true
  644. ##
  645. #related_videos: true
  646. # -----------------------------
  647. # Video player behavior
  648. # -----------------------------
  649. ##
  650. ## This option controls the value of the HTML5 <video> element's
  651. ## "preload" attribute.
  652. ##
  653. ## If set to 'false', no video data will be loaded until the user
  654. ## explicitly starts the video by clicking the "Play" button.
  655. ## If set to 'true', the web browser will buffer some video data
  656. ## while the page is loading.
  657. ##
  658. ## See: https://www.w3schools.com/tags/att_video_preload.asp
  659. ##
  660. ## Accepted values: true, false
  661. ## Default: true
  662. ##
  663. #preload: true
  664. ##
  665. ## Automatically play videos on page load.
  666. ##
  667. ## Accepted values: true, false
  668. ## Default: false
  669. ##
  670. #autoplay: false
  671. ##
  672. ## Automatically load the "next" video (either next in
  673. ## playlist or proposed) when the current video ends.
  674. ##
  675. ## Accepted values: true, false
  676. ## Default: false
  677. ##
  678. #continue: false
  679. ##
  680. ## Autoplay next video by default.
  681. ##
  682. ## Note: Only effective if 'continue' is set to true.
  683. ##
  684. ## Accepted values: true, false
  685. ## Default: true
  686. ##
  687. #continue_autoplay: true
  688. ##
  689. ## Play videos in Audio-only mode by default.
  690. ##
  691. ## Accepted values: true, false
  692. ## Default: false
  693. ##
  694. #listen: false
  695. ##
  696. ## Loop videos automatically.
  697. ##
  698. ## Accepted values: true, false
  699. ## Default: false
  700. ##
  701. #video_loop: false
  702. # -----------------------------
  703. # Video playback settings
  704. # -----------------------------
  705. ##
  706. ## Default video quality.
  707. ##
  708. ## Accepted values: dash, hd720, medium, small
  709. ## Default: hd720
  710. ##
  711. #quality: hd720
  712. ##
  713. ## Default dash video quality.
  714. ##
  715. ## Note: this setting only takes effet if the
  716. ## 'quality' parameter is set to "dash".
  717. ##
  718. ## Accepted values:
  719. ## auto, best, 4320p, 2160p, 1440p, 1080p,
  720. ## 720p, 480p, 360p, 240p, 144p, worst
  721. ## Default: auto
  722. ##
  723. #quality_dash: auto
  724. ##
  725. ## Default video playback speed.
  726. ##
  727. ## Accepted values: 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, 2.0
  728. ## Default: 1.0
  729. ##
  730. #speed: 1.0
  731. ##
  732. ## Default volume.
  733. ##
  734. ## Accepted values: 0-100
  735. ## Default: 100
  736. ##
  737. #volume: 100
  738. ##
  739. ## Allow 360° videos to be played.
  740. ##
  741. ## Note: This feature requires a WebGL-enabled browser.
  742. ##
  743. ## Accepted values: true, false
  744. ## Default: true
  745. ##
  746. #vr_mode: true
  747. ##
  748. ## Save the playback position
  749. ## Allow to continue watching at the previous position when
  750. ## watching the same video.
  751. ##
  752. ## Accepted values: true, false
  753. ## Default: false
  754. ##
  755. #save_player_pos: false
  756. # -----------------------------
  757. # Subscription feed
  758. # -----------------------------
  759. ##
  760. ## In the "Subscription" feed, only show the latest video
  761. ## of each channel the user is subscribed to.
  762. ##
  763. ## Note: when combined with 'unseen_only', the latest unseen
  764. ## video of each channel will be displayed instead of the
  765. ## latest by date.
  766. ##
  767. ## Accepted values: true, false
  768. ## Default: false
  769. ##
  770. #latest_only: false
  771. ##
  772. ## Enable/Disable user subscriptions desktop notifications.
  773. ##
  774. ## Accepted values: true, false
  775. ## Default: false
  776. ##
  777. #notifications_only: false
  778. ##
  779. ## In the "Subscription" feed, Only show the videos that the
  780. ## user haven't watched yet (i.e which are not in their watch
  781. ## history).
  782. ##
  783. ## Accepted values: true, false
  784. ## Default: false
  785. ##
  786. #unseen_only: false
  787. ##
  788. ## Default sorting parameter for subscription feeds.
  789. ##
  790. ## Accepted values:
  791. ## 'alphabetically'
  792. ## 'alphabetically - reverse'
  793. ## 'channel name'
  794. ## 'channel name - reverse'
  795. ## 'published'
  796. ## 'published - reverse'
  797. ##
  798. ## Default: published
  799. ##
  800. #sort: published
  801. # -----------------------------
  802. # Miscellaneous
  803. # -----------------------------
  804. ##
  805. ## Proxy videos through instance by default.
  806. ##
  807. ## Warning: As most users won't change this setting in their
  808. ## preferences, defaulting to true will significantly
  809. ## increase the instance's network usage, so make sure that
  810. ## your server's connection can handle it.
  811. ##
  812. ## Accepted values: true, false
  813. ## Default: false
  814. ##
  815. #local: false
  816. ##
  817. ## Show the connected user's nick at the top right.
  818. ##
  819. ## Accepted values: true, false
  820. ## Default: true
  821. ##
  822. #show_nick: true
  823. ##
  824. ## Automatically redirect to a random instance when the user uses
  825. ## any "switch invidious instance" link (For videos, it's the plane
  826. ## icon, next to "watch on youtube" and "listen"). When set to false,
  827. ## the user is sent to https://redirect.invidious.io instead, where
  828. ## they can manually select an instance.
  829. ##
  830. ## Accepted values: true, false
  831. ## Default: false
  832. ##
  833. #automatic_instance_redirect: false
  834. ##
  835. ## Show the entire video description by default (when set to 'false',
  836. ## only the first few lines of the description are shown and a
  837. ## "show more" button allows to expand it).
  838. ##
  839. ## Accepted values: true, false
  840. ## Default: false
  841. ##
  842. #extend_desc: false