I'm running into an issue where I cannot preview a local pdf.
I have tried:
But I always just get a "File preview error":
In the Adobe View SDK repo, I did see the "Work with Local File" example. But this is not what I'm looking for. In the example, it uses a File Uploader. For my purposes, I want to just hardcode a local file location for my PDF into my JS code (preferably relative to my index.html file). That way I can easily work on my local machine.
Can you please advise? Thank you!
PS. Note that my index.html is located in "file:///C:/my/sandbox/" in the same dir as local_file.pdf.
Have something to add?