mateusz-matela / djvu-html5

HTML5 based DjVu file viewer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does not work locally on Chrome even with "--allow-file-access-from-files"

trevorm7 opened this issue · comments

When I run file:///C:/Djvu_html5/Djvu_html5.html in Chrome with --allow-file-access-from-files enabled it fails to load the sample file. Instead it shows the unhappy face and no error in the console. It works just fine in Firefox. It's also broken in Chromium using CefSharp. I also tried it with the --allow-external-pages, --disable-web-security and --allow-file-access-from-files all at the same time with the same result, I verified these flags were enabled by checking chrome://version/.

The whole point is I'm trying to embed DjVu in a C# program and this looks like the easiest solution if it would work.

I have a similar problem (unhappy face) when running on Safari 14 and Firefox 84 on macOS Catalina.