PDF Attachements


Adam Robertson Adam Robertson wrote the following post Wed, 22 Nov 2023 08:02:11 -0800
PDF Attachements
There is a person on Mastodon yesterday commenting about not being able to attach PDF's to their posts (apparently this is not allowed in Mastodon for some reason).

I was curious, so I commented on their post with a PDF attached to my comment. I was able to see my comment and the attached PDF, but if I go to their Mastodon page and view the thread, my comment does not even show up. I am guessing that Mastodon just ignores comments that break the no-pdf rule.

So, herre is yet another thing that Streams can do easily that other platforms cannot, yet Mastodon is the popular platform. I am always left scratching my head on that.

@Streams

Here, I am attaching a PDF just because I can:

@Adam Robertson

Sergio Lima reshared this.

in reply to Streams

It's been a while since I worked with pdf's in streams because they don't have much support elsewhere in the fediverse. If I recall the basic set of steps was for the admin to allow pdfs, then you can provide a pdf file in 'insert web link' and also tick the 'embed content if possible' and I don't remember if you also need to tick 'load remote media players'. I think you might need to do this also because the pdf is actually using the old oembed workflow. Then it will probably display on your site. Whether it displays on other sites depends on if they allow pdfs. Like I said, this is all fuzzy now, but that should at least let you see something working. Whether or not it federates is a much more complicated problem.
in reply to Giac El Vecio

Filtered word: nsfw

This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website.