I am using the Google Doc Embedder WordPress plugin to display PDFs on a website. There are no options that I can find (or documentation) to control the default zoom level.
Is there a way to programmatically configure the default zoom level, or override some JavaScript?
Here is the shortcode:
[gview file="http://example.com/wp-content/uploads/2014/03/Cover-Story-1411.pdf"]
I believe it’s not possible and, if it is possible, my research shows no trace of Google’s documentation about it. Also:
&zoom=2
and&z=2
in Google’s Viewer URL, but to no avail.I found some minor tweaks. The one for removing the sidebar makes the page occupy the full width:
&hl=pt_BR
(Brazilian Portuguese in this example), from this Google forum thread.Overriding with JavaScript is not possible, as it will produce a SameOrigin security error.