diff --git a/ui/src/lib/components/AudioPlayer.svelte b/ui/src/lib/components/AudioPlayer.svelte index a3cc036..a4b7f38 100644 --- a/ui/src/lib/components/AudioPlayer.svelte +++ b/ui/src/lib/components/AudioPlayer.svelte @@ -71,8 +71,11 @@ voices?: Voice[]; /** Called when the server returns 402 (free daily limit reached). */ onProRequired?: () => void; - /** Visual style of the player card. 'standard' = inline card; 'float' = draggable overlay. */ - playerStyle?: 'standard' | 'float'; + /** Visual style of the player card. + * 'standard' = full inline card with voice/chapter controls; + * 'minimal' = compact single-row bar (play + seek + time only); + * 'float' = draggable overlay anchored bottom-right. */ + playerStyle?: 'standard' | 'minimal' | 'float'; /** Approximate word count for the chapter, used to show estimated listen time in the idle state. */ wordCount?: number; } @@ -1034,7 +1037,8 @@ - + + {#if playerStyle !== 'minimal'}
{m.reader_play_narration()} @@ -1091,9 +1095,10 @@ {/if}