Title: Mobile Responsive Embed?
Last modified: January 22, 2022

---

# Mobile Responsive Embed?

 *  [ndar](https://wordpress.org/support/users/ndar/)
 * (@ndar)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/mobile-responsive-embed/)
 * Hi.
 * I am having trouble getting the plugin to be nicely responsive when viewed on
   a mobile device. This is what I am currently experiencing:
 * [Long Gray Background](https://www.tndar.org/members/wp1/wp-content/uploads/SIPFiles/ResponsivePDFPlease.jpeg)
 * Would appreciate any help!
    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Andy Fragen](https://wordpress.org/support/users/afragen/)
 * (@afragen)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/mobile-responsive-embed/#post-15279436)
 * What I see is a very large height attribute of the PDF.
 *  Thread Starter [ndar](https://wordpress.org/support/users/ndar/)
 * (@ndar)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/mobile-responsive-embed/#post-15280514)
 * Perhaps, but it displays perfectly on a computer… only long on mobile.
 * [Here’s desktop screenshot](https://drive.google.com/file/d/1wCOUCGEFnUZo9W0iquNyMElHR9GxWufW/view?usp=sharing)
 *  Plugin Author [Andy Fragen](https://wordpress.org/support/users/afragen/)
 * (@afragen)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/mobile-responsive-embed/#post-15280517)
 * Part of the issue is mobile displays using Google viewer and desktop view is 
   in an object tag. That’s just the way the plugin was designed, to be as lightweight
   as possible.
 *  Thread Starter [ndar](https://wordpress.org/support/users/ndar/)
 * (@ndar)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/mobile-responsive-embed/#post-15280520)
 * So, is the best solution to have two instances? One that appears to desktop users
   and another on mobile? Otherwise, what do you suggest?
 *  Thread Starter [ndar](https://wordpress.org/support/users/ndar/)
 * (@ndar)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/mobile-responsive-embed/#post-15280589)
 * Or is there a line of code I couple supply for different heights for mobile, 
   desktop?
 *  Plugin Author [Andy Fragen](https://wordpress.org/support/users/afragen/)
 * (@afragen)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/mobile-responsive-embed/#post-15281081)
 * There is a filter or a block setting to change the height and width, but not 
   separately between mobile and desktop.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Mobile Responsive Embed?’ is closed to new replies.

 * ![](https://ps.w.org/embed-pdf-viewer/assets/icon.svg?rev=2883712)
 * [Embed PDF Viewer](https://wordpress.org/plugins/embed-pdf-viewer/)
 * [Support Threads](https://wordpress.org/support/plugin/embed-pdf-viewer/)
 * [Active Topics](https://wordpress.org/support/plugin/embed-pdf-viewer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/embed-pdf-viewer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/embed-pdf-viewer/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Andy Fragen](https://wordpress.org/support/users/afragen/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/mobile-responsive-embed/#post-15281081)
 * Status: not resolved