Open Pablo200206 opened 11 months ago
@Pablo200206 facing the same issue. Did you find any solution. I have arraybuffers and I converted them to blob urls but neither iframe is working not ngx-doc-viewer
@Pablo200206 facing the same issue. Did you find any solution. I have arraybuffers and I converted them to blob urls but neither iframe is working not ngx-doc-viewer
Hi! If i remember correctly i just used 'url' as a viewer on the doc viewer, i converted the blob to a local url and passed it to the componentet
@Pablo200206 facing the same issue. Did you find any solution. I have arraybuffers and I converted them to blob urls but neither iframe is working not ngx-doc-viewer
Hi! If i remember correctly i just used 'url' as a viewer on the doc viewer, i converted the blob to a local url and passed it to the componentet
Would you please share the code with us?, i tried this way:
<ngx-doc-viewer [url]="this.url" viewer="url" style="width:100%;height:50vh;"
But that only downloads the document
Imagine we have a blob of data array. Can we use as data source instead of url ? I asked it because when we upload new file - it will not have any url, it is just a BLOB, but we need to preview it in the it will be better to create a File object and provide it as data
<ngx-doc-viewer [url]="docUrl" viewer="office" style="width: 100%; height: 90vh">
Hi everyone!
I used URL.createObjectURL() to create a local URL from a BLOB.
The problem is that the viewer doesn´t charge the url, it gives an error.
Any possible solution to this?
It is because is loading google/office viewer and it can´t acces local urls?