Skip to content
This repository was archived by the owner on Jan 17, 2023. It is now read-only.

Add Picture in Picture Support#220

Open
torives wants to merge 31 commits into
devfrom
feature/pip
Open

Add Picture in Picture Support#220
torives wants to merge 31 commits into
devfrom
feature/pip

Conversation

@torives

@torives torives commented Nov 8, 2019

Copy link
Copy Markdown
Contributor

🏁 Goal

Add support for the picture-in-picture feature introduced in Android Oreo (API 26).

Client applications must follow the configuration steps defined in the official docs to support this functionality in their Activities and after that, all that is needed is calling player.enterPictureInPictureMode().

This PR creates two new events: DID_ENTER_PIP and DID_EXIT_PIP to notify plugins about this new interaction model. When in PIP mode, MediaControl is disabled and only three RemoteActions are displayed: seek back, play/pause, seek forward.

🖼 Screenshot

pip mp4

✅ How to test

arthursz and others added 27 commits February 18, 2020 14:50
@halysongoncalves

Copy link
Copy Markdown

Do we have a forecast of when it will be available?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants