I keep bumping into an annoying Mastodon bug. ActivityPub and the Mastodon API can serve posts with multiple attachments of different types (e.g. images and audio files), but the Mastodon web UI does not know how to display such posts. I must remember not to publish posts that have both an audio file and an image, or the audio file only appears as a blank image on Mastodon.

The good news is, most other Fediverse apps and clients seem to know how to handle such posts. Here is the same post in Semaphore and Tusky for example. Tusky does not display any preview at all, which isn’t great, but you can still play the audio file by clicking on the file name.


So PSA: if you publish videos or audio files on the Fediverse, remember to post them on their own with no other attachment if you want them to be displayed properly on Mastodon!
This is tracked in this GitHub issue: Allow posts to have mixed media attachments (images AND video/audio)