Support » Plugin: DobsonDev Shortcodes » Could not embed pdf documents

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author DobsonDev

    (@dobsondev)

    Can you send me a link to where you tried to embed the document? Also can you send me a copy of the Shortcode you used to do the embed?

    Thread Starter alve39

    (@alve39)

    Here is the link https://ab3.fun/test/

    The shortcode I tested with this plugin is “[embedPDF source=”http://www.porttownsendrotary.org/Jumping-Mouse-Story.pdf”%5D”

    Plugin Author DobsonDev

    (@dobsondev)

    Are you using Gutenberg or the Classic editor? I just ran a test on my testing site and I got the file to embed no problem with the exact same shortcode you used.

    ** EDIT ** I just tried it out in Gutenberg as well and it worked fine again for me.

    I think the next step would be to disable plugins and see if deactivating any of the plugin fixes the problem.

    • This reply was modified 4 years, 9 months ago by DobsonDev.
    • This reply was modified 4 years, 9 months ago by DobsonDev.
    Thread Starter alve39

    (@alve39)

    I’m using the latest wordpress version but I don’t use Guttenberg editor, I use Classic editor plugin.

    Plugin Author DobsonDev

    (@dobsondev)

    Do you happen to have any plugins that you think might prevent linking a file from another website or anything? I would try deactivating some plugins and seeing if it works after that.

    Do you have an error log or anything with your hosting that could tell you more?

    The other thing you could try is going right into the HTML editor and putting this in and seeing if it works:

    <object type="application/pdf" data="http://porttownsendrotary.org/Jumping-Mouse-Story.pdf" width="100%" height="600"></object>

    That is what code my plugin should generate anyway so you could try to put that directly into the HTML editor and see if you can see anything. If you can’t see anything by putting that directly in it may be your hosting setup that is causing the issue.

    Thread Starter alve39

    (@alve39)

    I do have quite a few plugins like your DobsonDev Shortcodes plugin. So I’ll try diabling them. It might take some time. So I’ll reply back later. Thanks so much for your fast response.

    Plugin Author DobsonDev

    (@dobsondev)

    I’m going to mark this as resolved in the mean time. I hope you can find what’s causing the problem!

    Thread Starter alve39

    (@alve39)

    ok

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Could not embed pdf documents’ is closed to new replies.