A very simple test case for embedding PDFs.
- embed the file using
<object>
– this allows fallback content which will be automatically shown by the browser if no plugin can handle displaying the file. - As fallback content for the
<object>
, we load the PDF withpdf.js
- Profit
- Documentation of pdfobject (library itself not used here)
- Adobe's PDF Open Parameters
- Mozilla's
pdf.js