0👍
This has been marked as an issue on github. Someone commented that adding
window.PDFJS = window[‘pdfjs-dist/build/pdf’];
to the line above workerSrc and fixing the pdf file link would make the demo work again. The creator has yet to accept this workaround.
Source:stackexchange.com