readium-shared-js icon indicating copy to clipboard operation
readium-shared-js copied to clipboard

Readium fails when using readium index page as source inside iframe on IE

Open mahag opened this issue 9 years ago • 3 comments

I have an html page with iframe that has source to readium viewer link as follows

<iframe width="100%" height="500px" id="ifjdfnkjvnjjbk" src="http://example.com/cloud-reader-lite/index.html?epub=epub_content/test.epub" runat="server" ></iframe>

This does open on google chrome but it fails on IE. It shows the book title on top but fails to open the file the loading circle keeps on running and nothing is displayed untitled6

How could this be solved?

mahag avatar Sep 22 '16 09:09 mahag

@mahag Are there any errors in the console?

rkwright avatar Sep 23 '16 16:09 rkwright

Yes there is an access denied error even though I have added document.domain script as suggested when I looked about this issue on some forums. untitled1

mahag avatar Sep 26 '16 07:09 mahag

I did try few things in order to skip this error. I added correct domain value in my html page and I was able to skip the error at that point of code but I received the same error on another location inside readium JavaScript file as shown in img untitled7 Any ideas?

mahag avatar Sep 27 '16 07:09 mahag