Viewing 2 replies - 1 through 2 (of 2 total)
  • Display and function of PDFs in a browser depends on a browser plugin. And if there is no browser plugin for PDF files installed, like on my Adnroid device, the user will not be able to see the content at all… I’d advise using a more cross browser/platform compatible way of embedding PDF files like the Google Viewer.

    There is a method of integrating Google Viewer and (Easy) FancyBox described on https://demo.status301.net/easy-fancybox-sandbox/pdf-embeds/ (alt method 2) but basically you do this:

    1. Go to Settings > Media and completely disable the PDF option.

    2. Go to https://docs.google.com/gview and compose your document URL, then append it with &embedded=true (important!) and use that to create a link in your post.

    3. Then in the HTML view editor tab add class="fancybox-iframe" to that link code so that it will be recognised by FancyBox.

    Thread Starter swami12

    (@swami12)

    Thank you for your reply. I had tried using the Google Viewer, but ran into a couple of problems. It would not load PDFs at all on certain sites, and it also would not allow active links within the PDF itself to work.

    I basically gave up on the FancyBox solution and created a separate link for mobile and tablet users. Not an elegant solution but works ok.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PDFs can't scroll on tablet’ is closed to new replies.