Closed ELMOKS214 closed 2 years ago
The PDF should not be encoded in the editor. How did you generate that URL?
It should be https://www.philippineconsulatela.org/wp-content/uploads/2021/08/ADVISORY-Deadline-of-Overseas-Voter-Registration-Corrected-Date.pdf
assuming your website starts with https://www
The PDF should not be encoded in the editor. How did you generate that URL?
It should be
https://www.philippineconsulatela.org/wp-content/uploads/2021/08/ADVISORY-Deadline-of-Overseas-Voter-Registration-Corrected-Date.pdf
assuming your website starts withhttps://www
It was embedded using your pdfj plugin.
Thanks for the quick reply.
Are you using the classic editor or the Gutenberg block? I'm trying to figure to how to re-create the issue.
Are you using the classic editor or the Gutenberg block? I'm trying to figure to how to re-create the issue.
Below is the editor that im currently using right now, before I dont have a problem with the PDJF Viewer.
Some encoding was done for security reasons. I'll do some digging to see if I can't figure out why you're seeing that.
Are you running the latest version? 2.1.2
Some encoding was done for security reasons. I'll do some digging to see if I can't figure out why you're seeing that.
Are you running the latest version? 2.1.2
Yes, i have the latest version.
I think it's a caching issue. Can you try clearing your cache?
I think it's a caching issue. Can you try clearing your cache?
Cache cleared, same issue.
I'll try to push a fix to break the cache incase that's the issue. Or maybe just pushing new files will magically make it work.
I'll try to push a fix to break the cache incase that's the issue. Or maybe just pushing new files will magically make it work.
Thanks, looking forward for that magic.
New version is up. Hopefully it works better.
New version is up. Hopefully it works better.
Updated the plugin, error still there.
thanks for looking this up.
There's nothing that's encoding the URL in my code. Could one of your other editor plugins be causing an issue? Have you made any other updates/additions recently?
I tried to disable the PDF embedder plugin. The cause is from multiple pdf plugins that I installed.
So everything is working now?
Still the same, even i uninstalled all the plugin related to PDF embedder or viewer.
Ok, I'll push out an update to decode that URL. Not sure what's going on.
I released a new version of the plugin, give it a shot.
Its working, thats a relief, your a genius sir. thanks for the help and quick action.
HI,
I need some help, all of the pages using the plugin got an error viewing the PDF.
Please see screen shots and link below:
[pdfjs-viewer url="https%3A%2F%2Fwww.philippineconsulatela.org%2Fwp-content%2Fuploads%2F2021%2F08%2FADVISORY-Deadline-of-Overseas-Voter-Registration-Corrected-Date.pdf" viewer_width=100% viewer_height=800px fullscreen=true download=false print=false]
Thank you.