Difference between revisions of "Embedding content"

Jump to: navigation, search
(Created page with "{{Working with media}} <p class="note">'''Please refer to these notes before editing this page.'''</p>")
 
(First pass.)
Line 1: Line 1:
 
{{Working with media}}
 
{{Working with media}}
 
<p class="note">'''Please refer to [[Page_notes#Embedding content|these notes]] before editing this page.'''</p>
 
<p class="note">'''Please refer to [[Page_notes#Embedding content|these notes]] before editing this page.'''</p>
 +
{{Improve}}
 +
 +
 +
== Embedding media files ==
 +
When adding content to a course with a [[Page]] resource, media files can be embedded using [[Multimedia_plugins|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 [[mod/file/mod|file mod]] for more details on all of these.)
 +
 +
The options relevant to embedding are Embed and In frame:
 +
=== Embed ===
 +
This uses a HTML <code>object</code> element, or <code>iframe</code> element for older versions of Internet Explorer.
 +
 +
=== In frame ===
 +
This uses a resizable HTML <code>frameset</code> with an upper <code>frame</code> to show the Moodle heading (with navigation) and the file description, with the file displayed in a <code>frame</code> below.
 +
 +
Disabled by default, In frame is not recommended due to accessibility problems caused by HTML frames.
 +
It can be enabled via ''Site administration > Plugins > Activity modules > File''.

Revision as of 11:37, 31 August 2011

Please refer to these notes before editing this page.

This page really needs improving. Please see the page comments for suggestions of what to include, then remove this template when you're done.


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:

Embed

This uses a HTML
object
element, or
iframe
element for older versions of Internet Explorer.

In frame

This uses a resizable HTML
frameset
with an upper
frame
to show the Moodle heading (with navigation) and the file description, with the file displayed in a
frame
below.

Disabled by default, In frame is not recommended due to accessibility problems caused by HTML frames. It can be enabled via Site administration > Plugins > Activity modules > File.