| .video-option { | .video-option { | ||||
| display: block; | display: block; | ||||
| } | } | ||||
| .video-container:not(.visible) { | |||||
| display: none; | |||||
| } | |||||
| .video-container.square { | .video-container.square { | ||||
| height: 100%; | height: 100%; | ||||
| width: var(--height); | width: var(--height); |
| } | } | ||||
| } | } | ||||
| const VideoOptions = { | const VideoOptions = { | ||||
| available: ['visible', 'mirror', 'square'], | |||||
| available: ['mirror', 'square'], | |||||
| getFor: (username) => { | getFor: (username) => { | ||||
| if(!State.options[username]) { | if(!State.options[username]) { | ||||
| State.options[username] = new Set(VideoOptions.available) | State.options[username] = new Set(VideoOptions.available) |