For developers
Embed a PDF in one iframe
Point Luma PDF at a PDF URL, choose which controls to expose, and copy the snippet. No SDK, no build step, no API key.
Source
Absolute http(s) URL. The server must allow cross-origin reads.
Presets
Embed URL
iframe snippet
Add allowfullscreen so readers can go fullscreen, and keep the title attribute for screen readers.
Need to drive the viewer from JavaScript? Every embed answers postMessage commands such as
setPage, setZoom and searchText.
Read the API.