Uploading presentations - matbury/mod_revealjs GitHub Wiki

Presentations should be uploaded to the Moodle File System repository via FTP/SFTP. You will need FTP access to /moodledata/repository/revealjs/_revealjs_.

If the /revealjs/_revealjs_ directories are not present in moodledata after installing the Presentation module in Moodle, this means that the install script failed to move the /revealjs directory and its contents from /mod/revealjs/revealjs to the /moodledata/repository/revealjs directory. You will have to do this manually.

It is not necessary to enable the File System repository in Moodle admin.

The default directory structure is as follows:

  • /moodledata/repository/revealjs/_revealjs_/

The directory structure of presentations should be:

  • /moodledata/repository/revealjs/_revealjs_/[yournamespace]/[presentation_name]/presentation.html

E.g. /moodledata/repository/revealjs/_revealjs_/johnsmith/quantum_entanglement_simplified/presentation.html

Any media should be stored in subdirectories, e.g.:

  • /moodledata/repository/revealjs/_revealjs_/[yournamespace]/[presentation_name]/img/myimage.jpg
  • /moodledata/repository/revealjs/_revealjs_/[yournamespace]/[presentation_name]/audio/myaudio.mp3
  • /moodledata/repository/revealjs/_revealjs_/[yournamespace]/[presentation_name]/video/myvideo.ogg
  • /moodledata/repository/revealjs/_revealjs_/[yournamespace]/[presentation_name]/animation/myanimation.svg

Links to media files in the presentation.html file should be:

  • src="_revealjs_/[yournamespace]/[presentation_name]/img/myimage.jpg"

The _revealjs_/ part will automatically be replaced by the correct URL to the media file when the presentation is played.

E.g. http://yourmoodle/mod/revealjs/content.php/_revealjs_/johnsmith/quantum_entanglement_simplified/img/myimage.jpg

It is recommended that you use a localhost installation of Moodle on your computer to author, develop, test, and view presentations. Moodle installer packages are available at: