Documentation

Uploading assets

mAuthor offers the possibility of uploading assets used in a single lesson both outside and inside the editor.

To upload assets without opening the editor:

  1. Select the Assets tab on the lesson's details page.
  2. Choose the Select file to upload option and then select a relevant file from your computer. You can upload a single file here or a ZIP archive containing all your necessary assets that will be extracted immediately.
  3. Click the "Open" button.

Note: While uploading an assets package, please remember that the zipped assets cannot be in a folder.

A ZIP file can contain a text file with all names and types of assets. This allows the system to automatically assign the resources to their corresponding names and types so that they can be easily found later in the editor.

Such a file must be named mimetypes.txt, otherwise, it will not work properly. The data format in this file must be as follows:

file_name, mime_type
file_name2, mime_type2

For example:

star.jpg, image/jpeg
reward.mp4, video/mp4
applause.mp3, audio/mpeg

As you can see, each "file_name, mime_type" pair needs to be in a new line.

Note: To upload a new asset, the lesson cannot be opened in the editor.

In the editor, you can import relevant assets directly through the "Properties" menu of the relevant module. For example, in the Image module, go to the "Image" property, click "Choose File", and select the required image stored on your computer.