EscolaLMS / Front

React SPA Front Demo to show headless implementation
6 stars 4 forks source link

No way to launch Scorm file? #497

Open cyberamar opened 1 month ago

cyberamar commented 1 month ago

Hi, as per the docs, it should be possible to create a course and then directly link a scorm file to it. However in the front end there is no place to "start" the course? How can a user take the scorm course?

qunabu commented 1 month ago

There is a scorm player https://github.com/EscolaLMS/Front/blob/9d54fd456705372476c5c119ade5befacca9e0b4/src/components/Courses/Course/Players/ScormPlayer.tsx#L55

not sure if it's implemented in this demo since we're not focusing on SCORM as it's not headless by design

yet, it's totally possible to

  1. upload a SCORM package with LMS Admin panel
  2. play/render whole package
  3. create and element of course and point to selected scorm SCO

Also I've been playing with using SCORM without server side components - my proof of concept is here https://github.com/qunabu/SCORM-Serverless demo https://qunabu.github.io/SCORM-Serverless/

qunabu commented 1 month ago

https://docs.wellms.io/packages/scorm.html#how-to-use-this-on-frontend