Course Presentation Drag N Bar not loading.
I've been working with a Laravel H5P package that includes both H5P core and editor. All working fine, except in the Course Presentation content-type, the Drag-N-Bar doesn't load..
To test the creation vs import; I created a Course Presentation on H5P.org, uploaded via our admin.. it extracted, loads and displays but when editing I have the same issue. The content under "Add Interaction" only loads half the items.
Dug through the code; and couldn't find anything broken, as such.. but perhap the dependencies are not being loaded in the correct order when calling the get library endpoint `ajax/libraries`. This could be related to the Laravel H5P package, an not H5P Editor, but I'm not 100% sure.
Any thoughts on what might be causing the issue ould be greatly appreciated.
Platform: Laravel 5.4
Package: https://packagist.org/packages/chali5124/laravel-h5p
Browsers: All
H5P Core: 1.14
H5P Editor: 1.13
Content Type: H5P.CoursePresentation-1.16
fnoks
Mon, 07/24/2017 - 11:09
Permalink
Hi,I don't know the status of
Hi,
I don't know the status of the Laravel H5P package, have you tried asking the author?
shuggs
Mon, 07/24/2017 - 11:18
Permalink
Indirectly... I've made a few
Indirectly... I've made a few pull-requests on translations within Laravel, nothing too involved yet. There has been no response to emails either.
Are there any requirements on apache/php modules? Sorry if this is already listed on the site somewhere.
fnoks
Wed, 07/26/2017 - 10:59
Permalink
Hi,Maybe this page might help
Hi,
Maybe this page might help you? Especially the part about PHP extensions.
Best,Pålshuggs
Thu, 11/16/2017 - 13:05
Permalink
Resolved
Turns out the package had overwritten the getAjaxUrl() and appended a trailing slash. Which resulted in a redirect to http from https. Root cause to all the issues I was having.
fnoks
Tue, 11/21/2017 - 14:05
Permalink
Good to hear you figured this
Good to hear you figured this one out :) And sorry I couldn't be of more help...
sksingh
Fri, 07/06/2018 - 15:24
Permalink
Unable to integrate with laravel
Kindly explain me how to integrate g5p in laravel and use it
nileshpathade
Mon, 05/27/2019 - 15:14
Permalink
Laravel-h5p is not working for me.
Kindly help me how to integrated h5p in laravel. I am using this package.
https://packagist.org/packages/chali5124/laravel-h5p