Object Processing in the Module

  • If necessary, module-specific actions, such as the conversion of a video or processing of Moodle-courses or the creation of thumbnails will be carried out.
    • Audio Audio files are converted to mp3 files to ensure that the resource can be reproduced on any device, regardless of the installed plugins and programs. The audio file will be played in a HTML5 audio player.
    • Video Video files are converted into the webm- as well as in the mp4 format. Since the conversion process depends on the server performance, the conversion process is performed asynchronously. To do so an entry will be created in the table "_ESOBJECT_CONVERSION" for the object which is to be converted. Using exec () a conversion script is called, which "has a look" in the table what videos are in the processing list. It then processes these objects one by one. During this time, the user is informed about the status of the conversion by means of a progress bar. The playback is carried out in a HTML5 video player.
    • Moodle/Scorm because we provided the rendering service with a Moodle instance, it is possible for edu-sharing to display Moodle and SCORM courses managed in the edu-sharing repository. To do so the rendering service dynamically creates moodle-courses and users, so that the user can view the courses.
    • Picture Graphics are converted and scaled so that they can be viewed in any browser. A magnifying glass function allows you to view it in original resolution.
    • QTI QTI tests can be displayed in an external player which is called by the rendering service with the appropriate parameters.
  • Request of the corresponding viewFor each module there are several views which are instanced according to the request of the external application.
    • DISPLAY_MODE_DOWNLOAD: Resource is offered as a download.
    • DISPLAY_MODE_INLINE: rendering in a WYSIWYG field of an LMS with the title of the object and its license
    • DISPLAY_MODE_WINDOW: rendering in a separate window e.g. as a preview in the repository or as a linked resource in an LMS course
    • DISPLAY_MODE_LOCKED: rendering during the conversion process (progress bar)