epub.js无法打开epub文件

时间:2019-02-18 23:08:13

标签: javascript flask epub.js

使用代码

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});

在调用book.renderTo()时引发错误,并显示以下错误消息: 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

有人知道错误的根源吗?

0 个答案:

没有答案