Support » Plugin: Google Doc Embedder » No content in iframe

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author k3davis


    This is an easy fix; just change your document link to https to match the protocol of your parent page. See the third bullet in this section for more thorough explanation:

    Thank you for your quick response!

    That totally makes sense!
    However…, this is the link that I use.
    [gview file=””]

    and this is what comes out.

    <iframe src="" width="600" height="720" style="border: none;">

    So somewhere its stripping the “S” off the https.

    What are your thoughts?

    Plugin Author k3davis


    You are right, the standard viewer is hardcoded to use http rather than https. This is an oversight that I’ll correct in a future patch.

    To confirm this you can manually edit the gviewer.php file on line 245 where it currently reads:

    $lnk = "" . urlencode( $links[0] ) . "&hl=" . $lang;

    to read:

    $lnk = "//" . urlencode( $links[0] ) . "&hl=" . $lang;

    If you’re able to make that adjustment (you can do so from the plugin editor within wordpress, if you wish), let me know if it works for you.

    This worked!

    Thank you so much!

    Plugin Author k3davis


    Great, I’ll be sure to include that patch in the next update. Thanks for pointing out the issue.


    Plugin Author k3davis


    This fix was included in GDE 2.5.9 and doesn’t need to be manually applied anymore.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘No content in iframe’ is closed to new replies.