aboutsummaryrefslogtreecommitdiffstats
path: root/src/style.css
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-11-17 19:18:40 -0700
committerAdam Soltys <[email protected]>2026-11-17 19:18:40 -0700
commitfd172aa8bf6f1bfd0c09f7a819bf2aeda65a5fbd (patch)
tree965ddf798ed57fd05cdc180086b7789fd9298af2 /src/style.css
parent262c2e36096ae0a2c66a620d01ee9132de746670 (diff)
downloadcoinosv3-fd172aa8bf6f1bfd0c09f7a819bf2aeda65a5fbd.tar.gz
coinosv3-fd172aa8bf6f1bfd0c09f7a819bf2aeda65a5fbd.zip
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/<slug> (and /embed/show/<slug>/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.
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VMan6SwkivduFDDkMmnXjZ
Diffstat (limited to 'src/style.css')
-rw-r--r--src/style.css7
1 files changed, 7 insertions, 0 deletions
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 {