From 80f1b6c729ebfec2bbfcedb17adab18f9dce6e1f Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 17 Nov 2026 22:14:26 -0700 Subject: PAFF songs and albums play in a bar that stays while you go about the app. "Can you work with PAFF again to make songs embed nicely in nostr posts?" … "From the start please" (Adam, 2026-11-17). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A paff.club song or album link in a post (/song/, /album/, also under /play/) is a slim card: cover art, "Song · Artist" and its line from the page's preview, a ▶ and a ↗ out to PAFF. The tap doesn't play it in the post. PAFF's 64 px bar player (/embed/song|album/?bar=1, the link's query kept) loads into a music bar pinned above the bottom nav, or under the feed column on desktop. The bar lives in the document body outside render(), so the feed's windowing never drops it: the music carries on through scrolling, threads and other tabs. The bar is never moved, because a moved iframe reloads. Another song changes its src, and × removes it. The card shows "Playing below" with an equaliser while its song is in the bar. The Post button, the new-posts pill and the page's bottom padding move up while the bar is open. link-preview-test (stand-in paff.club): the song card has its cover and title with no frame; a tap opens the bar above the nav at /embed/song/abc123?bar=1; the bar is still there on the Wallet page; × closes it. Checked against the real paff.club: the bar player for Daft Punk's Harder, Better, Faster, Stronger played in a frame and answered a pause command. features-smoke and feed-when pass. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01VMan6SwkivduFDDkMmnXjZ --- src/i18n.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/i18n.js') diff --git a/src/i18n.js b/src/i18n.js index d83633f..76efc72 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -353,6 +353,9 @@ const STR = { videoMute: 'Mute', openInYouTube: 'Open on YouTube', openOnPaff: 'Open on PAFF', + musicClose: 'Stop and close', + musicSong: 'Song on PAFF', + musicPlayingBelow: 'Playing below', accountsThisOne: 'signed in', worthThen: 'Worth then', worthNow: 'Worth now', -- cgit v1.2.3