The RCWeb YouTube Controls app (app/youtube-control) is the phone and tablet controller for the RCWeb YouTube Display (app/youtube).

This app gives users a YouTube-style remote control surface for every active youtube display in the same RCWeb room. It can add videos, manage the playlist, control playback, adjust audio, toggle display overlays, and save or restore playlists without server-side playlist storage.
Multiple phones can use the control app at the same time. Each controller receives display state updates and can contribute to the shared queue.
/youtube/ on the main display.The control app sends commands to all youtube display apps in the room while excluding control apps. This means one phone can control many screens, and several phones can add to or operate the same shared playlist.
When the control app starts, it requests the current state from displays in the room. It also keeps the latest playlist snapshot it receives, so if a viewer is refreshed while a controller is still open, the controller can provide the queue back to the returning viewer.
RCWeb assigns each browser tab an app name, room ID, and client ID, then connects clients in the same room through WebSocket messaging. youtube-control uses the RCWeb communication helper to call functions on matching viewer apps.
The key target for display commands is youtube!*-control. In RCWeb targeting terms, this means "send to youtube apps, but exclude youtube-control apps." That lets controls update all viewers in the room without accidentally sending player commands to other control screens.
State also flows back the other way. Viewers publish snapshots containing the queue, current index, playback position, player state, overlay settings, loop mode, mute state, volume, and viewer metadata. Controls render those snapshots and use them to build canonical queue updates.
Because the playlist import/export happens in the browser with normal file APIs, no server-side playlist database or upload step is required.
Use this app with RCWeb YouTube Display (app/youtube).