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.