tunapanda / h5p-standalone

Display H5P content without the need for an H5P server
MIT License
272 stars 117 forks source link

Invalid characters #58

Open jvblackburn opened 3 years ago

jvblackburn commented 3 years ago

I downloaded the chart example from h5p.org: https://h5p.org/chart. When I look at the file on h5p.org on Safari, it renders fine. When I test it the same file using the plugin on safari, I get some errors. The errors are below. I also notice that the imported scripts in the iframe are different using the plugin than what h5p.org uses to render the same .h5p file.

[Error] SyntaxError: Invalid character '\u20ac' (anonymous function) (d3.js:1225) [Error] ReferenceError: Can't find variable: d3 PieChart (pie.js:15) (anonymous function) (chart.js:109) (anonymous function) (frame.bundle.js:3:111288) (anonymous function) (frame.bundle.js:3:101971) each (frame.bundle.js:3:5478) each (frame.bundle.js:3:2260) (anonymous function) (frame.bundle.js:3:101012) (anonymous function) (frame.bundle.js:3:130448) u (frame.bundle.js:3:7900) fireWith (frame.bundle.js:3:8695) ready (frame.bundle.js:3:3522) O (frame.bundle.js:3:781)

0xMurage commented 2 years ago

Hi @jvblackburn, did you find the root of your problem?

jvblackburn commented 2 years ago

No, I haven’t worked on this since I sent the message.

From: Murage @.> Date: Thursday, May 26, 2022 at 1:26 PM To: tunapanda/h5p-standalone @.> Cc: Jerry Blackburn @.>, Mention @.> Subject: Re: [tunapanda/h5p-standalone] Invalid characters (#58)

Hi @jvblackburnhttps://github.com/jvblackburn, did you find the root of your problem?

— Reply to this email directly, view it on GitHubhttps://github.com/tunapanda/h5p-standalone/issues/58#issuecomment-1138932265, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACTZSEKCB6BOZ5B4SPXAF6TVL7F7LANCNFSM4WNABANQ. You are receiving this because you were mentioned.Message ID: @.***>

This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.

This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.