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%">
<embed src="" 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 :thinking:


I use this in an html element on the page:

<iframe width="100%" height="100%" src=" group's File's File's URL&embedded=true" allowfullscreen ></iframe>

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


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