Timestamp:
06/30/2026 01:47:28 PM (2 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
292734a
Parents:
5924bbf
Message:

fix(news): don't render raw Audio attachments when a Klonkt embed player is present

A federated Klonkt audio post carries both AS2 Audio attachments (so it plays inline in clients
that don't render the embed, like Mastodon) AND a Klonkt embed player. The News feed showed both
-> two bare <audio> players next to the embed player. Skip the raw <audio> in the feed when the
post has a Klonkt embed (embedHtml/embedUrl); plain remote audio (no embed) keeps a player. The
federated note is unchanged (Mastodon still receives the Audio attachments).

  • src/views/pages/news.ejs — gate the raw <audio> render on no embed

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

(No files)

Note: See TracChangeset for help on using the changeset viewer.