Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image in the spine (automatically wrapped in HTML by web view) fails to load #379

Open
danielweck opened this issue Feb 28, 2017 · 1 comment

Comments

@danielweck
Copy link
Member

danielweck commented Feb 28, 2017

https://readium.firebaseapp.com/?epub=https%3A%2F%2Fcdn.rawgit.com%2Freadium%2Freadium-test-files%2Fmaster%2Ffunctional%2Fsmoke-tests%2FSmokeTestFXL&goto=%7B%22idref%22%3A%22spine-images-001%22%2C%22elementCfi%22%3A%22%2F4%2F2%2F2%2C%2F1%3A0%2C%2F1%3A1%22%7D

Step 1: force single page display
Step 2: go to next page (tiger should render with infinite loader)
Step 3: go to next page (orange cat should render with infinite loader)
Step 4: go to next page (blank page with infinite loader)
Step 5: open console, see:

TypeError: Type error
parseFromString — markup_parser.js:27
parseMarkup — markup_parser.js:27
resolveInternalPackageResources — content_document_fetcher.js:47
(anonymous function) — content_document_fetcher.js:40
success — plain_resource_fetcher.js:89
@danielweck danielweck changed the title Image in the spine, automatically wrapped in HTML by web view Image in the spine (automatically wrapped in HTML by web view) fails to load Feb 28, 2017
@danielweck
Copy link
Member Author

Chrome says:
Failed to execute 'parseFromString' on 'DOMParser': The provided value 'image/jpeg' is not a valid enum value of type SupportedType.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants