- 21 Jun 2022
- 1 minute to read
Embedding media
- Updated on 21 Jun 2022
- 1 minute to read
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
- Embed media with the Weka editor
- Embed media via a link
- Embed media with the Atto editor
- Available media players
- Configure VideoJS player
- Embed advanced HTML
© Copyright 2023 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.