internet explorer 11 - epub.js not loading properly on IE11 -


i'm trying load epub on page using epub.js library , not working on ie 11, works perfrectly on chrome , firefox though.

i'm not getting script error, don't message in console log, fiddler says scripts (including zip.js , epub) downloaded properly.

it doesn't load, iframe embedded has src="" property , empty html body. in following snapshot.

epub loading failure snapshot

here html page content:

<!doctype html> <html xmlns="http://www.w3.org/1999/xhtml"> <head>     <title></title>     <script src="content/epubjs/epub.js"></script>     <script src="content/epubjs/libs/zip.min.js"></script> </head> <body>     <span onclick="book.prevpage();">prev</span>     <span onclick="book.nextpage();">next</span>      <div style="height: 700px; border: 5px solid red" id="area"></div>      <script type="text/javascript">         epubjs.filepath = "content/epubjs/libs/";     </script>      <script type="text/javascript">         var book = epub("content/alicedynamic.epub", {                         version: 4,                         restore: false, // skips parsing epub contents, loading localstorage instead                         storage: false, // true (auto) or false (none) | override: 'ram', 'websqldatabase', 'indexeddb', 'filesystem'                         spreads: false, // displays 2 columns                         fixedlayout: true, //-- turn off pagination                         styles: {}, // styles applied epub                         width: false,                         height: '700px'                     });          book.renderto("area");      </script> </body> </html> 

i tried play around options parameter, set things false , true here , there didn't help.

it looks problem current version of epub.js , internet explorer 11. if try , load the moby dick page should see same problem.

try setting break on exceptions (even handled ones) in javascript engine of ie, , see javascript throws exception saying "'xpathresult' undefined".

common recommendations correct seem installing wicked-good-xpath library in order sidestep ie11 lack of xpath support. install library , initialize before trying load epub.

if doesn't correct problem, may have wait until issues solved since don't seem person encounters it.


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -