Skip to main content

Getting started

Minimal PDF viewer embed with page navigation.

pdf

Preview

Props & interactive options

PropTypeDefaultDescriptionTry it
pageurl param1Page shown when the viewer opens.
1
enable_downloadurl param0Expose the download button.

Documentation

The simplest PDF viewer setup: page counter, previous/next buttons, and a jump-to-page input. Expose the download button when you want viewers to save the document, or keep it hidden for read-only embeds.

Code

HTML
<iframe
  src="https://app.videas.com/embed/019dcfc0-7e04-75be-b0de-50ec4eb80f62/?page=1&enable_download=0"
  width="100%" height="100%"
  frameborder="0" allowfullscreen
></iframe>

Frequently asked questions

Does the viewer stream the PDF or download it entirely?

It streams. Pages are fetched via HTTP range requests on demand, so a 200-page document opens in a few hundred kilobytes and pages load as the viewer scrolls.

Can I deep-link to a specific page?

Yes — use <code>start_page=N</code> on the embed URL. The viewer also updates its hash as the reader scrolls, so sharing the iframe URL preserves the current page.

Is the PDF rendered as HTML or kept as-is?

Kept as-is. Videas uses PDF.js to render the original file on a canvas, with an invisible text layer on top for selection and screen readers. No conversion, no loss of fidelity.