nextcloud / nextcloud/spreed

Reuse same video-html element for promoted speaker

Open
#4,674 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement feature: call 📹
Dominant language
PHP
Stars
2.2k
Forks
587
Avg merge
18h 27m
Merged PRs (30d)
333

Description

You can use firefox's picture-in-picture feature to pop out a video element or e.g. the promoted video element.
The main issue is we don't reuse the element, and so everytime someone else starts speaking the window is dismissed.
If we would reuse the same video element, and just change all parameters, it could remain popped out:

Normal PIP
Bildschirmfoto von 2020-11-26 09-34-24 Bildschirmfoto von 2020-11-26 09-38-48

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the promoted video element handling and the Firefox picture-in-picture flow in the JavaScript code. Trace how the element changes when a different speaker starts talking, then verify that reusing it preserves the popped-out window while updating the displayed speaker and other parameters.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
audio-video-rtc, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.