Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc/Docx files not working #215

Open
AjayReddi12 opened this issue Dec 30, 2023 · 7 comments
Open

Doc/Docx files not working #215

AjayReddi12 opened this issue Dec 30, 2023 · 7 comments

Comments

@AjayReddi12
Copy link

While try to view Doc/Docx file it's not working
image

@vijay22uk
Copy link

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.

@AjayReddi12
Copy link
Author

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.

@Lukada-taiya
Copy link

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.

@rabalasubramani3
Copy link

This package is making false claims ...

@semanticist21
Copy link

Should have commented on this in documentation!!!

@the-rich-piana
Copy link

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.

@vijay22uk
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants