how to load pdf from url on pdfviewer

hello, webix team

How to load pdf from url on pdfviewer?
I’m getting errors of crossdomain access denied and "No ‘Access-Control-Allow-Origin’ ".
Here is the snippet - Code Snippet

Thank you.

Hello,

Yep, there’re access issues in the snippet tool, but the PDF viewer widget itself works fine: https://docs.webix.com/samples/60_pro/10_viewers/06_pdf_load.html

By the way, to load the PDF file into the viewer, you need to use the binary proxy:

$$("pdf").load("binary->files/WebixDocs.pdf");