-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDF is downloaded instead of displayed #6
Comments
That's strange. You are using the correct syntax. Is there anywhere I can see this live? Until then, you can check out the official example usage page -> https://mihajlonesic.gitlab.io/jpe-examples/ |
@MihajloNesic Unfortunately, the page is not hosted externally. I have seen the example page, which helped. Attached to this is my (edited) I know this plugin used to work. But now it seems that every post I have that embeds the PDF, now just downloads it instead. |
@jlconlin Hmm, the config file didn't really help (thank you though). You probably did set it up correctly, as you said, it did use to work. Does that mean that the server from which you are embedding the pdf files has changed? Maybe the Content-Disposition header changed? I will try to recreate the issue (probably) this weekend. Thank you for your time and keep an eye on this issue :) |
Oh, now you are getting beyond my area of expertise. I'm not a web developer. The machine is still the same. It's possible (likely?) that the theme I am using (minimal mistakes) was updated and that made a change. |
Hello @jlconlin . The plugin works as expected. No automatic downloads |
Hi @akbaritabar, thank you for the screenshots. That is a strange behaviour. I just tested on Firefox and Chrome (both latest versions) on MacOS and it works perfectly. I think dumping the iframe is a priority for the next update. |
@MihajloNesic Thank you for letting me know. |
Any word on how to fix this? I can confirm that this is an issue using Firefox on my Mac, but it works using Chrome on my Mac. |
Hey @MihajloNesic, @jlconlin But when I use an external link (from Github), the browser suddenly starts downloading the PDF file. here is my code: site.data.cv.dlink is: also, I tested it with the embed tag: the problem still remains and the result is the same! But when I use local PDF file, it works fine and the PDF shows correctly: I think the type of link we use is the cause of this problem, so if we use a direct link there will be no problem anymore. |
I have page where I'm trying to embed a PDF like this:
Instead of embedding the PDF in the page, the PDF is downloaded. There is some space for the embedded PDF, but it just shows a blank space instead.
Do I have something configured incorrectly?
The text was updated successfully, but these errors were encountered: