Inline PDF Previews

What do you mean? This is a desktop component.

Just to clarify - I know inline PDF previews are still supported in Discourse.

My question is specifically about the theme component itself - it currently throws deprecation warnings in the console on recent Discourse versions.

Would this need a PR to update the deprecated API usage (e.g. plugin API / Ember hooks), or is there already work underway to modernize it?

1 Like

Since it’s marked official , it’s reasonable to assume that it’ll be updated before it’s too late.

4 Likes

A post was split to a new topic: Gating system similar to Scribd

Yeah, my feature PR above fixes the deprecated API. However, it needs more work, and I’ve been too busy to look at it again.

1 Like

I’m disappointed that the viewing of a pdf on a mobile device is not permitted. I’m hoping to migrate my phpBB site to Discourse, because phpBB is clunky - but, I’ve hacked a feature into my board using pdf.js that permits me to embed pdfs. And pdf.js permits you to zoom and pan - while it’s not as robust as on the desktop, it’s useful in the garage to scan a manual without having to run back into the house. This example is not that of a manual, but demonstrates the principle: Bulletin #361 - A Diesel in America

Facebook is eating my lunch, and primarily with mobile devices - I’m hoping to win users back with a Discourse integration. But losing pdf on the handheld is not a win for me.

-Dan

3 Likes