Workaround for embedding Google Drive docs
-
Hi,
So Google Docs Viewer ( https://docs.google.com/viewer ) doesn’t seem to want to work with PDF’s over 2MB now, and therefore GDE plug-in doesn’t work either.
What does work is uploading the PDF to your Google Drive account, making the PDF shareable “with anyone with the link”, giving you a sharelink, and then using the sharelink like this:
<iframe src=”https://drive.google.com/file/d/0B6yCDGaa-MOAYndkREasdasd3FTb0U/view?usp=sharing” width=”640″ height=”480″></iframe>
Or this:
<iframe src=”https://drive.google.com/file/d/0B6yCDGaa-MOAYndkREasdasd3FTb0U/preview” width=”640″ height=”480″></iframe>
This top one gives the interface more options, including print, the bottom one has just zoom and pop-out.
Hope that helps!
- The topic ‘Workaround for embedding Google Drive docs’ is closed to new replies.