[File previews] PDF codec unknown when looking online


Good morning everybody!

Before going ahead and posting this I found a similar topic previously discussed back in September 2021 where the answer was ‘Open with the client’ and, while this is a solution for the people with users I’m sharing the Seafile with, it is not for external people we sometimes share files with, so my question, if anyone of you knows about, is: Does Seafile have any further plans to implement this? It is not a chance to implement this?

I’m asking this because I set, on the admin pannel the option to preview .pdf files but apparently when trying to perform the preview the error appears and only the ‘Download’ option is available only ofcourse when you set the link to allow the person/people to download the file, if you don’t then sharing the link with external people becomes a little bit useless Doesn’t it?

Thank you for your time in advance!

Most PDFs can be previewed correctly online with the built-in PDF.js.

So I think your error is only for some special PDF files.

Hmm this is interesting, I’ll try to test deeply but as far as I went, all with simple PDFs I couldn’t preview it :thinking: I mean, plain PDFs without any interactive behaviour, just some bills and so on, maybe the problem is on my end?

Is there any log file specific for this kind of scenarios?

Thank you for the time @daniel.pan !