Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-4103

Update module for Adobe Connect 9 (API change for recordings)

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 2.2.4
    • Module: Adobeconnect
    • None
    • MOODLE_22_STABLE

      Issue
      ---------------------------------------------------------------------------------
      No recordings are being displayed in the module for Adobe Connect version 9. There has been an API change.

      The current code looks for a recording length to validate that the object being returned is actually a recording. => See https://github.com/number33/moodle-mod_adobeconnect/blob/MOODLE_20_STABLE/locallib.php#L624

      • In Adobe Connect 8, that information was returned as an XML element of its own
      • In Adobe Connect 9, that information is returned as an attribute of an existing element ('sco')

      Sample AC v8:
      ~~~~~~~~~~~~~~~
      <?xml version="1.0" encoding="utf-8"?>
      <results>
      <status code="ok"/>
      <scos>
      <sco sco-id="123456" source-sco-id="" folder-id="234567"
      type="content" icon="archive" display-seq="0" is-folder="0">
      <name>recording test_0</name>
      <url-path>/pxxxxxx/</url-path>
      <date-begin>2012-12-18T09:56:14.913+11:00</date-begin>
      <date-end>2012-12-18T09:56:17.713+11:00</date-end>
      <date-created>2012-12-18T09:56:14.913+11:00</date-created>
      <date-modified>2012-12-18T09:56:18.453+11:00</date-modified>
      <duration>00:00:02.800</duration>
      </sco>
      </scos>
      </results>

      Sample AC v9:
      ~~~~~~~~~~~~~~~
      <?xml version="1.0" encoding="utf-8"?>
      <results>
      <status code="ok"/>
      <scos>
      <sco sco-id="123456" source-sco-id="" folder-id="234567"
      type="content" icon="archive" display-seq="0" duration="3" is-folder="0">
      <name>recording test_0</name>
      <url-path>/pxxxxxx/</url-path>
      <date-begin>2012-12-18T09:56:14.913+11:00</date-begin>
      <date-end>2012-12-18T09:56:17.713+11:00</date-end>
      <date-created>2012-12-18T09:56:14.913+11:00</date-created>
      <date-modified>2012-12-18T09:56:18.453+11:00</date-modified>
      </sco>
      </scos>
      </results>

      Resolution
      ---------------------------------------------------------------------------------
      Allow for both AC8 and AC9 formats.

        1. CONTRIB-4103-update-ac9_20_STABLE.patch
          2 kB
        2. adobe_moodle01.png
          adobe_moodle01.png
          15 kB
        3. adobe_moodle02.png
          adobe_moodle02.png
          35 kB
        4. locallib.php
          50 kB

            adelamarre Akin (Inactive)
            jedmondson Jennifer Edmondson
            Votes:
            2 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:

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