jubilee3d / jubilee3d.github.io

jubilee project website
1 stars 0 forks source link

Find Mobile-Friendly way of embedding PDFs #4

Open Poofjunior opened 1 month ago

Poofjunior commented 1 month ago

It looks like finding a way to embed PDFs that also works on a browser is going to be a work in progress.

Here are some possible solutions:

MC42 commented 3 weeks ago

https://mozilla.github.io/pdf.js/

Poofjunior commented 3 weeks ago

https://mozilla.github.io/pdf.js/

Ohh I saw this but do you know if it lets you embed PDFs? From what I could see, it supports viewing them in the browser, but I couldn't find any examples with embedded PDFs.

MC42 commented 3 weeks ago

Want to make sure I'm understanding, as in embedding them as byte code into the page itself so there's no additional resources? I had gotten it to load a PDF on the same domain listed as a "static asset" without much hassle. That's why I suggested it.