Templates Plugins Courses

📈 Documents Viewer - New Plugin from Zeroqode


#1

Documents Viewer allows you to easily preview Microsoft and Google documents inside your app without downloading the files. You can open them through dynamic or static links in the input fields. The plugin comes with two elements: Microsoft Viewer and Google Viewer.

Type of supported files:
Microsoft Viewer - (’.ppt’ ‘.pptx’ ‘.doc’, ‘.docx’, ‘.xls’, ‘.xlsx’)
Google Viewer - (.JPEG, .PNG, .GIF, .TIFF, .BMP), (WebM, .MPEG4, .3GPP, .MOV, .AVI, .MPEGPS, .WMV, .FLV), (.TXT), (.CSS, .HTML, .PHP, .C, .CPP, .H, .HPP, .JS), (.DOC and .DOCX), (.XLS and .XLSX), (.PPT and .PPTX), (.PDF), (.PAGES), (.AI), (.PSD), (.TIFF), (.DXF), (.SVG), (.EPS, .PS), (.TTF), (.XPS), (.ZIP and .RAR)

Live demo: https://zeroqode-demo-17.bubbleapps.io/documents_viewer
Plugin page: https://bubble.is/plugin/documents-viewer-1561452651815x527935611742978050

Please support us with a retweet

Levon Terteryan

Founder @ Zeroqode

zeroqode-for-web-160x120

Bubble Templates

Zeroqode Blocks

Bubble Plugins

Bubble Courses

Convert Web to iOS & Android

No-code Development Services


#2

Hi @levon

Both the Microsoft Viewer and the Google Viewer work fine when the file I’m trying to preview is open to the web.

However, as soon as I add any kind of Privacy Data Role, the Google Viewer can no longer preview the file (the Microsoft one seems fine). Is that expected behaviour?

Cheers
Travis


#3

Hi Travis
i believe so, if it’s not possible to open from the web then how the plugin will be able to see it?


#4

Thanks @levon,
You’re right - same issue with the Microsoft viewer:
Screenshot_3
Sorry, I hadn’t thought through how Microsoft & Google’s file preview services worked - of course they need access to the file to display it.
I’ll have to find another solution though because I want to preview files inside my private app.
Cheers
Travis


#5

Just purchased this and tried to get a PDF to display as shown in the list of supported files and I get two system error:

  1. The plugin Documents Viewer / element Google Viewer threw the following error: TypeError: Cannot set property ‘url’ of undefined
    at eval (PLUGIN_Documents-Viewer-update–Google-Viewer-.js:1:26)
    at https://dhtiece9044ep.cloudfront.net/package/run_debug_js/31e1eb5bbbc2f9a4888e20f22c4412bb6ad2aad3c471758e7e675346ebe24c64/xfalse/x5:18:444330 (please report this to the plugin author)

  2. The plugin Documents Viewer / element Google Viewer threw the following error: ReferenceError: Vue is not defined
    at eval (PLUGIN_Documents-Viewer-initialize–Google-Viewer-.js:1:110)
    at https://dhtiece9044ep.cloudfront.net/package/run_debug_js/31e1eb5bbbc2f9a4888e20f22c4412bb6ad2aad3c471758e7e675346ebe24c64/xfalse/x5:18:444097 (please report this to the plugin author)

SAA


#6

Hello @sanastasi, thank you for reaching out!

Could you please add [email protected] as collaborators to your app. It will help to understand the causes of the issue and find the solution ASAP. In order to do that just go to settings > collaboration and insert [email protected].

Thank you in advance!

Best Regards,
Alex.