Media FAQ

Working with media


Contents


Should I put my video into a label or a page?

While the embedding process is the same, adding a video to a label will mean it displays as soon as the user clicks on that course page. This can be beneficial if the video is, for example, an introduction to the course or an integral part of the whole course. However, if there are several videos in labels, they can slow the loading of the course down, especially if the videos are coming from an external site. Adding a video to a page in Moodle means that the user has to click a text link to reach the video, but it doesn't clutter up the main course page and it is a better choice if the course contains a large number of videos.


My embedded video is too big/small. How can I change its display size?

Changing the size of an embedded video depends on whether you're using Moodle's Multimedia plugins filter or if you're either embedding a video from another source using something like an iframe (for example, embedding a video from YouTube using the embed code they provide).

If you're using Moodle's Multimedia plugins filter:

If you're using embed code

  1. Click the code/HTML source icon in your text editor
  2. Locate the <iframe> tag or equivalent.

  3. Click "update" in the HTML source editor screen, and save your changes.
  4. Your video should now be the new size.


Why won't my swf video play?

The .swf format carries with it some security issues and so the filter that allows it to display is disabled by default. For us to be able to add .swf videos, your administrator needs to enable the filter in Multimedia plugins, then to go to Site Administration>Security>Site policies and check the "enable trusted content" box. They then need to go to Site Administration>Users>Permissions>Define roles and allow Trust Submitted content moodle/site:trustcontent for your role. However; swf will still not display in all areas of Moodle, for example forum posts. See this discussion here


How can I convert my video file to an .FLV or other format?


I have a .wma/wav file. How can I play it in Moodle's player?


Videos don't embed even though the filters are enabled

You might need to change the order of your filters. See Filters and also the forum discussion I can't embed YouTube videos


How can I disable player embedding for one particular link?

If you want to prevent the embedded player and keep just the link to the video, add "nomediaplugin" class to the HTML anchor tag producing the link. For example:

<a href="https://link.to/your/video" class="nomediaplugin">Link text</a>