diff --git a/src/main/kotlin/app/revanced/patches/youtube/video/customspeed/CustomPlaybackSpeedPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/video/customspeed/CustomPlaybackSpeedPatch.kt index 115b0fa99..ed6fc55bf 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/video/customspeed/CustomPlaybackSpeedPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/video/customspeed/CustomPlaybackSpeedPatch.kt @@ -5,6 +5,7 @@ import app.revanced.patcher.patch.annotation.CompatiblePackage import app.revanced.patcher.patch.annotation.Patch import app.revanced.patches.shared.patch.customspeed.AbstractCustomPlaybackSpeedPatch import app.revanced.patches.youtube.flyoutpanel.oldspeedlayout.OldSpeedLayoutPatch +import app.revanced.patches.youtube.utils.overridespeed.OverrideSpeedHookPatch import app.revanced.patches.youtube.utils.settings.SettingsPatch import app.revanced.util.integrations.Constants.VIDEO_PATH @@ -13,6 +14,7 @@ import app.revanced.util.integrations.Constants.VIDEO_PATH description = "Adds more playback speed options.", dependencies = [ OldSpeedLayoutPatch::class, + OverrideSpeedHookPatch::class, SettingsPatch::class ], compatiblePackages = [ diff --git a/src/main/resources/youtube/settings/host/values/strings.xml b/src/main/resources/youtube/settings/host/values/strings.xml index 1fd09bff4..906665fdf 100644 --- a/src/main/resources/youtube/settings/host/values/strings.xml +++ b/src/main/resources/youtube/settings/host/values/strings.xml @@ -50,6 +50,9 @@ Add or change available playback speeds. Edit custom playback speeds Custom speeds can\'t be more than %sx. Reset to default values. + Old style flyout panel is used. + Custom dialog is used. + Custom playback speed panel type Opacity value between 0-100, where 0 is transparent. Custom player overlay opacity Player overlay opacity must be between 0-100. Reset to default values. diff --git a/src/main/resources/youtube/settings/xml/revanced_prefs.xml b/src/main/resources/youtube/settings/xml/revanced_prefs.xml index c16973627..e1674b8bd 100644 --- a/src/main/resources/youtube/settings/xml/revanced_prefs.xml +++ b/src/main/resources/youtube/settings/xml/revanced_prefs.xml @@ -689,6 +689,7 @@