androidovshchik / angularepubviewer Goto Github PK
View Code? Open in Web Editor NEWAngular library based on Epub.js
Home Page: https://androidovshchik.github.io/AngularEpubViewer
License: GNU General Public License v3.0
Angular library based on Epub.js
Home Page: https://androidovshchik.github.io/AngularEpubViewer
License: GNU General Public License v3.0
Hi,
What epubjs you are using?
Version: 2, 3 or 4?
Thanks.
Hi,
We are getting issue with iOS mobile browsers,In all other android phones its working fine.
We are getting domainurl/stylesheet.css is cancelled error in the console.
We tried with all CSP(content-security-rules) for style-src but still getting same error.
Please let me know if you have any idea.
How to set the render properties?
EPUB.js has the continuous rendering mode
book.renderTo("area", { method: "continuous", width: "100%", height: "100%" });
book.renderTo("area", { flow: "scrolled-doc" });
I tried but it doesn't seems to work:
_this.epub.renderTo('angularEpubViewerComponent',{ flow: "scrolled-doc" });
Can you suggest how to achieve this functionality?
Hi,We are getting following issue while loading the Epub in the MAC system browsers.Tested in safari and chrome as well.Its working fine in other OS system browsers.
Error:
Refused to load blob:https://domain.com/6a628a22-9531-48e1-b573-a1b16b3719b8 because it does not appear in the img-src directive of the Content Security Policy.
Please any idea about this issues, let me know.
Thanks.
// Goes to exact location instead of file chapter is located in.
this.adminEpubViewer.epub.goto(this.chosenChapter.href);
Is there a way to make CHAPTER XIV at the top of the page with no content above it (when navigating to it)?
Note: My location looks something like: @public@vhost@g@gutenberg@html@files@22012@[email protected]#pgepubid00039
Hi,
I have a master detail pattern and try to display at every detail page another epub.
It works great on one detail page, but if I go back to master and select another book detail page the epub is not shown.
In the DOM is nothing rendered and added to the epub-viewer component:
<angular-epub-viewer><div id="angularEpubViewerComponent"></div></angular-epub-viewer>
I also checked the output events of onDocumentReady and onErrorOccurred.
No error is thrown and onDocumentReady is fired.
I use your latest version and the latest epubjs 2.x.x version with angular 6.
Any idea?
I would be glad about help.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.