Hi, I have a question about using the Adobe PDF Embed API with a pdf file that has been stored within a database in a varbinary format, I have created a Blazor project to view a pdf which worked by setting the data of an object to a data url however it didn't work with large files in some browsers as they had a data url limitation. So I found this api and the example which easily loaded the same large files in this browser however I have not been able to get it to work.
Here is the relevant code
a div with id="adobe-dc-view"
A function which is called by a button and calls upon a js function
and a js function within a .js file
The js file is refrenced in the _Host File and already has another function within it that works.
I believe the fault my lie in the js function code as I am unfamiliar in converting html scripts into a seperate file.
Would very much appreciate any help that anyone has on this matter