Embedded PDF not embedded in HTML export

Bug #1397628 reported by Kristina Hoeppner on 2014-11-30
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.

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.

Sam Taylor (samwisefox) wrote :

*We're*

Sam Taylor (samwisefox) wrote :

Screen shot of PDF issue at Solent

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
Sam Taylor (samwisefox) wrote :

Fantastic! At least it can be fixed :)

Aaron Wells (u-aaronw) on 2015-11-30
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