feature: Embed Frame Player

This commit is contained in:
daniel-c-harvey
2026-06-06 15:43:09 -04:00
parent d96c41eafb
commit c83b132522
22 changed files with 308 additions and 29 deletions
@@ -1,7 +1,20 @@
@namespace DeepDrftPublic.Client.Controls
<MudIconButton Icon="@Icon"
Color="Color"
Size="Size"
Disabled="@Disabled"
OnClick="@OnToggle"/>
@if (!RendererInfo.IsInteractive)
{
@* Interactive runtime (WASM, or Server on first visit) not attached yet — the prerendered
button has no wired click handler, so clicks would vanish. Show a spinner in its place
until the component hydrates, at which point it re-renders into the live button. *@
<MudProgressCircular Color="Color"
Size="Size"
Indeterminate="true"
Class="mud-icon-button" />
}
else
{
<MudIconButton Icon="@Icon"
Color="Color"
Size="Size"
Disabled="@Disabled"
OnClick="@OnToggle" />
}