Generally, you will use the plugin to embed a PDF in a WordPress page through the 'Add Media' button in the page editor, selecting the PDF you want in the page. You can add further content above and below the…
From the Knowledge Base
Generally, you will use the plugin to embed a PDF in a WordPress page through the 'Add Media' button in the page editor, selecting the PDF you want in the page. You can add further content above and below the…
When you select a PDF from the Media Library to insert into your post, by default PDF Embedder will insert it as a shortcode: [pdf-embedder url="<url of PDF>"]. This will cause it to use the plugin's interactive viewer to display…
You can set most settings in the Settings -> PDF Embedder page in WordPress. These apply to all embeds by default, but you can override the settings of individual embeds by manually adding shortcode parameters to the individual [pdf-embedder] shortcodes…
It should be possible to override the border color by adding something like this to your Theme's styles: /* CHANGE BORDER COLOUR */ div.pdfemb-viewer { border: 1px solid red !important; } To hide the border, you would use: /* HIDE…
CORS is already enabled on some Dropbox domains, so it can be possible to embed PDFs directly from Dropbox, although only if your site is running under HTTPS. Try the following. Obtain the 'share' link from Dropbox ('Copy Dropbox link'…
By default, web browsers have security policies that do not allow Javascript code to fetch files from a different domain to the web page on which the code is already running. However, it is possible to configure Amazon S3 and…
The default settings of the plugin will display your PDF at 'maximum width' to fit the area available to it. If you specify a fixed width for your PDFs that is smaller than the width available, you will probably find…