55
Views
2
Comments
Solved
[pdfJS Viewer Reactive] Is it possible to use pdfJS Viewer Reactive for binary files instead of URL?
pdfjs-viewer-reactive
Reactive icon
Forge asset by Eduardo Jauch
Application Type
Reactive

My goal is to display a PDF within a page alongside other components. Since the PDF file is dynamic and not stored in resources, I'm looking to avoid creating a separate download screen and passing the URL here. Is there a way to utilize this component with binary or base64 data? Embedding directly doesn't work due to content policy restrictions, and I don't have access to environment configurations. I recall reading about discussions regarding the implementation of base64 support back in 2020, but I'm uncertain if it was ever deployed. Could you provide some insight on this?


Thank you

2024-01-11 07-20-54
Rodrigo Real Zoco
Solution

Hello,


The last version already have a component to upload the content in base64 format, don't need to download as a resource


If that what you need?

Best regards

2018-10-17 18-00-19
Carlos Gonçalves

yes thats what i need my client do not have the last version probably thats why i am seeing that wb.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.