PDF Embedder

Beskrivning

Upload PDFs and embed them straight into your site – just like adding images! PDFs will be automatically sized to their natural size and shape (or just fill the width available if they are too big). Optionally, you can specify a width and the correct height will be calculated automatically. The shape will be recalculated whenever the page is resized by the user.

The plugin has a unique method for embedding PDFs, using Javascript only, and not using iframes or third-party services. This gives a lot of flexibility over the appearance of your document.

The free viewer currently has Next/Prev buttons to page through the document, and zoom buttons.

PDFs are embedded within your existing WordPress pages so we have full control over appearance, and all Javascript and other files are served by your own server (not by Google or any other third-party who may not be able to guarantee their own reliability).

Även om andra tillägg använder liknande teknik kommer de att infoga själva PDF:en i en ”iframe”, vilket innebär att de inte får flexibilitet över storleken.

Det finns ingen knapp för användare att ladda ner PDF:en i gratisversionen av tillägget, men detta är tillgängligt i Premium-versionerna tillsammans med andra extrafunktioner..
Hyperlänkar i din PDF är endast klickbar i Premium-versionerna.

Användning

När det är installerat och aktiverat klickar du på ”Lägg till media” från valfri sida eller inlägg, precis som att lägga till en bild, men dra och släpp en PDF-fil istället.

När du infogar i ditt inlägg kommer det visas i redigeraren som en ”kortkod” enligt följande:

[pdf-embedder url=’https://mysite.com/wp-content/uploads/2015/01/Plan-Summary.pdf’]

You can change the default appearance – e.g. width, and toolbar position/appearance through Settings -> PDF Embedder.

To override your site-wide defaults on an individual embed, see the Plugin Instructions for information about sizing options plus other ways to customize the shortcodes.

Extra Premium-funktioner

Funktioner tillgängliga i premiumversionen av tillägget:

  • Nedladdningsknapp i verktygsfältet
  • Kontinuerlig rullning mellan sidor
  • Hyperlänkar är fullt funktionella
  • Fullskärmsläge
  • Redigera sidnummer för att hoppa direkt till sida
  • Spåra antal nedladdningar och visningar
  • Tar bort wp-pdf.com-tillskrivning från verktygsfältet
  • Mobilvänlig
  • Säkert alternativ – svårt att ladda ner original-PDF

Se wp-pdf.com för detaljer!

Mobilvänlig inbäddning med PDF Embedder Premium

The free version of the plugin should work on most mobile browsers, but it will be cumbersome for users with small screens – it is difficult to position the document entirely within the screen, and your users’ fingers may catch the entire browser page when they’re trying only to move about the document…

Our PDF Embedder Premium plugin solves this problem with an intelligent ’full screen’ mode.
When the document is smaller than a certain width, the document displays only as a ’thumbnail’ with a large ’View in Full Screen’ button for the user to click when they want to study your document.
This opens up the document so it has the full focus of the mobile browser, and the user can move about the document without hitting other parts of the web page by mistake. Click Exit to return to the regular web page.

Användaren kan också röra och rulla kontinuerligt mellan alla sidor i PDF, vilket är mycket enklare än att klicka på nästa/föregående-knappar för att navigera.

Se vår webbplats wp-pdf.com för mer detaljer och köpalternativ.

Skydda dina PDF:er med vår säkra premiumversion

Vårt tillägg PDF Embedder Premium Secure ger samma enkla men eleganta visare som premiumversionen, med det extra skyddet som gör det är svårt för användare att
ladda ner eller skriv ut originalet av PDF-dokumentet.

Det betyder att din PDF troligtvis inte kommer att delas utanför din webbplats där du inte har kontroll över vem som visar, skriver ut eller delar den.

Alternativt lägg till en vattenstämpel som innehåller användarens namn eller e-postadress för att motverka delning av skärmdumpar.

Se vår webbplats wp-pdf.com för mer detaljer och köpalternativ.

PDF Thumbnails

Vårt tillägg PDF Thumbnails tillhandahåller automatiskt genererade fasta bildversioner av alla PDF-filer i ditt mediabibliotek, som kan användas på din webbplats som du vill.

Du kan använda dem som utvalda bilder i inlägg som innehåller en inbäddad version av PDF:en, eller som en visuell klickbar länk för att ladda ner PDF:en direkt.
Den visar också miniatyren som ”ikonen” för PDF:en i mediabiblioteket, vilket gör det enkelt för författare att hitta de PDF:er som de behöver infoga i ett inlägg.

Se vår webbplats wp-pdf.com/thumbnails/ för mer detaljer och köpalternativ.

Now translation-ready!

Vänligen bidra med din översättning.

Persisk översättning av Mostafa Safarian i of سئو

Fransk översättning av Thierry Gaillou of JDFitForme

Spansk översättning av Armando Landois of LANDOIS Diseño

With thanks to the Mozilla team for developing the underlying pdf.js technology used by this plugin.

Skärmdumpar

  • Uppladdad PDF visas på din sida/inlägg i rätt storlek för att passa.
  • Använd hovring på dokument för att se knapparna nästa/föregående sida.
  • Inställningar kan ändra utseendet på visningen, inklusive storlek

Block

Detta tillägg erbjuder 1 block.

pdfemb/pdf-embedder-viewer
PDF Embedder

Installation

Enklaste sättet:

  1. Go to your WordPress admin control panel’s plugin page
  2. Sök efter ”PDF Embedder”
  3. Klicka installera
  4. Klicka ”Aktivera” på tillägget

If you cannot install from the WordPress plugins directory for any reason, and need to install from ZIP file:

  1. Upload directory and contents to the /wp-content/plugins/ directory, or upload the ZIP file directly in
    the Plugins section of your WordPress admin
  2. Följ instruktionerna från steg 4 ovan

Vanliga frågor

Hur kan jag få support för denna produkt?

Vi har instruktioner ch en kunskapbas på vår webbplats som förklarar vanliga inställningsfrågor och problem.

Please feel free to email contact@wp-pdf.com with any questions.

Always include your full shortcode, plus links to the relevant pages, and screenshots if they would be helpful too.

We may occasionally be able to respond to support queries posted on the ’Support’ forum here on the wordpress.org plugin page, but we recommend sending us an email instead if possible.

Hur kan jag ändra storlek eller anpassa verktygsfältet?

See Settings -> PDF Embedder in your WordPress admin to change site-wide defaults. You can also override individual embeds by modifying the shortcode.

Resizing works as follows:

  • Om bredd = ”max” kommer bredden utnyttja så mycket utrymme som möjligt i dess överordnade behållare (t.ex. kolumn på din sida).
  • If width is a number (e.g. width=’500′) then it will display at that number of pixels wide.

In all cases, if the parent container is narrower than the width calculated above, then the document width will be reduced to the size of the container.

The height will be calculated so that the document fits naturally, given the width already calculated.

The Next/Prev toolbar can appear at the top or bottom of the document (or both), and it can either appear only when the user hovers over the document or it can be fixed at all times.

See the Plugin Instructions for more details about sizing and toolbar options.

Lista över premiumfunktioner

Funktioner tillgängliga i premiumversionen av tillägget:

  • Nedladdningsknapp i verktygsfältet
  • Kontinuerlig rullning mellan sidor
  • Hyperlänkar är fullt funktionella
  • Fullskärmsläge
  • Redigera sidnummer för att hoppa direkt till sidan
  • Spåra antal nedladdningar och visningar
  • Removes wp-pdf.com attribution from the toolbar
  • Mobilvänlig
  • Säkert alternativ – svårt att ladda ner original PDF

Se wp-pdf.com för detaljer!

Kan jag förbättra visningsupplevelsen för mobilanvändare?

Yes, our PDF Embedder Premium plugin has an intelligent ’full screen’ mode.
When the document is smaller than a certain width, the document displays only as a ’thumbnail’ with a large ’View in Full Screen’ button for the user to click when they want to study your document.
This opens up the document so it has the full focus of the mobile browser, and the user can move about the document without hitting other parts of the web page by mistake.
Click Exit to return to the regular web page.

Se vår webbplats wp-pdf.com för mer detaljer och köpalternativ.

Kan jag skydda mina PDF:er så att de är svåra för tittarna att ladda ner direkt?

Not with the free or (regular) premium versions – it is relatively easy to find the link to download the file directly.

A secure premium version is available that encrypts the PDF during transmission, so it is difficult for a casual user to save or print the file for use outside your site.

See our website wp-pdf.com for more details and purchase options.

Kan jag lägga till en nedladdningsknapp i verktygsfältet?

Detta är endast möjligt i Premium-versionen. Som en lösning i gratisversionen kan du lägga till en direktlänk till PDF-filen under den inbäddade versionen.

To do this, copy the URL from the pdf-embedder shortcode and insert it into a link using HTML such as this:
<a href=”(url of PDF)”>Download Here</a>

Stöds hyperlänkar?

Premium-versionen tillåter funktionella hyperlänkar – både interna länkar i dokumentet och länkar till externa webbplatser.

Can I remove the wp-pdf.com link from the viewer toolbar?

The easiest way is to upgrade to our Premium version, but if you know how to add entries to your database then you can add a line to the wp_options table
with option_name ’pdfemb_poweredby’ and option_value ’1’.

För mer information om premiumversioner besök wp-pdf.com.

Recensioner

2 oktober, 2020
I paid for the "Secure" version of this plugin... The pdf direct download link is in plain text in the page source and post headers (pdfemb-serveurl) 🙁 Instructions say uploading the PDF in the securepdfs/ folder ensures security and enabling the secure settings creates a backdoor path, not so. I was able to directly access the file from a browser without using a referrer header and download the file. A content Bot would have no issues scraping PDFs. Caveat Emptor On a positive note, the plugin does have a small memory footprint, that should help with page load speed 🙂
15 september, 2020
It has a problem with already uploaded media. My website has around 70 pdf files in the uploads section but none of them appear when selecting a pdf. I need to download each pdf one by one and upload them again. Otherwise it looks great, I hope they fix this one flaw
4 augusti, 2020
I had this issue of the Embedded PDFs not loading properly all of a sudden, site-wide. I was not sure where to begin but after reading up the support forum posts, reached out to the Customer support team at PDF Embedder plug-in. I promptly received response same day (within hours of posting my query) with possible ways to troubleshoot and couple of pointers for me to look at. I realized it indeed was the act of a caching plug-in coupled with cache accumulated at cloudflare end. Purging the cache and rebuilding same has brought back the functionality. Now my PDFs load smoothly, as earlier. No issue at all with the plug-in. Thanks to Emma for the timely response and pointed suggestions.
6 juli, 2020
This plugin is fantastic! I tried several different plugins to try to embed a large amount of PDFs on a few different pages. The other plugins either did not work or loaded the PDFs so slowly that it was not worth even using. Finding this plugin was a great relief and saved the day on making these very important pages work correctly to display these PDFs right on the pages. I highly recommend this PDF Embedder to everyone that is wishes to display a PDF right on your page! Cheers to the developers!
Läs alla 138 betyg

Bidragsgivare och utvecklare

”PDF Embedder” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

”PDF Embedder” har översatts till 15 språk. Tack till översättarna för deras bidrag.

Översätt ”PDF Embedder” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

4.6.1

PDF Zoom increase upto 800%
Added compatibility for WordPress 5.5.1

4.6

Fix language compatibility issue in viewer
Fixes js and css files cache issue
Added compatibility for WordPress 5.3.2

4.5

Added compatibility for WordPress 5.3
Fixes multiple PDF rendering issues in viewer

4.4

Fixed code for policy compatibility

4.3

Fixed Scrollbar issues with Firefox and iOS devices. Improved compatibility

4.2

Fixed script problem on some Gutenberg editor installations. Improved compatibility

4.1

Added compatibility for WordPress 5.2.1

4.0

Fixed general bug & added compatibility

3.2.1

Added compatibility for WordPress 5.2.1

3.2

Added compatibility with Gutenberg Editor

3.1.8

Updated version of underlying pdf.js library, fixes some rendering bugs.

Recalculates fresh viewer size more often in response to resize events. Previous versions attempted to increase performance by only recalculating viewer size when it had changed, but this missed some required resizing after Javascript-based tabs are clicked.

Fixed some issues with zoom appearance.

Mouse scroll wheel is now more consistent across all browsers (in terms of scroll speed).

When scrollbars are always visible, no longer cuts off edge of PDF underneath.

3.1.2

Klar för kompatibilitet med WordPress 4.8.

New mouse wheel scrolling in Firefox wasn’t working with some themes.

Latest version of pdf.js library, and newest code bringing the free version into line with the premium versions.

Mouse wheel scrolling in Firefox no longer also scrolls the window unless at very top or bottom of page.

3.0.1

Latest version of pdf.js library, and newest code bringing the free version into line with the premium versions.

Improved responsiveness and redraw of pages.

Plugin now respects the SCRIPT_DEBUG flag in wp-config.php and displays non-minified versions of the JS files if this is set to true.
Helps debugging any issues.

2.8.2

Latest version of pdf.js library to include recent rendering developments/fixes by the team.

2.8

Internal code refactoring. Added note that ’page turning arrows’ are now available in the premium versions.

2.7.5

Fix for a small number of PDFs rendering as smaller than expected on some high resolution screens.

2.7.3

Please clear browser and any WordPress cache if you experience any problems following this upgrade.

Bättre stöd för högupplösta skärmar.

Improved SEO for embedded PDFs (which are now links initially before Javascript converts them into the interactive view).
This also ensures the PDFs are accessible to users even if Javascript problems cause your site to break.

Kompatibelt med WordPress 4.6.

Added a filter named my_pdfemb_override_send_to_editor that means the shortcode generation can be turned off if desired.

Uses latest version of pdf.js library for rendering PDFs.

Toolbar buttons have type=”button” attribute to avoid conflicts with some other plugins.

Spanish translation contributed by Armando Landois.

Added pdfemb_filter_shortcode_attrs filter so developers can change default shortcode parameters through code.

2.5.5

Fixes for right-to-left languages.

2.5.4

Added French translation thanks to Thierry Gaillou of JDFitForme.
Uses newer version of pdf.js library for rendering PDFs.

2.5

Uses latest version of pdf.js library for rendering PDFs.
Options page tidied up.

2.4.7

Some settings were difficult to change on multisite installs.

2.4.3

Code placeholders for opening links – available only in premium versions.
Updated languages.

2.4.1

Code placeholders for tracking views/downloaders – available only in premium versions.
Updated languages.

2.4

Now translation-ready! Your language contributions are welcome.
Compatibility with WordPress 4.4

Contains information about new features in Premium version:
Functioning hyperlinks
Jump to page number

2.2.5

Better explanation of some error messages (e.g. attempt to access PDF on a different domain).
Forced white background by default – some Theme’s CSS would override.

2.2.4

’Download PDF’ button added to options, but function is only available in Premium versions.

2.2.2

Redesigned toolbar buttons

2.2

New version of PDF.js, fixes some PDF rendering bugs.

2.1.4

Obtains PDF over same transport (https/http) as host page, regardless of that specified in the shortcode url parameter. This avoids conflicts and failure to display PDF if the two don’t match.

2.1

Settings -> PDF Embedder page so you can now set site-wide defaults for width, height, and toolbar location/appearance.

2.0

Added zoom feature. Toolbars can be fixed instead of appearing on hover.

1.2.1

Fixed ’scrollbars’ in IE.

1.2

Fixed ’scrollbar’ issues.

Displays page number on toolbar (”Page 1/10”).

Added ’Loading…’ indicator.

Improved display of many PDFs (Added ’cmaps’ to the distribution).

1.0.4

Added compatibility.js to support some minor browsers, e.g. Safari which did not allow ranged downloads

1.0.2

Minified Javascript code. Default width/height (now ”max”) expands to fill parent container width regardless of the natural size of the document. Use width=”auto” to obtain the old behavior.

1.0.1

Lagt till användningsanvisningar på inställningssidan.

1.0

First version