How do you embed PDF into your site? A popular option is to upload the PDF file to an online storage service, such as Google Drive or Microsoft OneDrive, make the file public, and then copy-paste the IFRAME code provided by those services to embed the document on any website.
This is the most common method for embedding PDF files. It's simple, tried and tested, but it has no control over how your PDFs are presented on your web pages.
If you prefer to offer a more customized and immersive reading experience to the PDFs you display on your website, check out the new Adobe View SDK. It's part of her platforms Adobe Document Cloud, but it comes free.
Here are some unique features that make this RDF integration solution stand out:
- You can add annotation tools within the PDF viewer. Anyone can comment on the embedded PDF and download the modified file.
- If you have a large multi-page document embedded, readers can use thumbnail view to quickly navigate to any page.
- The PDF viewer can be customized to hide download options and printing RDF files.
- There are built-in details so you know how many people saw the PDF file and how they interacted with it.
- And my favorite feature of ViewSDK is the mode of integration. Let's see how it's done:
In Inline mode, all pages of the embedded PDF document are displayed at once, so your website visitors don't have to navigate to another document on another page. The data control PDF είναι κρυμμένα από το χρήστη και οι σελίδες PDF συνδυάζονται με εικόνες και άλλο content HTML on your website.
It takes some steps to use the View SDK. Create credentials for your site from the adobe.io page. Please note that credentials apply to a single domain. If you have more than one, you will need different credentials for each of them.
Next, create the embed code. You need to replace clientId with your credentials. The URL of the code should indicate the location of the PDF file.