Instead of having single build folder and some of absolute paths this version contains everything relatively and everything in a root directory with index.html
with open, download disabled so it can be self hosted and can be used as <iframe/>
https://harshzalavadiya.github.io/pdf-viewer/?file=sample.pdf
This code is released under MIT but pdf.js itself is released under Apache-2.0
and uses adobe cmap which is released under BSD 3-Clause
License