Embedded PDF not embedded in HTML export

Bug #1397628 reported by Kristina Hoeppner
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Mahara
Medium
Unassigned

Bug Description

https://mahara.org/interaction/forum/topic.php?id=6580

When you embed a PDF using the PDF block and export your page as HTML export, the PDF is exported, but it is not displayed on the resulting HTML page like it is in the normal portfolio page.

You can still access it via its details page.

Revision history for this message
Sam Taylor (samwisefox) wrote :

Where having the same issue and it could become quite a turn off for some of our academics - potentially affecting 200 student portfolios.

Revision history for this message
Sam Taylor (samwisefox) wrote :

*We're*

Revision history for this message
Sam Taylor (samwisefox) wrote :

Screen shot of PDF issue at Solent

Revision history for this message
Aaron Wells (u-aaronw) wrote :

It's clear what the problem is. We display PDF's inline using the PDF.js library ( http://mozilla.github.io/pdf.js/ ). When we export to HTML, we don't include that library as part of the export.

So what we'd need to do, to fix this, is include a copy of PDF.js with the HTML export, and wire up the HTML to use it properly.

tags: added: pdf
Revision history for this message
Sam Taylor (samwisefox) wrote :

Fantastic! At least it can be fixed :)

Aaron Wells (u-aaronw)
tags: added: html
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related blueprints

Bug attachments