You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@marco-silvestri you can't load an epub directly, it needs to be an exploded epub, and load via manifest (readium manifest)please take a look at the sample implementations in the viewer and if there are still questions, let me know.
Hi,
when trying to implement the basic example:
<script> D2Reader.load({ url: new URL('http://localhost/mary-parker-follett_the-new-state.epub'), }).then(instance => { console.log("D2Reader loaded ", instance); }).catch(error => { console.error("error.message ", error.message); }); </script>
I get
(index):38 error.message Unexpected token 'P', "PK���
I've tried with different books but nothing has changed. in my package json I have _"@d-i-t-a/reader": "^2.4.10",
what could cause the issue?
The text was updated successfully, but these errors were encountered: