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

Option to enter and leave Picture In Picture #7

Open
KyleSmith0905 opened this issue Jan 1, 2025 · 2 comments
Open

Option to enter and leave Picture In Picture #7

KyleSmith0905 opened this issue Jan 1, 2025 · 2 comments

Comments

@KyleSmith0905
Copy link

Awesome library btw.

I'm in the need of an option to enter and leave picture in picture since I'm using my own custom controls, and only planning on using this library for the picture-in-picture.

Expected Behavior:
So user clicks a button, I call MediaPlayer.enterPictureInPicture({player: 'example'})

When the user enters back into the app, I call MediaPlayer.leavePictureInPicture({player: 'example'})

Thank you! Best of luck!

@KyleSmith0905
Copy link
Author

I'm working on temporary code for Android and Web. I can send it over to a branch or something and you can morph it into your vision.

@KyleSmith0905
Copy link
Author

I'm not confident in adding this to a pull request yet, but here is the progress I've made (it's working on Android after testing): https://github.com/KyleSmith0905/fork--eduardoRoth--media-player

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

No branches or pull requests

1 participant