justinhunt / moodle-filter_videoeasy

A customizable filter for adding HTML5 Video Player support to Moodle
5 stars 1 forks source link

jwplayer don't load #3

Open zepro75 opened 8 years ago

zepro75 commented 8 years ago

Hi Justin, I use Moodle 2.8.11 with Videoeasy 1.1.4 and jwplayer. Everything work fine. I upgrade to Moodle 2.9.5 (with 3.0.3, it's same problem), change nothing (stay with videoeasy 1.1.4), my video dont appear, because jwplayer not defined. I upgrade to 1.1.6, keep same settings and jwplayer not defined. If I load jwplayer.js in the head of moodle page ( administration > presentation > optional HTML) my video play well… I thing you have a problem with the loader of jwplayer in videoeasy plugin.

Best regards, Pascal

justinhunt commented 8 years ago

Thanks for the report, Pascal.

There were some changes made when AMD came into Moodle. The default settings for AMD for some of the templates may not be right. But I thought it was ok in this case. On my test server running Moodle 3.0.2+ and VideoEasy 1.1.6 it is running JW Player correctly.

Can I ask you to try a few things, and report back if you have the time? I attached the JW Player bundle from my working 3.0.2+ site that works there. Can you download it, drag it onto the green "bundle" box on a new or existing VideoEasy template settings page, and save the template?

You will need to change the jw player js script URL to one that includes your own personal key. Does this work? If not, are there are any relevant looking errors in the browser console?

JW Player.txt

zepro75 commented 8 years ago

Hi Justin, I try your bundle. I put my js script URL but doesn’t work. Always the same error : jwplayer not defined.

If I keep my extra Githubissues.

  • Githubissues is a development platform for aggregating issues.