Multimedia.en - acanas/swad-core GitHub Wiki
It is possible to include multimedia content in the following options:
- START > Timeline, both in the posts and in the comments.
- EVALUATION > Test > Write question, both in the stem and in each of the single or multiple choice answers.
- MESSAGES > Forums > New discussion and MESSAGES > Forums > New comment
- MESSAGES > Write new message
To include multimedia content you can click on one of the three icons shown, depending on the type of content:
-
Upload an image or video file (click the multimedia file icon, on the left) that you have previously stored in your computer or device. When you click on the icon, a form with three fields appears:
- File selector. By clicking on it you can select a file from your computer or device. The file can be:
- A JPG, PNG, static GIF, or TIF image, with no size limit. The platform will convert the image to JPG format and reduce its size if necessary.
- An animated GIF image that does not exceed a certain size in bytes.
- An MP4, OGG or WEBM video that does not exceed a certain size in bytes.
- Link (optional).
- Title or attribution of the image (optional).
- File selector. By clicking on it you can select a file from your computer or device. The file can be:
-
Embed a YouTube video (click the YouTube icon, in the center). When you click on the icon, a form with one field appears:
- Link to YouTube video. The platform processes this link to find the code associated with the video and use it to create an embedded video link.
-
Embed other multimedia content from an external website (click the HTML code icon, on the right). You can embed multimedia content such as videos, images, presentations, maps, etc. from different websites that offer links of the
<iframe>
type, such as YouTube, Vimeo, Slideshare, Google Maps, etc. When you click on the icon, a form with one field appears:- Link to the multimedia content to be embedded. The original website may have a Share or Embed button or link that will offer you an HTML code of the type
<iframe src="URL" ...></iframe>
. The link that you have to copy into the form is the URL (web address) that appears in thesrc
attribute of theiframe
tag. If you copy a URL other than the one in thesrc
attribute ofiframe
, or if you copy all the HTML code<iframe src="URL" ...></iframe>
, or if the original web does not provide a<iframe>
-type code, the content will not be displayed correctly.
- Link to the multimedia content to be embedded. The original website may have a Share or Embed button or link that will offer you an HTML code of the type