Answer the question
In order to leave comments, you need to log in
Is it possible to display the contents of a DOC file via docs.google.com/viewer?url in an iframe?
Hi everybody!
I'm using fancyBox to display a pdf in a modal window on a website. In general, everything is clear.
I want to use fancyBox tools to display DOC file content.
Direct link works great.
But, as soon as I mount it via iframe - google starts to swear.
The question is, is it possible to "make friends" with google and still upload a file on your site via an iframe?
Answer the question
In order to leave comments, you need to log in
Add a required parameterembedded=true
<iframe src="https://docs.google.com/viewerng/viewer?url=https://cit.tsn.47edu.ru/doc/Programma_provedenia_regionalnykh_UTS_24_11_2018.docx&embedded=true">
</iframe>
<iframe src="https://view.officeapps.live.com/op/embed.aspx?src=https://cit.tsn.47edu.ru/doc/Programma_provedenia_regionalnykh_UTS_24_11_2018.docx">
</iframe>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question