📢 Actions Speak Louder Than Words!

Using Google doc to embed external PDF reader

Posted: Mar 10, 2020 | Reading time: 1 min

I found a trick to use Google doc PDF handler to embed PDF on HTML directly

<iframe style="width: 98%; height: 400px;"
src="https://docs.google.com/gview?url=<PUT PDF URL FILE LOCATION HERE>&amp;embedded=true"
width="300" height="150" frameborder="0"></iframe>

Example:

Does it look nice? This just a plain and stupid right? However, it quite good, fast and no need to install any PDF reader script 🤭

Edit

Discussion and feedback

You can use utterances provided below to post comment on behalf using Github account. Alternatively, you can just send a public comment to my mailing list or send a private message to my e-mail. In a few cases and on certain time, I just don’t have time to moderate them. Please read terms-of-service (ToS) for details.