H5P content not showing
The issue is only happening with my clients, the h5p content is not showing for them on Wordpress 6.5.2 website on any device and any browser and I'm using H5P 1.15.7, however the issue appeared even with older version, also I've tried the direct h5p embed code, still same issue.
There's no specific content type, it's happening on all types and it's so random, sometimes it's solved by its own, sometimes I go to the edit page of the content and click preview, that's work too. The issue is so random, I couldn't match the cases, there's nothing in common between them.
I couldn't replicate the issue, and I can't ask my clients to show me the console errors, what should I do?
FYI, I've a redis server setup, plus I'm using cloudflare cache, could that be the issue?
Kinan
Wed, 06/12/2024 - 12:26
Permalink
I've asked a client to show
I've asked a client to show the console errors, and this is the errors showing on the client console:19Third-party cookie will be blocked. Learn more in the Issues tab.
custom.js:1
Failed to load resource: the server responded with a status of 404 ()
%d9%85%d9%85%d8%a7%d8%b1%d8%b3%d8%a9-%d9%83%d8%aa%d8%a7%d8%a8%d8%a9-%d8%a7%d9%84%d9%85%d8%ad%d9%84/:1 Refused to execute script from 'platform.com/view… because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
video.css:1
Failed to load resource: net::ERR_CONNECTION_RESET
h5p-drag-text.css:1
Failed to load resource: net::ERR_CONNECTION_RESET
questionset.css:1
Failed to load resource: net::ERR_CONNECTION_RESET
h5p-jquery-ui.css:1
Failed to load resource: net::ERR_CONNECTION_RESET
h5p-jquery-ui.js:1
Failed to load resource: net::ERR_CONNECTION_RESET
h5p-drag-text.js:1
Failed to load resource: net::ERR_CONNECTION_RESET
vimeo.js:1
Failed to load resource: net::ERR_CONNECTION_RESET
youtube.js:1
Failed to load resource: net::ERR_CONNECTION_RESET
panopto.js:1
Failed to load resource: net::ERR_CONNECTION_RESET
html5.js:1
Failed to load resource: net::ERR_CONNECTION_RESET
video.js:1
Failed to load resource: net::ERR_CONNECTION_RESET
questionset.js:1
Failed to load resource: net::ERR_CONNECTION_RESET
h5p.js?id=7e6afbf81b6bce0d6038a540d2f9eb24:1 Unable to find constructor for: H5P.QuestionSet 1.20
t.error @ h5p.js?id=7e6afbf81b6bce0d6038a540d2f9eb24:1
jquery.js?id=9a701a3307a4a5ede893729235cdcfb8:2 jQuery.Deferred exception: Cannot read properties of undefined (reading 'on') TypeError: Cannot read properties of undefined (reading 'on')
at t.on (subdomain.h5p.com/j…)
at HTMLDivElement.<anonymous> (subdomain.h5p.com/j…)
at Function.each (subdomain.h5p.com/j…)
at S.fn.init.each (subdomain.h5p.com/j…)
at t.init (subdomain.h5p.com/j…)
at HTMLDocument.<anonymous> (subdomain.h5p.com/j…)
at e (subdomain.h5p.com/j…)
at t (subdomain.h5p.com/j…) undefined
S.Deferred.exceptionHook @ jquery.js?id=9a701a3307a4a5ede893729235cdcfb8:2
jquery.js?id=9a701a3307a4a5ede893729235cdcfb8:2 Uncaught TypeError: Cannot read properties of undefined (reading 'on')
at t.on (h5p.js?id=7e6afbf81b6bce0d6038a540d2f9eb24:1:38068)
at HTMLDivElement.<anonymous> (h5p.js?id=7e6afbf81b6bce0d6038a540d2f9eb24:1:8866)
at Function.each (jquery.js?id=9a701a3307a4a5ede893729235cdcfb8:2:2976)
at S.fn.init.each (jquery.js?id=9a701a3307a4a5ede893729235cdcfb8:2:1454)
at t.init (h5p.js?id=7e6afbf81b6bce0d6038a540d2f9eb24:1:6909)
at HTMLDocument.<anonymous> (h5p.js?id=7e6afbf81b6bce0d6038a540d2f9eb24:1:44867)
at e (jquery.js?id=9a701a3307a4a5ede893729235cdcfb8:2:30005)
at t (jquery.js?id=9a701a3307a4a5ede893729235cdcfb8:2:30307)
%d9%85%d9%85%d8%a7%d8%b1%d8%b3%d8%a9-%d9%83%d8%aa%d8%a7%d8%a8%d8%a9-%d8%a7%d9%84%d9%85%d8%ad%d9%84/:1 The keyword 'searchfield-cancel-button' used on the 'appearance' property was deprecated and has now been removed. It will no longer have any effect.