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

The background can be set to transparent and mouse-through. #99

Open
yisibl opened this issue Oct 13, 2023 · 3 comments
Open

The background can be set to transparent and mouse-through. #99

yisibl opened this issue Oct 13, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@yisibl
Copy link

yisibl commented Oct 13, 2023

I like the original idea of Document Picture in Picture, as written in explainer:

The website can provide custom controls and inputs (e.g. captions, playlists, time scrubber, liking/disliking videos, etc) to improve the user's PiP video experience.

A very important scenario mentioned here is captions. In many desktop music players (e.g. QQ Music), the function of popping up the lyrics and displaying them on top is provided, which is actually a kind of caption.

In order to meet this kind of demand, there are a few improvements to the current PIP implementation:

Especially in QQ Music provides the following modes, which we can learn from.

QQ Music PIP

  • Background Transparency: The background can be made transparent by clicking the button on the title bar. If to avoid abuse, it can be opaque when opened by default.
  • When the background is transparent, the mouse can pass through it, which is very important in music apps, and the lyrics should not affect the user's mouse operation.
  • The PIP window is globally draggable when the background is transparent because we need somewhere to drag the title bar once it's hidden.

This will also further the Progressive Web App, bringing the great experiences from the Native App to the Web.

The future is bright, and thank you to all those who have worked so hard to bring us the best of the Web.

@ivandenysenko
Copy link

Just want to support background transparency idea 🙂
Love that we might have an opportunity to implement native apps functionality with PWA

@steimelchrome steimelchrome added the enhancement New feature or request label Feb 6, 2024
@yisibl
Copy link
Author

yisibl commented Mar 14, 2024

Any news?

@steimelchrome
Copy link
Collaborator

On the Chrome side, we have had some discussions about giving the site some amount of control over initial location as well as letting the titlebar hide in some cases, but both of those are more in exploratory stages. We have not had much internal discussion about background transparency though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants