Multimedia.en - acanas/swad-core GitHub Wiki

English | Español

Include multimedia content

Where?

It is possible to include multimedia content in the following options:

How?

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).
  • 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 the src attribute of the iframe tag. If you copy a URL other than the one in the src attribute of iframe, 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.
⚠️ **GitHub.com Fallback** ⚠️