Embedding media
  • 06 Apr 2022
  • 1 minute to read

Embedding media


Article Summary

If you have a media file (such as audio or video) that you want to display in Totara then this can be done by embedding the file. 

You can embed media in a number of places using the different text editors available in Totara. For example, you could add images and videos to Totara Learn courses using labels, or in Totara Engage resources.

Attributes

The width attribute on video elements can contain a percentage (e.g. 100%), which makes it relative to the size of screen. This attribute can also be set in pixels (e.g. 560x315).

If you are familiar with HTML then you can also manually add the data-grow attribute to any tags for the <video> elements to make them display either up to the size of their container or 700px wide (whichever is smaller). 

In new installs the default dimensions for video elements are now 560x315 (16:9 aspect ratio).

Site administration settings

To enable the embedding of media files, an admin must enable the appropriate media players (see below) and the Multimedia plugins filter (unless you only want to allow embedding in File, URL, and Lesson modules). 

A Site Administrator can enable selected media players in Quick-access menu > Plugins > Media players > Manage media players.

Next steps

© Copyright 2024 Totara Learning Solutions. All rights reserved. Some content originally obtained via GPLv3 license and continues to be available under GPLv3. All other content is the sole copyright of Totara Learning Solutions. 

 


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.