Skip to content
New issue

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

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

Already on GitHub? # to your account

feat(YouTube): Exit fullscreen mode when video ends #4219

Closed
3 tasks done
tugboat-maguire opened this issue Dec 26, 2024 · 3 comments · Fixed by #4223 or #4213
Closed
3 tasks done

feat(YouTube): Exit fullscreen mode when video ends #4219

tugboat-maguire opened this issue Dec 26, 2024 · 3 comments · Fixed by #4223 or #4213
Labels
Feature request Requesting a new feature that's not implemented yet

Comments

@tugboat-maguire
Copy link

Feature description

Feature request to minimize/exit the full screen video automatically after the video is completed.

Motivation

A patch to automatically exit fullscreen when the video is completed could be helpful if using Open videos full screen and open shorts fullscreen regular player patch. It would automatically enter fullscreen when opening the video and automatically exit when it's done.

Acknowledgements

  • I have checked all open and closed feature requests and this is not a duplicate
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
@tugboat-maguire tugboat-maguire added the Feature request Requesting a new feature that's not implemented yet label Dec 26, 2024
@LisoUseInAIKyrios LisoUseInAIKyrios changed the title feat: Exit fullscreen when video ends feat(YouTube): Exit fullscreen mode when video ends Dec 26, 2024
@LisoUseInAIKyrios
Copy link
Contributor

Yes it would be helpful, if someone can figure out a way to do it.

@0xrxL
Copy link

0xrxL commented Dec 26, 2024

Yes it would be helpful, if someone can figure out a way to do it.

Guess that the video autorepeat fingerprint is still on this repo, so...this can be used in combination with performClick() on the exit fullscreen button and playerType patch (to recognize if user is in fullscreen mode). 👍

@LisoUseInAIKyrios
Copy link
Contributor

Fullscreen button is already hooked to fix the fade out of the player control buttons.

Adding a performClick() call on it works for this. Will make a PR soon.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Feature request Requesting a new feature that's not implemented yet
Projects
None yet
3 participants