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

Add support for the Document PiP API #2

Merged
merged 1 commit into from
Jan 18, 2023
Merged

Conversation

tomayac
Copy link
Contributor

@tomayac tomayac commented Jan 17, 2023

This PR adds support for the Document PiP API. Like that, the timer can be paused right from the PiP window. On supporting browsers, this is more resource-friendly compared to the canvas to video hack that the current PiP mode has to use.

Screenshot 2023-01-17 at 14 14 29

@lazy-guy
Copy link
Owner

I didn't know that this API exists, although it seems that most browsers don't support it yet.
Thanks for the changes!

@lazy-guy lazy-guy merged commit 0780d54 into lazy-guy:main Jan 18, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants