We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am trying to load PDF and Word-Document into my project
import DocViewer, { DocViewerRenderers } from '@cyntler/react-doc-viewer'; import '@cyntler/react-doc-viewer/dist/index.css'; function DocViewerFile() { const docs = [ { uri: 'http://10.6.0.219/testing/1ZBF000043R1001.docx', }, ]; return <DocViewer pluginRenderers={DocViewerRenderers} documents={docs} />; } export default DocViewerFile;
Above code loads PDF successfully - with the PDF hosted on the same link but it is not able to load Word Document. Any idea what is missing here.
NOTE - http://10.6.0.219 is a minio blob repository.
The text was updated successfully, but these errors were encountered:
Hello, @nikhilguptagl
If the url you are providing is publicly accessible, then it should work. Otherwise it won't work at all.
Sorry, something went wrong.
Are you able to render docx file @nikhilguptagl
No branches or pull requests
I am trying to load PDF and Word-Document into my project
Above code loads PDF successfully - with the PDF hosted on the same link but it is not able to load Word Document. Any idea what is missing here.
NOTE - http://10.6.0.219 is a minio blob repository.
The text was updated successfully, but these errors were encountered: