Scripts are not loading
Hi!
Our company installed H5P-plugin to our wordpress site. We are using multisite, and are trying to use plugin in main blog.
When I go to Add new -page, hub doesn't load, and page gets stuck, picture as attachment.
On console, there are lots of errors about loading css- and js-scripts. Here is one:
h5peditor-editor.js?ver=1.15.0:49 GET https://wp-content/plugins/h5p/h5p-editor-php-library/scripts/h5peditor-... net::ERR_NAME_NOT_RESOLVED
So it seems script urls are missing domains.
I tried to turn hub off and add content without it. I was able to do it, but when I added it to page and try to view it, same thing happens, when page tries to load iframe-content, scripts won't load. Here is example what it says on iframe's head-element:
<link rel="stylesheet" href="//wp-content/plugins/h5p/h5p-php-library/styles/h5p.css?ver=1.15.0">
Anyone got idea, what could be causing this?
rharlow
Fri, 02/19/2021 - 19:39
Permalink
Same Issue
ie
http://wp-content/uploads/h5p/libraries/H5PEditor.TableList-1.0/h5p-edit...
load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.6.1:5 JQMIGRATE: Migrate is installed, version 3.3.2
jquery.js?ver=1.15.0:2 Allow attribute will take precedence over 'allowfullscreen'.
attr @ jquery.js?ver=1.15.0:2
h5p-editor-table-list.css:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED
h5p-editor-range-list.css:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED
h5p-editor-table-list.js:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED
h5p-editor-range-list.js:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED
presave.js:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED
h5peditor.js?ver=1.15.0:124 Error while loading script Event
(anonymous) @ h5peditor.js?ver=1.15.0:124
h5peditor.js?ver=1.15.0:124 Error while loading script Event
(anonymous) @ h5peditor.js?ver=1.15.0:124
h5peditor.js?ver=1.15.0:124 Error while loading script Event
(anonymous) @ h5peditor.js?ver=1.15.0:124