I am trying to view/open a PDF file with usage of a local HTML file and ViewerJS
(without Webserver, i just open the HTML-File with a Browser).
In short, it doesn't work. PDF is not displayed (Error: File not found)
This is my directory structure:
This is content of folder ViewerJS:
This is my local HTML-File (PDFViewer.html), which i try to open in a Browser:
<html>
<head>
</head>
<body>
<iframe src = "/ViewerJS/#../sample.pdf"></iframe>
<iframe src = "/ViewerJS/#./sample.pdf"></iframe>
<iframe src = "/ViewerJS/#/sample.pdf"></iframe>
<iframe src = "/ViewerJS/#sample.pdf"></iframe>
<iframe src = "ViewerJS/#../sample.pdf"></iframe>
<iframe src = "ViewerJS/#./sample.pdf"></iframe>
<iframe src = "ViewerJS/#/sample.pdf"></iframe>
<iframe src = "ViewerJS/#sample.pdf"></iframe>
</body>
</html>
What i am doing wrong?
What i am missing?