mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-10-05 19:28:25 +00:00
Audio cards for tracks of ten minutes or more (by the player, else the imeta duration) show a picture-in-picture button; the overlay's PiP button does the same for any audio. Both pause the inline player and hand the same pooled player to the PiP window, which resumes from there. For audio, the PiP window is now square and draws the cover (imeta image, else the generated one), the waveform as progress and the time, instead of an empty video surface. It starts unmuted: the feed's mute default is for silently autoplaying video. MediaItemData gains an isAudio flag, and it and the hash survive the PiP intent. MediaUrlVideo carries the imeta duration, so the card shows the length and offers PiP before the player has probed the file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017KKAj1seHQLCcVEiMeePEE