You might look at the recently posted PDF viewer which also incorporates a Javascript library and see how they did it: Custom PDF Viewer using PDF.js
2 Likes
You might look at the recently posted PDF viewer which also incorporates a Javascript library and see how they did it: Custom PDF Viewer using PDF.js