Launch externally Tin Can API activities from Moodle and track on any LRS. Compatible with Storyline, Captivate and others!

Launch externally Tin Can API activities from Moodle and track on any LRS. Compatible with Storyline, Captivate and others!

by Andrew Downes -
Number of replies: 14
Hi all,
I've just completed a Moodle plug in that lets you launch Tin Can activities from a Moodle course and then track them with any LRS. You don't need to upload the activities to Moodle - just host them anywhere on the internet. This is compatible with activities implementing the Rustici launch method as described here: https://github.com/RusticiSoftware/launch/blob/master/lms_lrs.md This includes Articulate Storyline and Adobe Captivate content. 
 
Get the code and give it a go here: https://github.com/garemoko/MoodleLaunch
 
or here:
 
I'll be writing up the documentation including installation instructions over the coming weeks. This is the first iteration of the product, so suggestions, bug reports, code reviews and contributions are very welcome! Watch this space for more Tin Can related Moodle plugins in future. 
 
Andrew

 

Average of ratings: Useful (5)
In reply to Andrew Downes

Re: Launch externally Tin Can API activities from Moodle and track on any LRS. Compatible with Storyline, Captivate and others!

by Dan Marsden -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Plugins guardians Picture of Testers Picture of Translators

Thanks heaps for working on this and for sharing! - I'd initially preferred this method over adding Tin can functionality to the existing SCORM code so it's nice to see someone else picking this up and getting started on it - I'm still hoping to spend some time on it myself but haven't managed to find the time yet!

In reply to Andrew Downes

Re: Launch externally Tin Can API activities from Moodle and track on any LRS. Compatible with Storyline, Captivate and others!

by yuki yuki -
I cannot find the file
In reply to yuki yuki

Re: Launch externally Tin Can API activities from Moodle and track on any LRS. Compatible with Storyline, Captivate and others!

by Andrew Downes -

Hi all,

Sorry for the slowness of reply. I didn't get notifications from this forum; there do seem to be a lot of different forums for different things in the Moodle community and I've getting a little lost.

The code is at https://github.com/garemoko/moodle-mod_tincanlaunch and you can download the zip from https://github.com/garemoko/moodle-mod_tincanlaunch/archive/master.zip

Hopefully the plug in should be approved soon - there were some technicalities with how I'd filled out the plug in submission form that I had to address, and going on holiday in the middle of that didn't help!

Please feel free to email me mrdownes@hotmail.com if you have any issues with the plugin and I'll see what I can do to help. Please also do raise issues on the Github; pull requests are also most welcome. 

Andrew

In reply to Andrew Downes

Re: Launch externally Tin Can API activities from Moodle and track on any LRS. Compatible with Storyline, Captivate and others!

by Andrew Downes -

Hi all,

I've made some changes in my development version and created a Pull Request to master here:

https://github.com/garemoko/moodle-mod_tincanlaunch/pull/3

The development version in full is here:

https://github.com/garemoko/moodle-mod_tincanlaunch/tree/development

If anybody has time to either test the plugin or review the code, I'd really appreciate it. Please log any issues on the Github rather than here. If you don't have Github and don't wan't to register (it's free!) then email mrdownes@hotmail.com instead. 

In particular I don't think the update code works. Anybody have experience in this area? 

Thanks,

Andrew

In reply to Andrew Downes

Re: Launch externally Tin Can API activities from Moodle and track on any LRS. Compatible with Storyline, Captivate and others!

by Quentin Paillard -

hello Andrew,

Thank you for your hard work and putting the plug in together. 

I'm a beginner in moodle and I'm a little lost. 

I installed your plug in using ftp. I published my course from storyline using Tin can api option. 

What should I do next? 

Could I hire you to help me set up my course ? 

Best, 

Quentin 

 

In reply to Quentin Paillard

Re: Launch externally Tin Can API activities from Moodle and track on any LRS. Compatible with Storyline, Captivate and others!

by Andrew Downes -

Hi Quentin,

Sorry I didn't see your message. I unsubscribed from this forum because otherwise I get a million emails a day. Sadly it's not possible to subscribe only to one thread. 

There's installation instructions here: https://github.com/garemoko/moodle-mod_tincanlaunch 

If you're struggling, I'm happy to answer more specific questions to my personal e-mail account mrdownes@hotmail.com

If you do want to hire me to set up your course (or do any otehr Moodle work), you can't hire me directly, but you can contract the company I work for to do some work for you. Mail my work email andrew.downes@epiclearninggroup.com and I'll put you in touch with the sales guys. It might or might not be me personally who does the work. 

Andrew

In reply to Andrew Downes

Re: Launch externally Tin Can API activities from Moodle and track on any LRS. Compatible with Storyline, Captivate and others!

by Paul Raper -

Dear Andrew,

Have had all sorts of problems with the plug in. I get the following error messages from both Wax and Scorm Cloud.

The tech guys at both don't seem to know what causes these.

Any thoughts,

Regards,

Paul

Attachment LRS Error 2.PNG
Attachment LRS Error 3$.PNG
Attachment LRS Error.PNG
In reply to Paul Raper

Re: Launch externally Tin Can API activities from Moodle and track on any LRS. Compatible with Storyline, Captivate and others!

by Andrew Downes -
Hi Paul, Sorry to hear you are having trouble. Please send me full screen shots of the pages you shared cropped screenshot of and of your plugin settings. Please also copy and paste the full url of the launched course. Andrew
In reply to Paul Raper

Re: Launch externally Tin Can API activities from Moodle and track on any LRS. Compatible with Storyline, Captivate and others!

by Andrew Downes -
Hi Paul, Sorry to hear you are having trouble. Please send me full screen shots of the pages you shared cropped screenshot of and of your plugin settings. Please also copy and paste the full url of the launched course. Andrew
In reply to Andrew Downes

Re: Launch externally Tin Can API activities from Moodle and track on any LRS. Compatible with Storyline, Captivate and others!

by Abhi puri -

HI Andrew / Paul, I seem to be getting the same errors, I launched the dev tools in firefox and see waxlrs is reporting  bad http request - error 400 when the data is posted to them.


  1. Remote Address:
    54.83.199.141:443
  2. Request URL:
  3. Request Method:
    POST
  4. Status Code:
    400 Bad Request
  5. Request Headersview source
    1. Accept:
      */*
    2. Accept-Encoding:
      gzip,deflate
    3. Accept-Language:
      en-US,en;q=0.8,es;q=0.6
    4. Cache-Control:
      no-cache
    5. Connection:
      keep-alive
    6. Content-Length:
      372
    7. Content-Type:
      application/json
    8. Host:
      egmatlrs.waxlrs.com
    9. Origin:
    10. Pragma:
      no-cache
    11. Referer:
    12. User-Agent:
      Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36
  6. Query String Parametersview sourceview URL encoded
    1. method:
      GET
  7. Request Payload
    1. X%2DExperience%2DAPI%2DVersion=1%2E0%2E0&stateId=resume&activityId=http%3A%2F%2F5bQpUBddyA5%5Fcourse%5Fid&Authorization=Basic%20S2RITDFiaHFHZ1gwdExVTnNPa1g6a1JaeWlSR2o2bWNLRnZJMTZHN1o%3D&agent=%7B%22name%22%3A%22Admin%2BUser%22%2C%22objectType%22%3A%22Agent%22%2C%22mbox%22%3A%22mailto%3Awebmaster%40e%2Dgmat%2Ecom%22%7D&Content%2DType=application%2Fjson&version=1%2E0%2E0
  8. Response Headersview source
    1. Access-Control-Allow-Credentials:
      true
    2. Access-Control-Allow-Headers:
      X-Experience-API-Version,Content-Type,Content-Length,Authorization,If-Match,If-None-Match
    3. Access-Control-Allow-Methods:
      HEAD,GET,POST,PUT,DELETE
    4. access-control-allow-origin:
    5. Access-Control-Expose-Headers:
      X-Experience-API-Version,ETag,Last-Modified,Cache-Control,Content-Type,Content-Length,WWW-Authenticate
    6. Connection:
      keep-alive
    7. Content-Length:
      253
    8. Content-Type:
      text/html; charset=UTF-8
    9. Date:
      Sat, 20 Sep 2014 23:41:56 GMT
    10. gunicorn/18.0
    11. x-experience-api-consistent-through:
      2014-09-20T23:36:56.394431Z
    12. X-Experience-API-Version:
      1.0.0
In reply to Abhi puri

Re: Launch externally Tin Can API activities from Moodle and track on any LRS. Compatible with Storyline, Captivate and others!

by Andrew Downes -

Hi Abhi,

Thanks for posting that. Two things I can see from that:

1. The version of the launcher you're using seems to be passing a version parameter. That's known to cause problems with wax and I thought I had removed it from the latest code, but it looks like I didn't. Its gone now on GitHub. It'll certainly be fixed in the next release too, which will be a big step forward from what's on GitHub.

2. It looks like you're using Articlulate Storyline 2? Or maybe some other Articulate product? See this thread on how to modify your package for the best tracking: http://community.articulate.com/forums/t/56219.aspx 

Hope that helps. Feel free to raise an issue on GitHub in future for better e-mail notifications and a faster response; this forum's single subscription is pretty noisy.

Andrew

In reply to Andrew Downes

Re: Launch externally Tin Can API activities from Moodle and track on any LRS. Compatible with Storyline, Captivate and others!

by Andrew Downes -

Also note: this is not the same issue as Paul - he was getting 401 errors which suggests something was wrong with his configuration.

In reply to Andrew Downes

Re: Launch externally Tin Can API activities from Moodle and track on any LRS. Compatible with Storyline, Captivate and others!

by Abhi puri -

Thanks for taking a look Andrew. I will go over the things you mentioned.