Report any technical problems you discover and discuss solutions.

XOT objects not displaying in Safari

  • david.perkins
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 11 months ago #2173 by david.perkins
XOT objects not displaying in Safari was created by david.perkins
We have just noticed that Xerte objects we have created no longer display in Safari. The Xerte frame sometimes appears momentarily and then goes blank. If the title page has a background image, only this is shown. This happens with both embedded (iframe) Xerte objects or using the hyperlink. Xerte Bootstrap objects seem to be displaying fine, however.
Has anyone else noticed any similar problem with Safari recently?

Interestingly, some examples from other institutions don't work either:
xerte.lncd.lincoln.ac.uk/play.php?template_id=1957
www.nottingham.ac.uk/~cczjrt/sheppard/

While others do:
xerteonline.uws.ac.uk/play.php?template_id=267
194.7.157.205/moodle/xertetoolkits/play.php?template_id=12507

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #2230 by vaughany
Replied by vaughany on topic XOT objects not displaying in Safari
Hi David. I'm not so sure that this problem is limited to Safari: we're seeing the same issue in Chrome (our default browser) also.

Using Chrome's Developer Tools I can see there are problems with each page which fails: your first two links have a 'file not found' (404) error for a file as well as a JavaScript error, but I don't know if this is enough to cause the errors or if they're not critical.

The second two links also have file not found errors, but obviously they aren't critical as the pages still load.

Digging further, the file that 404's is the following:

c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js

...which is the MathJax.js file, and the CDN (content delivery network) which Xerte uses is down, or the file has moved, or something.

MathJax.js is found in the following places in XOT:

modules/site/preview.php
modules/site/play.php
modules/xerte/player_html5/rloObject.htm

Open each file in a text editor, and replace this:

c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js

...with this:

c328740.r40.cf1.rackcdn.com/mathjax/latest/MathJax.js

This works for us: your mileage may vary! I hope this is of use to you.

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #2231 by vaughany
Replied by vaughany on topic XOT objects not displaying in Safari
Digging even further still, I can see there's been a 2.1 release of XOT with different URLs for the MathJax files than in the 2.0 version we are using. It pays to keep on top of updates, I suppose...

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago - 11 years 10 months ago #2232 by tom
Replied by tom on topic XOT objects not displaying in Safari
MathJax changed their cdnpartner, and in the process provided a better url for SSL (https) access.

The files you mentioned are correct, but the better url would be:
Code:
//cdn.mathjax.org/mathjax/latest/MathJax.js
Last edit: 11 years 10 months ago by tom. Reason: type
The following user(s) said Thank You: vaughany

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #2233 by ronm
Replied by ronm on topic XOT objects not displaying in Safari
Looks like this got posted and discussed in two different areas - David already confirmed that the fix worked for his install:
www.xerte.org.uk/index.php?option=com_ku...mid=207&lang=en#2172

Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/
The following user(s) said Thank You: vaughany

Please Log in or Create an account to join the conversation.

Moderators: ronmjultenJohnSmith
Time to create page: 0.140 seconds
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo