From fd172aa8bf6f1bfd0c09f7a819bf2aeda65a5fbd Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 17 Nov 2026 19:18:40 -0700 Subject: A PAFF film link plays inside the post. "What would it take to embed a PAFF video in a Nostr feed, or to have it play in line like other videos and YouTube videos do?" … "Yes please" (Adam, 2026-11-17). PAFF now serves a bare player at paff.club/embed/movie/ (and /embed/show//sNeM), and its query string carries over from the share link (q quality, c copy, t start). A paff.club movie or episode link, with or without /play, shows as a 16:9 box: its backdrop and title from the page's own preview, a play button and a ↗ out to PAFF. The tap swaps in PAFF's player with autoplay, fullscreen and picture-in-picture allowed, and no repaint touches the box after that. It loads only on a tap, never on scroll, because a film starts a torrent swarm in the viewer's browser. link-preview-test (a film link is a player with backdrop and title, no frame until the tap, and the tap loads /embed/movie/1382-hackers-1995?q=1080p&t=4910), compose-preview and features-smoke pass. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01VMan6SwkivduFDDkMmnXjZ --- src/style.css | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/style.css') diff --git a/src/style.css b/src/style.css index 4024f3b..38aa2ac 100644 --- a/src/style.css +++ b/src/style.css @@ -1152,6 +1152,13 @@ html.no-scroll { overflow: hidden; scrollbar-gutter: auto; } .yt-embed:fullscreen { border-radius: 0; aspect-ratio: auto; width: 100%; height: 100%; } .yt-embed:fullscreen .yt-shield { display: none; } .yt-embed:fullscreen iframe { object-fit: contain; } +/* a PAFF film: its title along the foot of the backdrop until it plays */ +.paff-title { + position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 9px; + color: #fff; font-weight: 650; font-size: 14px; pointer-events: none; + background: linear-gradient(transparent, rgba(0, 0, 0, .7)); + white-space: nowrap; overflow: hidden; text-overflow: ellipsis; +} /* A link, as the card its page describes: picture on top, title, a line, the site. The whole card is the link. */ .link-card { -- cgit v1.2.3