From 4301bdaafd9cb28fd6396c21b2c3c6a3475fb024 Mon Sep 17 00:00:00 2001 From: MintMain21 <91362684+MintMain21@users.noreply.github.com> Date: Mon, 1 Jul 2024 08:04:44 -0700 Subject: [PATCH] Update with all but two URL Parameters (#360) * Update with quality_dash preference The documentation has been updated to include the quality_dash preference to enforce preferred quality using dash. * Added Extend Description As far as I know, only two URL parameters are missing from here now, VR Mode and Save Player Position. I have left these off intentionally because I do not know these option well enough to know what they do, how they work, or if they would be helpful parsed through extensions like Redirector or the URL Parameters Userscript. I shall leave these two to be added by an individual more knowledgeable. * Added `dark_mode=auto` Parameter * Moved _Player Style_ up to Player parameters * Update url-parameters.md How's this? * Update url-parameters.md Returned the video player parameters * Update url-parameters.md --- docs/url-parameters.md | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/docs/url-parameters.md b/docs/url-parameters.md index 39e2192..b5f2a52 100644 --- a/docs/url-parameters.md +++ b/docs/url-parameters.md @@ -9,7 +9,8 @@ _This list is incomplete. You can help by expanding it._ | **Site-wide parameters** | | | _Dark mode_ | Configure default theme without setting cookies | | `dark_mode=true` | Use dark theme | -| `dark_mode=false` | Use light theme | +| `dark_mode=false` | Use light theme | +| `dark_mode=auto` | Use system/browser theme | _Thin mode_ | Load HTML, CSS, JS and video elements (disables images) | | `thin_mode=true` | Enabled | | `thin_mode=false` | Disabled | @@ -52,10 +53,20 @@ _This list is incomplete. You can help by expanding it._ | `quality=dash` | [DASH](https://en.wikipedia.org/wiki/Dynamic_Adaptive_Streaming_over_HTTP) | | `quality=hd720` | 720p | | `quality=medium` | 480p | +| _Quality_DASH_ | Default player quality when using DASH (default is Auto) | +| `quality_dash=auto` | Automatically change quality based on network conditions | +| `quality_dash=best` | Automatically use the best quality avalible | +| `quality_dash=###` | always use desired quality (480, 720, etc). | +| `quality_dash=worst` | Automatically use the worst quality avalible | | _Related Videos_ | Show "Related videos" tab on the right-hand side | | `related_videos=false` | Disabled | | _Comments_ | Show comments below the video| -| `comments=false` | Disabled | +| `comments=false` | Disabled | +| _Extended Description_ | Extend Video Description by default | +| `extend_desc=true` | Enabled +**Player Style** | Define how the Video Player looks asthetically | +| `player_style=invidious` | Invidious, the default | +| `player_style=youtube` | YouTube, using a centered play button and always visible video control bar | | _Speed_ | Default player speed, can be any positive number | | `speed=0.5` | Play at 0.5x speed | | `speed=2` | Play at 2x speed | @@ -90,6 +101,3 @@ _This list is incomplete. You can help by expanding it._ | _Region_ | Provide "hint" (as ISO 3166 country code) for Invidious to load trending videos from the specified region | | | `region=JP` | Load videos that are trending in Japan | | `region=DE` | Load videos that are trending in Germany | -| **Player Style** | | -| `player_style=invidious` | Invidious, the default | -| `player_style=youtube` | YouTube, using a centered play button and always visible video control bar |