Note: You are currently viewing documentation for Moodle 2.2. Up-to-date documentation for the latest stable version is available here: Embedding content.
Embedding media files
When adding content to a course with a Page resource, media files can be embedded using multimedia plugins to take media file URLs entered in the HTML editor and convert them into relevant player software embedded in the page.
Embedding uploaded resources
When adding a File resource to a course, there are several options for how the file will be displayed to the user: Automatic, Embed, Force download, Open, In pop-up, and disabled by default: In frame, and New window. (See file mod for more details on all of these.)
The options relevant to embedding are Embed and In frame:
EmbedThis uses a HTML
iframeelement for older versions of Internet Explorer.
In frameThis uses a resizable HTML
framesetwith an upper
frameto show the Moodle heading (with navigation) and the file description, with the file displayed in a
Disabled by default, In frame is not recommended as frames have been deprecated in recent versions of the HTML standard, due to the problems they create for accessibility. It can be enabled via Site administration > Plugins > Activity modules > File.