I used this code to embed a pdf viewer on my website, but none of the pdfs I've tried show. I tested with the Document Services PDF Embed API Demo and when I open the file there it opens. However, when I try to use it on the website, it doesn't load. I keep receiving the error "File preview error. File preview not available, please reload to try again."
Here's the code I used
Thanks for using PDF Embed API.
Please ensure that you are using a direct link to the PDF in your code. Also, do you see any error in the browser console? Would be great if you could share that as well. Thanks!
Oh, thank you Sumona. I solved the problem. Actually, Internet Download Manager (IDM) was what was stopping the pdfs from displaying. Thanks for the support.