BytestreamPlayer

Style book

Player

The picture and its overlay: the controls on it, the transport, the progress and volume lines, the corner buttons, the compact row, state lines, playback reasons and pills.

Frame & overlay

16:9. On desktop Watch and in theater the picture's corner is radius.tile, 12, drawn as a continuous corner where the browser can; a phone keeps 8. studio shows when there is no picture. Controls sit on the picture in a bottom-anchored overlay over a soft void gradient: channel name in the condensed face, 26 on a 30 line, then Programme 21:00–21:30 · Country · Category · Next … at 14/20 medium with the LIVE pill right-aligned, then the progress line, then the control row. Last and Report hold the top-left corner, 8 px apart, and Watch together the top-right, on the same inset. Watch and theater share this one overlay. On desktop a pointer move brings it back, and it hides after 3 s. A finger drag does not reveal it. A tap on the picture toggles it. A pointer down outside the picture dismisses it. If it is already up, it stays up through a channel swipe. If it is hidden, it stays hidden until a tap. A guide line that was not known when the channel came on stays off, so it cannot push the title. Every control on this picture responds as it does in the app.

Backstreets, Liguria
Night loop 22:31–22:43 · Italy · Travel · Next 22:43 Kitchen radioLIVE

src/ui/Overlay.tsx · Transport.tsx · OverlayControl.tsx · ProgressBar.web.tsx · VolumeSlider.web.tsx · RevealPill.tsx · LivePill.tsx

Controls on the picture

Every control on the picture sits on a 32 px round target, 4 px from the next. Under the pointer a paper platter at 14% grows in from 0.7 behind the glyph, and the glyph comes up from 90% to full paper. Pressed, the platter deepens to 22% and the glyph settles to 0.9. Keyboard focus shows the amber ring, growing in, with the platter. After half a second under the pointer the control's name grows in above it on pop, from 0.5, in a studio label at 12/16 medium; keyboard focus shows it at once. The name is for the eye; a screen reader already hears the button's name. The play disc is its own shape and takes no platter: 32 across, 1.06 under the pointer, 0.94 pressed.

At rest
Under the pointer
Pressed
Keyboard focus, name at once
After 500 ms under the pointer
Play disc at rest
Play disc, pointer: 1.06
Play disc, pressed: 0.94

Above, drawn at twice size; below, at real size: point at a control and hold still for its name, press the disc, the masks or the lamp, or reach them with Tab. · src/ui/OverlayControl.tsx (controlLook, NAME_DELAY_MS) · Transport.tsx (discScale)

Transport

Left cluster: previous channel, back 15, the amber play disc, forward 15, next channel. Right: share and the save heart (desktop) with 24 px of air after them, then the speaker, the 72 px volume line (desktop), CC, AirPlay, masks, lamp, fullscreen. AirPlay is Material airplay, before the masks, and only when this browser can open the picker, the row is not YouTube, and the stream needs no request headers. Desktop glyphs are 18 on 32 px targets with a 32 disc; a phone draws 22 with a 38 disc; a phone held sideways takes 40 px targets and a 40 disc. Mute is on every layout. No control is ever removed to make something fit.

Masks amber = theater on. Lamp filled = ambience on, never a second amber. · src/ui/Transport.tsx (SCALE)

Progress & volume

The progress line is 3 px at rest. Under the pointer it thickens to 6 and its head grows from 10 to 14, on state, and only while the stream can be sought. Its box keeps 15 px, so nothing above the line moves. The volume line and its head are paper, never amber, because volume is not now. Muted, the line drops to 30% and the head to 50%, so a muted player no longer shows a full line.

At rest: 3 px, head 10. Point at it.
Under the pointer: 6 px, head 14
Sound on. Press the speaker to mute it.
Muted: line 30%, head 50%

src/ui/ProgressBar.web.tsx (overlayLine) · VolumeSlider.web.tsx (volumeLook)

Last, Report & Watch together

Last goes straight back to the channel you watched before this one; Report opens the report panel for the live or the upload on the picture; Watch together starts a private room on what is playing. All three are round buttons in the overlay's pill style, void at 55% with a paper edge at 28%: a 32 px circle at rest, glyph centred, no words. Under the mouse, or with keyboard focus, each widens to show its words. The width moves on move and the words fade in on state 50 ms later, so both finish together; leaving, the words fade first and the width narrows after them. Watch together holds the picture's top-right corner and opens leftward, its right edge still. Last holds the top-left corner on the same inset and opens rightward, its left edge still, to the name of the channel it returns to, clamped at 168. Report sits 8 px to its right, its glyph the app's ···, and opens rightward to Report this video, or Report this live in a room. On touch and on a phone layout each stays an icon.

Last at rest
Last open: the channel's name
Nowhere to go: dim, no press, named No last channel
Report at rest: ··· in the circle
Report open, rightward
Watch together at rest
Watch together open
Starting a room: held open, dimmed

Revised 2026-10-03: Last moved from its own line above the channel name to the picture's top-left corner, opposite Watch together, and Report joined it there as a round button in the same style. Its key (l) and its toggle between the two most recent channels are unchanged. On the strip above, point at any of the three, or press Watch together. · src/ui/RevealPill.tsx · RecallPill.tsx · src/live/ReportLive.tsx

Compact row

A picture under 600 px wide takes the compact row; the line was 420 until 2026-10-02. A phone held sideways in theater gets a 522 px picture, and on the desktop row its next-channel control touched share. On the compact row share and the heart move to the top bar, the volume line drops, and the two clusters keep 24 px apart. A phone held sideways draws the row on 40 px targets with a 40 disc and 22 px glyphs, and names hang below the top bar's controls, inside the picture.

Rooftop timelapse
City at dusk · Japan · TravelLIVE

Drawn at 522, a phone held sideways in theater. · NARROW_PICTURE in src/screens/stage.ts · src/ui/Transport.tsx (SCALE.sideways)

State patterns

Tuning: the frame stays studio, a 2px now hairline pulses across the bottom of the picture, inside the frame, in front of the video, out of the layout flow. Off air and unplayable: one true line in paperDim, centred. Empty catalog: a title and one retry link in now. The progress line goes bare in all three.

Tuning…
Off air
Plays in the app, not in a browser
Couldn't reach the catalogTry again
Tap for sound
paused: the last frame holds, never a blank

Playback reasons

When a stream will not play here, the stage says why in one true line, and a second line only when it has something a viewer can use. Desktop reads left, a quarter in; a phone reads right and keeps the first line alone. New with rooms: a live that is on air and a connection this browser could not open reads Can't connect from this browser, with A VPN or privacy add-on may be blocking the live. under it. It never says Stream unavailable about a broadcast that is on air.

Can't connect from this browserA VPN or privacy add-on may be blocking the live.
Can't connect from this browser

Others in the same set: This stream refuses browsers, Not available in your region, The owner blocks embedding, Nothing live right now, Try pressing play again. · src/state/watch.ts (unplayableCopy, unplayableDetail) · src/ui/StageEmpty.tsx · src/player/RoomPlayer.web.tsx

Pills

LIVE: live fill, paper text, 12/700, radius 4, 4×8, only while the stream is playing. Rewound more than 10 s it becomes the outline Back to live. The amber outline pill marks a state in now (Looping, On now). A hairline pill is quiet fact (No listings, 18+).

LIVE Back to live Looping No listings 18+ Tap for sound