mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-05-15 13:57:17 +02:00
remove fix video playback
This commit is contained in:
parent
7db1a31cde
commit
66281f4185
@ -7,7 +7,6 @@ import app.revanced.patcher.patch.annotations.DependsOn
|
|||||||
import app.revanced.patcher.patch.BytecodePatch
|
import app.revanced.patcher.patch.BytecodePatch
|
||||||
import app.revanced.patcher.patch.PatchResult
|
import app.revanced.patcher.patch.PatchResult
|
||||||
import app.revanced.patcher.patch.PatchResultSuccess
|
import app.revanced.patcher.patch.PatchResultSuccess
|
||||||
import app.revanced.patches.youtube.misc.videoid.mainstream.patch.MainstreamVideoIdPatch
|
|
||||||
import app.revanced.shared.annotation.YouTubeCompatibility
|
import app.revanced.shared.annotation.YouTubeCompatibility
|
||||||
import app.revanced.shared.patches.videoads.GeneralVideoAdsPatch
|
import app.revanced.shared.patches.videoads.GeneralVideoAdsPatch
|
||||||
import app.revanced.shared.util.bytecode.BytecodeHelper
|
import app.revanced.shared.util.bytecode.BytecodeHelper
|
||||||
@ -15,8 +14,7 @@ import app.revanced.shared.util.integrations.Constants.ADS_PATH
|
|||||||
|
|
||||||
@DependsOn(
|
@DependsOn(
|
||||||
[
|
[
|
||||||
GeneralVideoAdsPatch::class,
|
GeneralVideoAdsPatch::class
|
||||||
MainstreamVideoIdPatch::class
|
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
@Name("hide-video-ads-bytecode-patch")
|
@Name("hide-video-ads-bytecode-patch")
|
||||||
|
@ -38,14 +38,6 @@ class VideoAdsPatch : ResourcePatch {
|
|||||||
"SETTINGS: HIDE_VIDEO_ADS"
|
"SETTINGS: HIDE_VIDEO_ADS"
|
||||||
)
|
)
|
||||||
|
|
||||||
ResourceHelper.addSettings2(
|
|
||||||
context,
|
|
||||||
"PREFERENCE_CATEGORY: REVANCED_EXTENDED_SETTINGS",
|
|
||||||
"PREFERENCE: EXTENDED_SETTINGS",
|
|
||||||
"SETTINGS: EXPERIMENTAL_FLAGS",
|
|
||||||
"SETTINGS: FIX_VIDEO_PLAYBACK"
|
|
||||||
)
|
|
||||||
|
|
||||||
ResourceHelper.patchSuccess(
|
ResourceHelper.patchSuccess(
|
||||||
context,
|
context,
|
||||||
"hide-video-ads"
|
"hide-video-ads"
|
||||||
|
@ -269,9 +269,6 @@ Is it ready to submit?"</string>
|
|||||||
<string name="revanced_extended_settings">ReVanced Extended settings</string>
|
<string name="revanced_extended_settings">ReVanced Extended settings</string>
|
||||||
<string name="revanced_extended_summary">Extended related settings</string>
|
<string name="revanced_extended_summary">Extended related settings</string>
|
||||||
<string name="revanced_extended_title">Extended settings</string>
|
<string name="revanced_extended_title">Extended settings</string>
|
||||||
<string name="revanced_fix_video_playback_summary_off">Fix video playback buffer issues turned off</string>
|
|
||||||
<string name="revanced_fix_video_playback_summary_on">Fix video playback buffer issues turned on</string>
|
|
||||||
<string name="revanced_fix_video_playback_title">Fix video playback buffer issues</string>
|
|
||||||
<string name="revanced_hide_auto_captions_summary_off">Captions are enabled when playing a video with captioning is enforced</string>
|
<string name="revanced_hide_auto_captions_summary_off">Captions are enabled when playing a video with captioning is enforced</string>
|
||||||
<string name="revanced_hide_auto_captions_summary_on">"Captions aren't enabled when playing a video with captioning is enforced"</string>
|
<string name="revanced_hide_auto_captions_summary_on">"Captions aren't enabled when playing a video with captioning is enforced"</string>
|
||||||
<string name="revanced_hide_auto_captions_title">Hide auto captions</string>
|
<string name="revanced_hide_auto_captions_title">Hide auto captions</string>
|
||||||
@ -465,10 +462,6 @@ In the app settings, the YouTube version may be marked as v17.28.35"</string>
|
|||||||
If you enable this setting, the following features are available:
|
If you enable this setting, the following features are available:
|
||||||
- Community Posts
|
- Community Posts
|
||||||
- Hide Mix playlist"</string>
|
- Hide Mix playlist"</string>
|
||||||
<string name="revanced_reboot_warning_playback">"Fix video playback buffer issues in some regions.
|
|
||||||
|
|
||||||
If you enable this setting, following issue may occurs:
|
|
||||||
- When playing a video in the playlist, the issue may not be fixed"</string>
|
|
||||||
<string name="revanced_reboot_warning_swipe">"Enable always swipe gesture regardless of player controller visibility.
|
<string name="revanced_reboot_warning_swipe">"Enable always swipe gesture regardless of player controller visibility.
|
||||||
|
|
||||||
If you enable this setting, the following features are not available:
|
If you enable this setting, the following features are not available:
|
||||||
|
@ -334,8 +334,6 @@
|
|||||||
|
|
||||||
<!-- SETTINGS: EXPERIMENTAL_FLAGS
|
<!-- SETTINGS: EXPERIMENTAL_FLAGS
|
||||||
<Preference android:title=" " android:selectable="false" android:key="revanced_experimental_flag" android:summary="@string/revanced_experimental_flag" />SETTINGS: EXPERIMENTAL_FLAGS -->
|
<Preference android:title=" " android:selectable="false" android:key="revanced_experimental_flag" android:summary="@string/revanced_experimental_flag" />SETTINGS: EXPERIMENTAL_FLAGS -->
|
||||||
<!-- SETTINGS: FIX_VIDEO_PLAYBACK
|
|
||||||
<SwitchPreference android:title="@string/revanced_fix_video_playback_title" android:key="revanced_fix_video_playback" android:defaultValue="false" android:summaryOn="@string/revanced_fix_video_playback_summary_on" android:summaryOff="@string/revanced_fix_video_playback_summary_off" />SETTINGS: FIX_VIDEO_PLAYBACK -->
|
|
||||||
<!-- SETTINGS: ENABLE_OLD_LAYOUT
|
<!-- SETTINGS: ENABLE_OLD_LAYOUT
|
||||||
<SwitchPreference android:title="@string/revanced_enable_old_layout_title" android:key="revanced_enable_old_layout" android:defaultValue="false" android:summaryOn="@string/revanced_enable_old_layout_summary_on" android:summaryOff="@string/revanced_enable_old_layout_summary_off" />SETTINGS: ENABLE_OLD_LAYOUT -->
|
<SwitchPreference android:title="@string/revanced_enable_old_layout_title" android:key="revanced_enable_old_layout" android:defaultValue="false" android:summaryOn="@string/revanced_enable_old_layout_summary_on" android:summaryOff="@string/revanced_enable_old_layout_summary_off" />SETTINGS: ENABLE_OLD_LAYOUT -->
|
||||||
<!-- SETTINGS: LAYOUT_SWITCH
|
<!-- SETTINGS: LAYOUT_SWITCH
|
||||||
|
Loading…
x
Reference in New Issue
Block a user