Using the code
var book = ePub("https://standardebooks.org/ebooks/marcus-aurelius/meditations/george-long/dist/marcus-aurelius_meditations.epub");var rendition = book.renderTo("area", {width: 600, height: 400});
throws an error when book.renderTo() is called, with the following error message:
epub.min.js:formatted:10024 Uncaught Error: Not an Element at e.value (epub.min.js:formatted:10024) at e.value (epub.min.js:formatted:10030) at e.value (epub.min.js:formatted:2946) at e.<anonymous> (epub.min.js:formatted:4500) at e.value (epub.min.js:formatted:1925) at epub.min.js:formatted:1954
Does anyone know the source of the error?
Using the code
var book = ePub("https://standardebooks.org/ebooks/marcus-aurelius/meditations/george-long/dist/marcus-aurelius_meditations.epub");
var rendition = book.renderTo("area", {width: 600, height: 400});
throws an error when book.renderTo() is called, with the following error message:epub.min.js:formatted:10024 Uncaught Error: Not an Element at e.value (epub.min.js:formatted:10024) at e.value (epub.min.js:formatted:10030) at e.value (epub.min.js:formatted:2946) at e.<anonymous> (epub.min.js:formatted:4500) at e.value (epub.min.js:formatted:1925) at epub.min.js:formatted:1954
Does anyone know the source of the error?