miroslavpejic85 / mirotalk

🚀 WebRTC - P2P - Simple, Secure, Fast Real-Time Video Conferences Up to 4k and 60fps, compatible with all browsers and platforms.
https://p2p.mirotalk.com
GNU Affero General Public License v3.0
2.67k stars 517 forks source link

Document Picture-in-Picture #163

Closed endaquigley closed 8 months ago

endaquigley commented 1 year ago

Feature request

Document Picture-in-Picture (with feature detection).

Pros

At the moment PIP is limited to one video element.

Additional context

https://developer.chrome.com/docs/web-platform/document-picture-in-picture

miroslavpejic85 commented 12 months ago

@endaquigley Done: https://www.dropbox.com/s/rkvhla9w0lto7cn/mirotalk-multi-pip.mp4?dl=0

endaquigley commented 12 months ago

@miroslavpejic85 - ahh, I was talking about using the Document Picture-in-Picture API (the ability to float multiple videos).

Screenshot 2023-06-14 at 10 02 15

Here's another example provided in the article:

01rnT7Ev3CyWHLykbmWd

miroslavpejic85 commented 8 months ago

Hi @endaquigley, It seems like you've already worked on this, and I'd really appreciate it if you could submit a Pull Request (PR). Thank you so much!

endaquigley commented 8 months ago

Hey @miroslavpejic85, no problem - I should have a PR ready with that in the next few days.