diff options
| author | Thomas Lange <code@nerdmind.de> | 2023-09-26 21:45:52 +0200 |
|---|---|---|
| committer | Thomas Lange <code@nerdmind.de> | 2023-09-26 22:21:12 +0200 |
| commit | bf470704a5a3071cebb1d558efaef8542a16dde6 (patch) | |
| tree | f0f4fe4471a7c74d5c3301e2414183bacd06b384 /config/config.example.yml | |
| parent | bb14f794969f62582917a39c2dd57bf92fa146a7 (diff) | |
| download | invidious-bf470704a5a3071cebb1d558efaef8542a16dde6.tar.gz invidious-bf470704a5a3071cebb1d558efaef8542a16dde6.tar.bz2 invidious-bf470704a5a3071cebb1d558efaef8542a16dde6.zip | |
Add option to control preloading of video data
Fix #4110 by adding an option to control the preloading of video data on
page load. If disabled ("false"), the browser will not preload any video
data until the user explicitly hits the "Play" button.
If enabled ("true"), the default behavior will be used, which means the
browser decides how much of the video will be preloaded.
Diffstat (limited to 'config/config.example.yml')
| -rw-r--r-- | config/config.example.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/config/config.example.yml b/config/config.example.yml index b44fcc0e..b1a76edf 100644 --- a/config/config.example.yml +++ b/config/config.example.yml @@ -719,6 +719,20 @@ default_user_preferences: # ----------------------------- ## + ## Automatically preload video on page load. This option controls the + ## value for the "preload" attribute of the HTML5 <video> element. + ## + ## If disabled, no video data will be loaded until the user explicitly + ## starts the video by hitting the "Play" button. If enabled, the web + ## browser decides how much of the video data will be preloaded. + ## + ## See: https://www.w3schools.com/tags/att_video_preload.asp + ## + ## Accepted values: true, false + ## Default: true + #preload: true + + ## ## Automatically play videos on page load. ## ## Accepted values: true, false |
