Difference between revisions of "Embedding content"

Jump to: navigation, search
(redirect to page with clearer title)
 
Line 1: Line 1:
{{Working with media}}
+
#redirect [[Media embedding]]
== 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.
 
 
 
The resource is embedded at a default size 800x600, and automatically resized to fill available space by javascript on page load and resize. Due to the variety of different content that might be embedded (e.g. Flash, PDFs, HTML pages) the resized embed may not maximise use of available screen space, e.g. unused space below the footer.
 
 
 
=== 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 as frames have been depreciated 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''.
 
 
 
[[de:Inhalte einbetten]]
 

Latest revision as of 16:51, 18 July 2012

Redirect to: