Self-hosted PDF URL
-
Hi,
thanks for this nice plugin.
However I seem to have a problem when displaying self-hosted PDFs.
If I insert this shortcode :
[flipbook pdf="http://mywbesite.com/content/uploads/2017/01/myfile.pdf"]on mywebsite.com, the generated src of the iframe becomes :
http://flowpaper.com/flipbook/?pdf=http://mywebsite.com/content/uploads/2017/01/myfile.pdf?wp-hosted=1&title=&header=&theme=&thumbs=1&modified=1710151055which is not working (I get the “That does not seem to be a valid PDF url. Please check so the PDF exists.” error)
If I replace manually the “?” before wp-hosted with an “&” in the URL, then it works perfectly :
http://flowpaper.com/flipbook/?pdf=http://mywebsite.com/content/uploads/2017/01/myfile.pdf&wp-hosted=1&title=&header=&theme=&thumbs=1&modified=1710151055But the ?wp-hosted part is being added in the URL by your plugin (line 330 of file flowpaper.php)
So I was wondering if I was doing something wrong ?
Thanks for your help,
Gianna
The topic ‘Self-hosted PDF URL’ is closed to new replies.