Changeset e67828e in Klonkt for CHANGELOG.md


Ignore:
Timestamp:
07/01/2026 10:38:02 PM (2 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
0877771
Parents:
5e52448
Message:

fix(media): poster frames for remote videos (News feed + Circle tiles)

A remote video (Loops/PeerTube/Mastodon attachment) rendered as a black box until
played: the image proxy refused non-image content, so the tile/feed poster 302'd to
the raw mp4 and never displayed. The proxy now extracts a poster frame from remote
video too — via a bounded range fetch (first 4MB, enough for a faststart mp4's first
frame; moov-at-end files fall back to the old 302). The News feed's <video> gets a
poster so long videos show a frame instead of black. (>30s keeping controls instead
of autoplaying is by design — that was the reported "didn't load like the others".)

  • src/services/ThumbnailService.js — getRemoteThumbnail accepts video/* via a 4MB ranged fetch + single-frame extract; animated-buf guard scoped to images.
  • src/views/pages/news.ejs — feed videos carry poster=thumb(url, 1280).
  • CHANGELOG(.nl/.de).md — under Fixed.

Closes prutfolio-src-k1q.

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG.md

    r5e52448 re67828e  
    3737
    3838### Fixed
     39- **Remote videos show a preview frame.** A video in the News feed or a Circle tile (e.g. from
     40  Loops or PeerTube) used to appear as a black box until you pressed play; it now shows a real
     41  poster frame. (Longer videos keep their player controls by design — only clips under 30 seconds
     42  autoplay like a GIF.)
    3943- **Mentions, hashtags and links inside brackets now work.** A mention like `(@user@server)`, a
    4044  `(#hashtag)` or a bracketed URL federated as plain text — and the mentioned person was never
Note: See TracChangeset for help on using the changeset viewer.