It seems ok now but the settings download=false print=false don’t work anymore?
I’ll have to dig into download and print
It seems those settings aren’t being respected in full screen mode. Otherwise they seem to be working fine. I’ll put in on the to-do list.
Not sure they are, I use this shortcode [pdfjs-viewer url=x.pdf viewer_height=1000px fullscreen=false download=false print=false] and the settings are not working
I love your plugin very much.
I do have the same issue after updating to 5.4. I tried to downgrade the plugin to 1.4.0, but the problem persists. So, as a result, the problem is in WordPress 5.4.
Also, I would like to hide the Open-File button too.
Keep up the great work!
If you know how to add plugins by uploading them, and you’re willing to test, you can check out the develop version where the print/download button hiding should be fixed: https://github.com/TwisterMc/PDF.js-Viewer-Shortcode/tree/develop
New version is out and hopefully it fixes the download & print button hiding.