Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-938 SCORM player
  3. MOBILE-1303

Support the API runtime (online mode only)

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.8
    • 2.8
    • SCORM add-on
    • Hide
      • This is a simple initial request of peer-review, we need to do an initial integration so we can start using the API from the player.

      This issue won't be closed until everything is working so more peer-review requests are expected.

      How to integrate the player with the API:

      The $mmaModScormDataModel12 service exports two methods,

      1. initAPI (scorm, scoId, attempt, userData) - This expose the API via the window object, it should be called when the first SCO is loaded. We must be carefull and remove the API from the window object when we live the SCORM package (userData is the result of calling get_scorm_user_data)
      2. loadSco (scoId) - This should be called when a new SCO is loaded in the app (sco or asset). Note that the mmaModScormEventLaunchNextSco and mmaModScormEventLaunchPrevSco event handlers should call this method with the new scoId. If the sco is an asset, we must call the saveTracks function with this parameters (cmi.core.lesson_status => completed)
      Show
      This is a simple initial request of peer-review, we need to do an initial integration so we can start using the API from the player. This issue won't be closed until everything is working so more peer-review requests are expected. How to integrate the player with the API: The $mmaModScormDataModel12 service exports two methods, initAPI (scorm, scoId, attempt, userData) - This expose the API via the window object, it should be called when the first SCO is loaded. We must be carefull and remove the API from the window object when we live the SCORM package (userData is the result of calling get_scorm_user_data) loadSco (scoId) - This should be called when a new SCO is loaded in the app (sco or asset). Note that the mmaModScormEventLaunchNextSco and mmaModScormEventLaunchPrevSco event handlers should call this method with the new scoId. If the sco is an asset, we must call the saveTracks function with this parameters (cmi.core.lesson_status => completed)
    • MOODLE_28_STABLE
    • MOODLE_28_STABLE

      Implement the basic run-time with the communication bridge to support the read/write operations.

      Note, data initially won't be stored, it will be stored directly in the server via Web Services (online mode, the user must be connected)

      For offline, see following issues

            jleyva Juan Leyva
            jleyva Juan Leyva
            Juan Leyva Juan Leyva
            Juan Leyva Juan Leyva
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.