R
R
Roman Volkov2015-09-29 16:52:02
JavaScript
Roman Volkov, 2015-09-29 16:52:02

Is it possible to view docx, pdf, xls documents on the site?

There is a need to implement a preview of the file on the site. Is there any library that can feed a link and get a second url, by clicking on which the document will be displayed in the browser?
Or another option, we feed the link, and through js we insert the view into the body of the page?
Maybe there are ways to open the specified file through google docs?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vlad Tokarev, 2015-10-01
@white_wolf_17

Through google docs

https://docs.google.com/viewer?url={Ссылка на документ}

Example.

L
littleguga, 2015-09-29
@littleguga

viewer.js
is this one

A
Alexander Taratin, 2015-09-29
@Taraflex

https://www.youtube.com/watch?v=A5SkbcId-v0

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question