Title: Empty Iframe when using shortcode
Last modified: August 22, 2016

---

# Empty Iframe when using shortcode

 *  [WebPrezence](https://wordpress.org/support/users/webprezence/)
 * (@webprezence)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/empty-iframe-when-using-shortcode/)
 * I’m unsure as to why, as I’ve searched through all of the documentation.
 * When displaying the shortcode, I simply get a blank PDF doc. I’ve triple checked
   my paths, have disabled all plugins, changed themes, etc., and the result is 
   still the same.
 * Note: My site is SSL’d, so I’ve tried 3 different versions of the plugin’s shortcode:
   [
   pdfjs-viewer url=**http://**[http://www.website.com/test.pdf](http://www.website.com/test.pdf)
   viewer_width=600px viewer_height=700px fullscreen=true download=true print=true
   openfile=false] [pdfjs-viewer url=**https://**[http://www.website.com/test.pdf](http://www.website.com/test.pdf)
   viewer_width=600px viewer_height=700px fullscreen=true download=true print=true
   openfile=false] [pdfjs-viewer url=**//**[http://www.website.com/test.pdf](http://www.website.com/test.pdf)
   viewer_width=600px viewer_height=700px fullscreen=true download=true print=true
   openfile=false]
 * Perhaps the only thing that’s different is I don’t upload my documents to the
   WordPress media library; I keep them in various folders (e.g., **root/sealed-
   files/** or **root/docs/**, etc.).
 * Here’s a [screen capture](http://i.imgur.com/VuqYxYA.jpg) on what I’m seeing.
 * I’d really like to get this working, as it’s compatible with a lightbox plugin
   I’m using, so any guidance in helping me with this issue would be greatly appreciated!
 * [https://wordpress.org/plugins/pdfjs-viewer-shortcode/](https://wordpress.org/plugins/pdfjs-viewer-shortcode/)

The topic ‘Empty Iframe when using shortcode’ is closed to new replies.

 * ![](https://ps.w.org/pdfjs-viewer-shortcode/assets/icon-256x256.png?rev=2301161)
 * [PDF.js Viewer](https://wordpress.org/plugins/pdfjs-viewer-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/pdfjs-viewer-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/pdfjs-viewer-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pdfjs-viewer-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pdfjs-viewer-shortcode/reviews/)

## Tags

 * [blank PDF](https://wordpress.org/support/topic-tag/blank-pdf/)

 * 0 replies
 * 1 participant
 * Last reply from: [WebPrezence](https://wordpress.org/support/users/webprezence/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/empty-iframe-when-using-shortcode/)
 * Status: not resolved