forked from Foxyz/sync_replay_project
Mini player cleanup: no full-player controls left under it, the full player's play button, a plain progress bar
media_kit keeps a Video's last controls when given null, so after the full player the mini kept the Minimal bars (dark bands above and below the picture, a second hatched line). The mini now passes an empty builder. Its hover bar uses the full player's play button and time, the status on its own line, Minimal buttons, and a painted bar instead of Material's progress indicator (its gap and stop dot at the corner). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
211ba65e5e
commit
4c8e40769a
3 files changed
+144
-57
No files matched your search
@@ -1958,7 +1958,13 @@ panel) and chat messages (Copy message, and a link in it).
|
||||
snaps to the nearest corner with the shared curve). A mode change fades
|
||||
the layer out, moves it while invisible and fades it in (with the tabs
|
||||
when the full player comes or goes), so the video is never mounted twice
|
||||
nor remounted. A tab sends the full player to mini; × on the mini sits
|
||||
nor remounted. The mini has no control skin: its `Video` gets an empty
|
||||
controls builder (never null: media_kit keeps the last controls on
|
||||
null, which left the full player's bars under the mini). Hovered it
|
||||
shows the title with expand and ×, the status line, the full player's
|
||||
play button (`controlIcon`/`togglePlay`: ready in a server) with the
|
||||
time, and a 4 px bar (track, cached, played) that seeks; otherwise a
|
||||
3 px played line along the bottom edge. A tab sends the full player to mini; × on the mini sits
|
||||
out (the player unloads and shows the join-back card, `SitOutCard`, over
|
||||
the still mounted `Video`); × on that card closes the player, the strip
|
||||
brings it back, and joining back with it closed shows the mini. Fullscreen
|
||||
|
||||
Reference in new issue
Block a user