diff --git a/.ameba.yml b/.ameba.yml index 36d7c48f..df97b539 100644 --- a/.ameba.yml +++ b/.ameba.yml @@ -38,9 +38,6 @@ Style/RedundantBegin: Style/RedundantReturn: Enabled: false -Style/RedundantNext: - Enabled: false - Style/ParenthesesAroundCondition: Enabled: false diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 9ca09368..7a2c3760 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -6,7 +6,7 @@ docker/ @unixfox kubernetes/ @unixfox README.md @thefrenchghosty -config/config.example.yml @SamantazFox @unixfox +config/config.example.yml @thefrenchghosty @SamantazFox @unixfox scripts/ @syeopite shards.lock @syeopite diff --git a/CHANGELOG.md b/CHANGELOG.md index 15991668..2cc5b05c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,39 +1,5 @@ # CHANGELOG -## vX.Y.0 (future) - - -### Full list of pull requests merged since the last release (newest first) - -* Search: Fix 'youtu.be' URLs in sanitizer ([#4894], by @SamantazFox) -* Ameba: Disable Style/RedundantNext rule ([#4888], thanks @syeopite) -* Playlists: Fix 'invalid byte sequence' error when subscribing ([#4887], thanks @DmitrySandalov) -* Parse more metadata badges for SearchVideos ([#4863], thanks @ChunkyProgrammer) -* Translations update from Hosted Weblate ([#4862], thanks to our many translators) -* Videos: Convert URL before putting result into cache ([#4850], by @SamantazFox) -* HTML: Add error message to "search issues on GitHub" link ([#4652], thanks @tracedgod) -* Preferences: Add option to control preloading of video data ([#4122], thanks @Nerdmind) -* Performance: Improve speed of automatic instance redirection ([#4193], thanks @syeopite) -* Remove myself from CODEOWNERS on the config file ([#4942], by @TheFrenchGhosty) -* Update latest version WEB_CREATOR + fix comment web embed ([#4930], thanks @unixfox) -* use WEB_CREATOR when po_token with WEB_EMBED as a fallback ([#4928], thanks @unixfox) -* Revert "use web screen embed for fixing potoken functionality" -* use web screen embed for fixing potoken functionality ([#4923], thanks @unixfox) - -[#4122]: https://github.com/iv-org/invidious/pull/4122 -[#4193]: https://github.com/iv-org/invidious/pull/4193 -[#4652]: https://github.com/iv-org/invidious/pull/4652 -[#4850]: https://github.com/iv-org/invidious/pull/4850 -[#4862]: https://github.com/iv-org/invidious/pull/4862 -[#4863]: https://github.com/iv-org/invidious/pull/4863 -[#4887]: https://github.com/iv-org/invidious/pull/4887 -[#4888]: https://github.com/iv-org/invidious/pull/4888 -[#4894]: https://github.com/iv-org/invidious/pull/4894 -[#4923]: https://github.com/iv-org/invidious/pull/4923 -[#4928]: https://github.com/iv-org/invidious/pull/4928 -[#4930]: https://github.com/iv-org/invidious/pull/4930 -[#4942]: https://github.com/iv-org/invidious/pull/4942 - ## v2.20240825.2 (2024-08-26) diff --git a/assets/js/player.js b/assets/js/player.js index 353a5296..d32062c6 100644 --- a/assets/js/player.js +++ b/assets/js/player.js @@ -3,6 +3,7 @@ var player_data = JSON.parse(document.getElementById('player_data').textContent) var video_data = JSON.parse(document.getElementById('video_data').textContent); var options = { + preload: 'auto', liveui: true, playbackRates: [0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, 2.0], controlBar: { diff --git a/config/config.example.yml b/config/config.example.yml index e9eebfde..219aa03f 100644 --- a/config/config.example.yml +++ b/config/config.example.yml @@ -707,22 +707,6 @@ default_user_preferences: # Video player behavior # ----------------------------- - ## - ## This option controls the value of the HTML5