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

Can PIP support the hidden operation bar? #121

Open
ericjiajia opened this issue Jun 5, 2024 · 4 comments
Open

Can PIP support the hidden operation bar? #121

ericjiajia opened this issue Jun 5, 2024 · 4 comments

Comments

@ericjiajia
Copy link

In the requirements I need to do, I need to hide the operation bar, but the current API cannot meet it
image

@steimelchrome
Copy link
Collaborator

Having that bar always hidden is not feasible for security reasons (the user needs to know what origin the content is coming from and needs the ability to close the window). However, we have internally had some discussions around having the bar hide when the window is unfocused and unhovered. Would that solve your issue? Note that this isn't something that's definitely going to happen (or necessarily happen soon if it does happen), but it'd be good to know if that work would be solving your use case to help us prioritize

@ericjiajia
Copy link
Author

Currently, I have a high-priority requirement, which is to display pip as a floating window with real-time subtitles. However, the current header will affect the display effect. For example, when the ppt is playing, it will interfere with the ppt content. If this feature can be supported as soon as possible, I will be very grateful!

@projektorius96
Copy link

My suggestion for implementers, is to provide the information about origin in the context menu, this will leave PiP instantiated window(s) as clear as possible.

@projektorius96
Copy link

projektorius96 commented Jan 26, 2025

Testing PiP on the basis of Placard.js-light.

  • Demo, in order to reproduce the GUI being transferred to PiP window instance, please double click on it with pointer (e.g. mouse)

Image

As a web developer I understand possible implications of Chromium-based security model, its measures and trade-offs, however as a user I want to see more customizability, also ability to have multiple PiP windows with respect to top level opener. Good example is one PiP window for variable bindings (current screenshot), and at least one more for Canvas (Layer) manager, which currently due to PiP API limitations I cannot have and forced to fall back by using Electron.js

Perhaps their Majesty Nooglers @beaufortfrancois @tomayac could give some viable insight regarding the issue originally raised by @ericjiajia as I strongly bielieve it remains relevant.

Thank you.

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

3 participants