diff --git a/epub.js b/epub.js index 8858dcd..de781a5 100644 --- a/epub.js +++ b/epub.js @@ -500,6 +500,7 @@ class Loader { for (const el of doc.querySelectorAll('link[href]')) await replace(el, 'href') for (const el of doc.querySelectorAll('[src]')) await replace(el, 'src') for (const el of doc.querySelectorAll('[poster]')) await replace(el, 'poster') + for (const el of doc.querySelectorAll('object[data]')) await replace(el, 'data') for (const el of doc.querySelectorAll('[*|href]:not([href]')) el.setAttributeNS(NS.XLINK, 'href', await this.loadHref( el.getAttributeNS(NS.XLINK, 'href'), href, parents)) diff --git a/reader.html b/reader.html index 48e3d1e..ec375bb 100644 --- a/reader.html +++ b/reader.html @@ -2,7 +2,7 @@ - + E-Book Reader