Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(YouTube - Minimized playback): Fix PIP incorrectly shown for some Shorts playback #3364

Merged
merged 1 commit into from
Dec 4, 2023
Merged

fix(YouTube - Minimized playback): Fix PIP incorrectly shown for some Shorts playback #3364

merged 1 commit into from
Dec 4, 2023

Conversation

LisoUseInAIKyrios
Copy link

@LisoUseInAIKyrios LisoUseInAIKyrios commented Dec 4, 2023

Fixes #191

There still exists one edge case of:

  • Open a regular video
  • Open a short (without closing the regular video)
  • Close the short
  • Minimize the previous regular video to the bottom of YouTube (the small thin horizontal bar at at the bottom of the screen)
  • Resuming playing the regular video (while still in the horizontal bar minimized state)
  • Close YT

If these exact steps are taken, the PIP will not show (when normally it should).

Fixing this would require a new hook that determines if the Shorts player is on screen or not. This is an unusual use case, so it's not much concern and this PR fixes the major problem for all situations (a broken Shorts PIP incorrectly showing).

Integration changes

@LisoUseInAIKyrios LisoUseInAIKyrios merged commit 84607ff into ReVanced:dev Dec 4, 2023
2 checks passed
@LisoUseInAIKyrios LisoUseInAIKyrios deleted the minimized_playback_shorts_fix branch December 4, 2023 23:47
revanced-bot pushed a commit that referenced this pull request Dec 4, 2023
# [3.0.0-dev.4](ReVanced/revanced-patches@v3.0.0-dev.3...v3.0.0-dev.4) (2023-12-04)

### Bug Fixes

* **YouTube - Minimized playback:** Fix PIP incorrectly shown for some Shorts playback ([#3364](ReVanced/revanced-patches#3364)) ([84607ff](ReVanced/revanced-patches@84607ff))
revanced-bot pushed a commit that referenced this pull request Dec 12, 2023
# [3.0.0](ReVanced/revanced-patches@v2.202.0...v3.0.0) (2023-12-12)

### Bug Fixes

* Use correct class loader to load resources ([1d5f1f8](ReVanced/revanced-patches@1d5f1f8))
* **YouTube - GmsCore support:** Check for availability earlier to prevent crashing without any notice ([dab8900](ReVanced/revanced-patches@dab8900))
* **YouTube - Minimized playback:** Fix PIP incorrectly shown for some Shorts playback ([#3364](ReVanced/revanced-patches#3364)) ([84607ff](ReVanced/revanced-patches@84607ff))
* **YouTube - Return YouTube Dislike:** Prevent the first Short opened from freezing the UI ([#3359](ReVanced/revanced-patches#3359)) ([e024409](ReVanced/revanced-patches@e024409))

### Features

* Allow choosing the vendor of GmsCore via patch options ([#3347](ReVanced/revanced-patches#3347)) ([161261c](ReVanced/revanced-patches@161261c))
* **Infinity for Reddit - Spoof client:** Support latest version ([ca42fd9](ReVanced/revanced-patches@ca42fd9))
* **Infinity for Reddit:** Add `Unlock subscription` patch ([840b29e](ReVanced/revanced-patches@840b29e))
* **Photomath:** Constrain patches to last working version ([f9a5dc6](ReVanced/revanced-patches@f9a5dc6))
* Publish as a library ([#3356](ReVanced/revanced-patches#3356)) ([4b878ee](ReVanced/revanced-patches@4b878ee))
* **Tiktok:** Bump compatibility to `32.5.3` ([#3389](ReVanced/revanced-patches#3389)) ([96cdc10](ReVanced/revanced-patches@96cdc10))
* **Twitch - Settings:** Support version `16.1.0` and `15.4.1` ([#3377](ReVanced/revanced-patches#3377)) ([062310d](ReVanced/revanced-patches@062310d))
* **Twitter - Dynamic Color:** Remove blue icon and update app name ([#3384](ReVanced/revanced-patches#3384)) ([3db6615](ReVanced/revanced-patches@3db6615))
* **YouTube - Alternative Thumbnails:** Add option to use DeArrow ([#3378](ReVanced/revanced-patches#3378)) ([41217f6](ReVanced/revanced-patches@41217f6))
* **YouTube:** Add `Change start page` patch ([ad9ba37](ReVanced/revanced-patches@ad9ba37))
* **YouTube:** Clarify patch descriptions ([#3350](ReVanced/revanced-patches#3350)) ([f2b9df4](ReVanced/revanced-patches@f2b9df4))

### BREAKING CHANGES

* **Tiktok:** This removes a patch but consolidates it into another.
* Various APIs have been moved to `GmsCoreSupportAbstractPatch`
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