Examples

Each page embeds the viewer with pdfviewer-embed.js. The PDF is written by the page itself (sample-pdf.js), so nothing is downloaded but the viewer, and nothing is uploaded. View the source of a page to copy its code.

Live examples

Frameworks (copy into your app)

These files are not run here. Copy one into your app and change the script URL to where you serve the viewer.

Back to the SDK documentation