3 ms·
newer browsers can actually just embed PDFs natively[0] in an iFrame, but there are more fault-tolerant ways to do it that provide a better ux. Cool note, Goog
by sunsetMurk 8y ago
newer browsers can actually just embed PDFs natively[0] in an iFrame, but there are more fault-tolerant ways to do it that provide a better ux.
Cool note, Google Drive provides an embed code for PDFs[1] which I've found to be useful.
Filestack also provides a great API for viewing PDFs in apps/browsers[2] that I use all the time.
0- https://pdfobject.com/static/ https://pdfobject.com/static/
1- https://alicekeeler.com/2016/06/05/google-drive-embed-pdf/ https://alicekeeler.com/2016/06/05/google-drive-embed-pdf/
2- https://www.filestack.com/docs/concepts/transform/#document-viewer https://www.filestack.com/docs/concepts/transform/#document-...