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

Developer API for Picture in Picture #921

Open
hanaral opened this issue Sep 28, 2020 · 4 comments
Open

Developer API for Picture in Picture #921

hanaral opened this issue Sep 28, 2020 · 4 comments
Labels
Priority: Wishlist An enhancement or new feature

Comments

@hanaral
Copy link

hanaral commented Sep 28, 2020

This would be very good for everyone who likes PiP, but wants something that integrates directly in to the desktop with play/pause and everything. I’m not sure about the specifics of how it would be done, although I would assume gala would need a way of streaming the video content directly from the app without rendering the original.
This may not be feasible for now, but I’m willing to bet it’s possible.

@cassidyjames
Copy link
Contributor

cassidyjames commented Sep 28, 2020

Another option could be to just let an app define a region of its window to be drawn in PiP, and then Gala would handle Picture-In-Picture as it does today—or better, with #658 implemented.

@danirabbit
Copy link
Member

I think there's an open issue for a Granite media player widget as well. That would make implementing PIP much more straight forward as we could use a gstreamer sink directly and not need to do any window capture

@stsdc
Copy link
Member

stsdc commented Oct 4, 2020

I'm wondering if i can do PiP for Monitor to show some important cpu, ram etc. charts 🤔
might be useful

or is it only for media?

@hanaral
Copy link
Author

hanaral commented Oct 4, 2020

I'm wondering if i can do PiP for Monitor to show some important cpu, ram etc. charts
might be useful

or is it only for media?

I meant this feature request to be something similar to the PiP API iOS has, since it would allow developers for elementary to have a native way of 'popping out' the media player in an app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Wishlist An enhancement or new feature
Projects
None yet
Development

No branches or pull requests

5 participants