Your viewer control is perfect for my use case. I am looking for current code samples to embed the viewer on a web page (using an iframe), and to pass in the URL of a publicly available file.
So far, this code works for me, BUT only for pdf files:
If I pass in the URL for a Word doc, I get the following error:
"PDF.js v? (build: ?)
=> Can you help me diagnose/guide me on how to make this work for Word docs?
=> I'd also like to understand how to implement the toolbar customizations which your support article describes at
I have found that those instructions *only* work when I use the "/app/reader/?url=..." API, but that API is not putting out any content. The only one that is working for me is the "/app/reader3/?url=..." AP (using "reader3"), but that API does not let me customize the toolbar options.
THANK YOU IN ADVANCE FOR ANY HELP!
Thanks for your message, yes, http://online.verypdf.com/app/reader/web/viewer.html does view the PDF format only, if you wish to view the DOC, DOCX, XLS, XLSX, PPT, PPTX, RTF, etc. document formats online, you need convert these Office formats to PDF files first, then you can view the PDF files in Online PDF Reader.
You may use VerPDF Cloud API or Online Document Viewer to convert from Office files to PDF files online,
You can also call following URL to convert office documents to PDF files and view the PDF files online,