Web browser widget plugin: can't load a local pdf file within my html5 game

Using Unreal 5.0.3

In my Unreal 5 3d game I am using a web browser widget component which I placed in the wall somewhere in my level. I am able to see my web page load full screen just fine but every time I click on a button that should load a training PDF file it doesn’t load. I see the div element show up. This div element called “pdf_container” shows the PDF within the confines of the div’s dimensions. But the pdf file itself is not loading up. I even let it sit there waiting to see if maybe its just taking a while to load but no such luck. The thing is I am able to run my web server, click on my pdf button and see the pdf load just fine. It just doesn’t load in my Unreal game. Why is that? Could I be missing a permission setting?

this is how I am loading my pdf in my html page: <object data="/pdfs/training.pdf" type="application/pdf" width="800" height="800" style="text-align: left"></object>

Just as an added “sanity check” on myself I even tried loading a pdf via online “https://s29.q4cdn.com/816090369/files/doc_downloads/test.pdf” and I am still getting the same result. I see the pdf load in my container div just fine if I load it in google or Edge. But in the game it doesn’t load the pdf.

Browsers don’t typically display PDF data without additional plugins/extensions to do so (most come stock with them these days, but only when bundled as a browser, Chromium does not include PDF capability “out of the box”)…

well, if I run my web server outside of Unreal it loads any PDF file that “lives” inside of my web server project just fine.

->wwwroot
–>pdfs
---->doc_a.pdf
---->doc_b.pdf

and I’ve tried this in regular Chrome, Edge and FireFox. I can see my pdf document load and I embed it in the desired location of my web page.

The problem happens when I try to load my web server using the unreal web browser plugin. The home page, along with any image, css, etc loads just fine. The problem is when I click the “open training doc” button the pdf file doesn’t load. It should appear embedded in the html page.