You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This appears to be incorrect: the iframe should only receive an src attribute containing a relative reference to the provided XHTML content handler (including its query parameters). Right now, the src is an absolute URI using the epub3:// scheme / protocol, that does not resolve to anything:
See original discussion:
https://groups.google.com/d/msg/readium-dev/1RUBYB9jHxU/QgWXkwmq45MJ
Test EPUB:
https://code.google.com/p/epub-samples/downloads/detail?name=widget-figure-gallery-20121022.epub
Code references:
https://github.com/readium/readium-sdk/blob/develop/ePub3/ePub/object_preprocessor.cpp
https://github.com/readium/readium-sdk/blob/develop/ePub3/ePub/content_handler.h
The epub3:// URI scheme comes from here:
https://github.com/readium/readium-sdk/blob/develop/ePub3/utilities/iri.cpp#L34
...and set to the iframe here:
https://github.com/readium/readium-sdk/blob/develop/ePub3/ePub/object_preprocessor.cpp#L160
This appears to be incorrect: the iframe should only receive an
src
attribute containing a relative reference to the provided XHTML content handler (including its query parameters). Right now, thesrc
is an absolute URI using theepub3://
scheme / protocol, that does not resolve to anything:The text was updated successfully, but these errors were encountered: