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

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

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.2.4
    • Fix Version/s: None
    • Component/s: Module: Adobeconnect
    • Labels:
      None
    • Affected Branches:
      MOODLE_22_STABLE

      Description

      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.

        Attachments

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

          Activity

            People

            • Votes:
              2 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated: