Multimedia plugins FAQ: Difference between revisions

From MoodleDocs
page update
 
(8 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Filters}}
{{Filters}}
==What is the best way of Embedding media in Moodle?==
==What is the best way of embedding media in Moodle?==


"Best" depends on your goal. There are ways which are simpler, involving fewer steps, but it depends on how you wish your video to appear.
See [[Video]] and [[Audio]].


1) Use the Media button on the Atto editor to add the URL to a external video file such as on Youtube or Vimeo or any other accessible source.  
== The video player is not appearing for me. I only see a link or embed code text.==


You can do this for any resource or activity that has the editor, eg. Label, Page, etc. The video itself will not show up in the editor, you need to save the editor content first, then the video will display on the course page.
Make sure that the Multimedia plugins filter is on in ''Site administration > Plugins > Filters > Manage filters''.


[[File:attomediainsertion_m30.png|400px|alt="Screenshot of Insert media box in Atto"]]
Note: the order of filters matters, as they are processed in order such that one filter may affect another. For more details, see [[Managing filters]].
 
2) Alternatively, you can use the Link button in the Atto editor to add the URL to an external video in a similar way.
 
3) If have an <nowiki><iframe></nowiki> style embed code such as from Youtube, then in the Atto editor turn on HTML mode and paste the the code. The when you turn off HTML mode, the video will show up in the editor window so you can see it.
 
[[File:attoeditoraddiframeembed.png| 400px|alt="Screenshot of example iframe pasted in HTML mode in Atto"]]


==How can I have embedded media resized appropriately?==


4) You can also use any repository that allows you to search for and add links to media, such as the Youtube repository.
The administrator can set a default size from the [[VideoJS player]] page, and course teachers can resize individual videos from 'Display options' when clicking the Media button in the [[Text editor]] upon adding a video file.
 
== The video player is not appearing for me. I only see a link or embed code text.===
 
Make sure that the "Multimedia plugins" option in ''Site administration > Plugins > Filters > Manage filters'' is set to On.
 
== Links and embeds to Vimeo based videos are not working but others are. Why? ==
 
Embedding for Vimeo is off by default in Moodle, unlike Youtube. Go to ''Site administration > Appearance > Media embedding'' and enable the Vimeo option.
 
==How can I have embedded media resized appropriately?==
You can adjust the specific dimensions for height and width inside the embed code of the <iframe> tag.
<pre>
<iframe src="https://www.youtube.com/embed/wop3FMhoLGs" allowfullscreen="" frameborder="0" height="400" width="560"></iframe>
</pre>
where 400x560 are the dimensions in pixels that you wish to use.


==See also==
==See also==


* [[Editing_text| Using the Atto editor]]
* [[Editing text]]
* [[Multimedia_plugins_filter|Multimedia plugins filter]]
* [[Multimedia plugins filter]]
* [[Video]]
* [[Video]]
* Also [http://moodle.org/mod/forum/discuss.php?d=194684 Moodle Media player not appearing] forum discussion


[[Category:FAQ]]
[[Category:FAQ]]
[[es:Plugins multimedia FAQ]]
[[fr:FAQ sur l'extension multimédia]]

Latest revision as of 14:44, 8 July 2025

What is the best way of embedding media in Moodle?

See Video and Audio.

The video player is not appearing for me. I only see a link or embed code text.

Make sure that the Multimedia plugins filter is on in Site administration > Plugins > Filters > Manage filters.

Note: the order of filters matters, as they are processed in order such that one filter may affect another. For more details, see Managing filters.

How can I have embedded media resized appropriately?

The administrator can set a default size from the VideoJS player page, and course teachers can resize individual videos from 'Display options' when clicking the Media button in the Text editor upon adding a video file.

See also