Skip to content

feat(YouTube - Hide player flyout menu components): Add Hide captions menu header#176

Draft
ILoveOpenSourceApplications wants to merge 1 commit intoinotia00:devfrom
ILoveOpenSourceApplications:feat/hide-captions-menu-header
Draft

feat(YouTube - Hide player flyout menu components): Add Hide captions menu header#176
ILoveOpenSourceApplications wants to merge 1 commit intoinotia00:devfrom
ILoveOpenSourceApplications:feat/hide-captions-menu-header

Conversation

@ILoveOpenSourceApplications

Closes inotia00/ReVanced_Extended#2911.

12-30 18:17:20.867 18755 18755 D Extended: LithoFilterPatch: Searching 
12-30 18:17:20.867 18755 18755 D Extended: LithoFilterPatch: ID: overflow_menu_item.eml|3415478bd9bd40a
12-30 18:17:20.867 18755 18755 D Extended: LithoFilterPatch: Path: overflow_menu_item.eml|3415478bd9bd40a|ContainerType|bottom_sheet_list_option.eml|38fabc9237b4dd76|ContainerType|ContainerType|ContainerType|ContainerType|ImageType|
12-30 18:17:20.867 18755 18755 D Extended: LithoFilterPatch: BufferStrings: bottom_sheet_list_option_key❙Captions❙sans-serif❙id.bottom_sheet.icon❙yt_outline_closed_caption_black_24❙3buenos_aires_player_overflow_bottom_sheet_list_item❙bottom_sheet_list_option❙id.elements.components.overflow_menu_item_Captions❙Captions ❙(bottom_sheet_header.eml|26d94c3610b911f0*❙Captions❙theme|848312784bda1eac❙333?❙dismiss❙$KEN_BURNS_ANIMATION_TYPE_UNSPECIFIED❙capabilities|3ce171ccf93f4e2b2❙ bottom_sheet_scroll_position_key❙theme|848312784bda1eac❙capabilities|3ce171ccf93f4e2b❙(bottom_sheet_header.eml|26d94c3610b911f02❙1767098811998348415"❙.captions_sheet_content.eml-ja|86f7ba06f0637e25*❙Turn off captions*❙Auto-translate2❙STo keep captions on by default, adjust captions visibility in your device settings.*❙6https://support.google.com/youtube/answer/100078?hl=en2❙Subtitles/CC turned on ($0)B+Subtitles/CC turned on $0 (auto-translated)J❙Subtitles/CC turned offP❙capabilities|3ce171ccf93f4e2b❙theme|848312784bda1eac❙333?❙dismiss❙$KEN_BURNS_ANIMATION_TYPE_UNSPECIFIED❙2captions_sheet_content_controller|3eaff448ef2596fa❙5createCaptionsSheetContentController|de8569d9f3776616(❙2captions_sheet_content_controller|3eaff448ef2596fa❙6destroyCaptionsSheetContentController|de8569d9f3776616(❙2captions_sheet_content_controller|3eaff448ef2596fa❙@notifyModelUpdateCaptionsSheetContentController|de8569d9f3776616(❙theme|848312784bda1eac❙capabilities|3ce171ccf93f4e2b❙.captions_sheet_content.eml-ja|86f7ba06f0637e252❙1767098811998348416❙

@ILoveOpenSourceApplications
Copy link
Author

I wasn't able to test this due to

Plugin [id: 'app.revanced.patches', version: '1.0.0-dev.6.r2'] was not found in any of the following sources:

- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Included Builds (No included builds contain this plugin)
- Plugin Repositories (could not resolve plugin artifact 'app.revanced.patches:app.revanced.patches.gradle.plugin:1.0.0-dev.6.r2')
  Searched in the following repositories:
    MavenLocal(file:/C:/Users/Yahoo/.m2/repository/)
    Gradle Central Plugin Repository
    Google
    maven(https://jitpack.io)
    GitHubPackages(https://maven.pkg.github.com/revanced/registry)
    GitHubPackages2(https://maven.pkg.github.com/inotia00/registry)

@inotia00
Copy link
Owner

Refer to the build guidelines provided by the ReVanced Team:

https://github.com/ReVanced/revanced-patcher/blob/main/docs/2_1_setup.md#-prepare-the-environment

You need to issue a Personal Access Token (PAT) and set it in gradle.properties:

Open gradle.properties in a text editor and add the following two lines:

gpr.user = ILoveOpenSourceApplications
gpr.key = ghp_XXXXXXX... (PAT)

@inotia00
Copy link
Owner

inotia00 commented Dec 31, 2025

Change requested

Not all caption flyout menu headers are Litho View.

For example, the caption flyout menu that appears when you press and hold the caption button in the video player uses LayoutInflater.

(The caption flyout menu in Shorts also uses LayoutInflater)

These caption flyout menu headers cannot be hidden with Litho Filters.

I previously tested a setting to hide the caption flyout menu header, but for this reason, it was not added to the patch.

Miscellaneous

All strings must be added to the Crowdin project.

The RVX Crowdin project will be closed on January 1, 2026, so translation contributors will no longer be able to contribute new strings.

@inotia00 inotia00 marked this pull request as draft December 31, 2025 01:01
@ILoveOpenSourceApplications
Copy link
Author

But adding bottom_sheet_header in custom filter seems to hide it, which is why I opened this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants