Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open epub from url #4

Open
mercooliy opened this issue Dec 18, 2018 · 6 comments
Open

Open epub from url #4

mercooliy opened this issue Dec 18, 2018 · 6 comments

Comments

@mercooliy
Copy link

Hello
How open url epub file without download to cash browser?
thank you

@pgaskin
Copy link
Owner

pgaskin commented Dec 29, 2018

Just put it after the # symbol at the end of the url.

@sohaGamal20
Copy link

i cant open epub book using its url
even after concatenating the file at the end of the url with #

my case i want to open the files using hyperlinks or passing physical paths instead of uploading

@pgaskin
Copy link
Owner

pgaskin commented Jan 4, 2020

To use local files directly, you need to run ePubViewer in something like NW.js or Electron, or you need to serve the files from a local server. To use files from another server, it needs to have CORS configured correctly.

@Excurl
Copy link

Excurl commented Jun 24, 2022

any solution for this? always looking for this..

@Excurl
Copy link

Excurl commented Jun 24, 2022

i cant open epub book using its url even after concatenating the file at the end of the url with #

my case i want to open the files using hyperlinks or passing physical paths instead of uploading

have you found?

@scillidan
Copy link

scillidan commented Aug 22, 2023

Write the url like this:

https://pgaskin.net/ePubViewer/#//raw.githubusercontent.com/scillidan/private_cos_cache/main/epub/Alice_in_Wonderland.epub

You can see it.

And If you put .epub file in ePubViewer's folder, you can write it like:

http://localhost:4002/#Alice_in_Wonderland.epub

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants