# [Xerte] Re: HTML 5 output broken

Andy Turner Andy.Turner at uwl.ac.uk
Wed Sep 10 13:29:08 BST 2014

Ron

Our IT guys have changed the 3 files as you suggest. However the problem persists, and when I browse to https://xerte.uwl.ac.uk/modules/xerte/player_html5/rloObject.htm and look at the source code it still shows

https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-MML-AM_HTMLorMML-full

in the script.

Do they need to change additional files, or maybe just restart the server?

Many thanks

Andy Turner

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 05 September 2014 17:16
To: 'Xerte discussion list'
Subject: [Xerte] Re: HTML 5 output broken

This is a know issue that recently occurred due to a change on the external cdn used as part of the mathjax functionality. The xertetoolkits developer code has already been fixed and we've been discussing how best to share a fix for those who just want to fix this issue and don't want to apply a full upgrade.

the files that need fixing are as follows:
\modules\site\play.php
\modules\site\preview.php
\modules\xerte\player_html5\rloObject.htm

The change needed is to change
<script type="text/javascript" src=" https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=AM_HTMLorMML-full"></script<https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=AM_HTMLorMML-full%22%3e%3c/script>>

to

<script type="text/javascript" src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>

This has already been fixed in the xerte code repository (by Tom Reijnders) but obviously requires someone to apply those changes to your install.

HTH
Ron

From: xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk> [mailto:xerte-bounces at lists.nottingham.ac.uk]<mailto:[mailto:xerte-bounces at lists.nottingham.ac.uk]> On Behalf Of Catherall, Paul
Sent: 05 September 2014 16:35
To: xerte at lists.nottingham.ac.uk<mailto:xerte at lists.nottingham.ac.uk>
Subject: [Xerte] HTML 5 output broken

Hi

Our Xerte installation here at UoL appears to be experiencing something odd, the old Flash version of published content is working fine but both the preview and published version of objects in HTML 5 has lost its menu/ navigation buttons, so all we can see is the content in the middle of the 1st item in the object. I'm wondering if there is some issue with recent browser upgrades or more likely our installation has developed a fault somehow in the database... Just wondering if anyone has seen this happen?

Paul

[cid:image001.jpg at 01CFCCFB.336505F0]

--
Scanned by iCritical.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20140910/ced73ef4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 21583 bytes
Desc: image001.jpg
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20140910/ced73ef4/attachment-0001.jpg>