jitsi-hacks icon indicating copy to clipboard operation
jitsi-hacks copied to clipboard

Feature request: Hide local video tile

Open trilader opened this issue 5 years ago • 3 comments

I'd like to have/develop a hack that hides the local video tab and frees the space. This is especially useful if hiding yourself results in not having an additional row for video tiles so all other participants can be displayed bigger.

trilader avatar Dec 10 '20 20:12 trilader

Here you go: https://jitsi-hacks.cketti.eu/hacks/toggle_local/

cketti avatar Dec 10 '20 23:12 cketti

Thanks. It works but not quite as I thought it would. If I hide my own video it goes away but the other video tiles (and/or the layout) behave as if it's still there.

In a conference with 4 participants (myself + 3 others) a fifth person joins. This causes Jitsi to switch from a 2x2 grid to a 2x3 grid with 3 in the top and 2 in the bottom row. If I now toggle my video off Jitsi doesn't switch back to the layout for 4 visible participants but still displays 3 in the top row and now 1 in the bottom row.

I'd have a look at that myself but have no idea where to start.

trilader avatar Dec 11 '20 18:12 trilader

Ah, I didn't consider the video tile sizing issue.

This should be a good starting point: https://github.com/thormme/jitsi-grid/blob/master/jitsi_grid.user.js

cketti avatar Dec 11 '20 18:12 cketti