Skip to content

Commit

Permalink
fix(YouTube - Open Shorts in regular player): Do not show the minipla…
Browse files Browse the repository at this point in the history
…yer after opening a Short while a video is playing
  • Loading branch information
LisoUseInAIKyrios committed Dec 19, 2024
1 parent 5eea86c commit 894e366
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ public static boolean openShort(String videoID) {
Intent.ACTION_VIEW,
Uri.parse("https://youtube.com/watch?v=" + videoID)
);
videoPlayerIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
videoPlayerIntent.setPackage(context.getPackageName());

context.startActivity(videoPlayerIntent);
Expand Down

0 comments on commit 894e366

Please sign in to comment.