pipwerks / PDFObject

A lightweight JavaScript utility for dynamically embedding PDFs in HTML documents.
http://pdfobject.com/
Other
2.39k stars 986 forks source link

Question: Config option for Two-page view? #303

Closed eirabben closed 2 months ago

eirabben commented 2 months ago

I am using PDFObject to show some PDFs on a website. In the UI on Chrome, I have the option to activate Two-page view. Is there a way to activate this by default with a config option or similar?

theodore-s-beers commented 2 months ago

This would be via PDF Open Parameters, but I'm not aware of one for two-page view.

pipwerks commented 2 months ago

Unfortunately, no, there is no standard option to force a 2-up view. You may be able to do it with a custom PDF.js implementation, but not with browser-native PDF rendering engines.