Changeset 80797d7 in Klonkt for src/views/partials

Timestamp:
06/30/2026 01:23:32 AM (2 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
f2eacca
Parents:
e954722
Message:

feat(federation): add schema.org/PeerTube embedUrl to playable-audio notes (experiment)

Mirrors how PeerTube exposes an embed endpoint: a playable-audio Note now carries an
embedUrl pointing at the gated /embed player page (no audio file is exposed — anti-steal
intact). If a Mastodon client honours embedUrl on a Note it can show an inline player;
otherwise it degrades to the existing twitter:player card. To be confirmed in the official
Mastodon mobile app (where external player cards don't play inline).

  • src/services/ActivityPubService.js (buildNote) — note.embedUrl = <base>/embed?post=<slug> for playable-audio posts

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

(No files)

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