Using a PDF viewer inside of Bubble, example ViewerJS

Do you know of a PDF viewer that would work in Bubble such as ViewerJS? (other than the one provided by the browser)

What would it take to implement it in Bubble?

1 Like

Is there something in particular your looking to get from it? is it the looks or functionality?

bubble is great in the sense that it has an operator for base64, so using the html element, throwing in

<embed src="data:application/pdf;base64,YOUR-BASE-64" width="100%" height="100%">
or
<embed src="https://YOUR-PDF-URL.com" width="100%" height="100%">

This, although the default, is handy, Its responsive, has a lot of features for nav and view, but will also print/save and is compatible almost everywhere. the good thing for those who prefer not to get too deep into the code they can use this for base64 data in the form of a PDF or image or simply reference a site.

on the other hand http://html5.snowbound.com/ :thinking:

7 Likes

I use this in an html element on the page:

<iframe width="100%" height="100%" src="https://docs.google.com/gview?url=http:Parent group's File's File's URL&embedded=true" allowfullscreen ></iframe>

Looks like Jarrad’s option is way more elegant, as usual :smiley:

3 Likes

This topic was automatically closed after 70 days. New replies are no longer allowed.