Embedding (viewer) external documents


Is it possible to use OnlyOffice viewer for documents available by the public on a website? I have documents on a server that i want to embed (viewer) but it’s docx/pptx/pdf documents (pdf is possible with iframes).

Thanks in advance,

Yes, it is possible.
Please check out this guide on the Editor’s viewmode: ONLYOFFICE Api Documentation - Viewing
You can try it here: ONLYOFFICE Api Documentation - Try now