react-doc-viewer
react-doc-viewer copied to clipboard
Doc/Docx files not working
While try to view Doc/Docx file it's not working
Hello @AjayReddi12, I also had the same issue by inspecting it I got to know that react-doc-viewer internally uses msdoc-iframe renderer for doc/docx which requires files to be available publically.
Hi @vijay22uk Do you have any Solution to display DOC/DOCX file. Is there any other packages by which we can display any type of File. Thanks.
I am facing this same issue.
I also had the same issue by inspecting it I got to know that react-doc-viewer internally uses msdoc-iframe renderer for doc/docx which requires files to be available publically.
This shouldn't be the case.
This package is making false claims ...
Should have commented on this in documentation!!!
I think they mentioned it can only display docx if it is a public URL because it uses some kind of microsoft viewer. Which makes this basically useless for the most of us.
Hi @vijay22uk Do you have any Solution to display DOC/DOCX file. Is there any other packages by which we can display any type of File. Thanks.
We converted docx to pdf files on server using mammoth. For react-doc-viewer to display doc/x files they need to be available publicly so that iframe can open them.