Skip to content

Add support for the Document PiP API#2

Merged
lazy-guy merged 1 commit into
lazy-guy:mainfrom
tomayac:main
Jan 18, 2023
Merged

Add support for the Document PiP API#2
lazy-guy merged 1 commit into
lazy-guy:mainfrom
tomayac:main

Conversation

@tomayac

@tomayac tomayac commented Jan 17, 2023

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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.

2 participants