Jeff Sikes on Nostr: TIL when you upload a video file to Mastodon, it generates a preview thumbnail. The ...
TIL when you upload a video file to Mastodon, it generates a preview thumbnail. The thumbnail isn't passed through to other servers in the ActivityPub payload (similar to preview cards).
Each receiving platform handles this situation differently. Some regenerate a thumbnail (processing again). Some ignore it and don't show one. Others create blank thumbnails to appease the Mastodon API.
A blurhash is passed, tho, and could be used as a placeholder.
#FediDev #Mastodon
Published at
2024-06-17 01:00:14Event JSON
{
"id": "872410d809e26e03aeab71ef9e9736d6cc172d9bf442dec5f81554460983067c",
"pubkey": "a299c344e40dcff036767e8fcdb9855a82293f62183d38930674aba961bc43b2",
"created_at": 1718586014,
"kind": 1,
"tags": [
[
"t",
"fedidev"
],
[
"proxy",
"https://mastodon.social/@box464/112629253064435056",
"web"
],
[
"t",
"mastodon"
],
[
"proxy",
"https://mastodon.social/users/box464/statuses/112629253064435056",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.social/users/box464/statuses/112629253064435056",
"pink.momostr"
]
],
"content": "TIL when you upload a video file to Mastodon, it generates a preview thumbnail. The thumbnail isn't passed through to other servers in the ActivityPub payload (similar to preview cards). \n\nEach receiving platform handles this situation differently. Some regenerate a thumbnail (processing again). Some ignore it and don't show one. Others create blank thumbnails to appease the Mastodon API.\n\nA blurhash is passed, tho, and could be used as a placeholder.\n\n#FediDev #Mastodon",
"sig": "6474b26912ebdaebff98fea14c5af3095b328e3595ef5de43f4ef53ccfc6f8b85a3f7f5159bf39a460c351071c551923f315312e430a97d153aa413f0a5a6d7e"
}