Note: You are currently viewing documentation for Moodle 2.5. Up-to-date documentation for the latest stable version of Moodle may be available here: Flash.

Flash: Difference between revisions

From MoodleDocs
m (information ab out object)
(added info on sizing using flash filter (?d=widthxheight))
Line 1: Line 1:
Flash content can easily be included in your courses.
Flash content can easily be included in your courses.


If you have the multimedia filter enabled then simply linking to the file in an HTML area such as a label, HTML block or section description will also display the Flash file inline. At the moment, however, all flash files will play at the same size site-wide. See the forum posts below for hacks to change this.
If you have the multimedia filter enabled then simply linking to the file in an HTML area such as a label, HTML block or section description will also display the Flash file inline. At the moment all flash files will play at the same size site-wide by default. However, you can control display size by adding the following parameters to the link to specify size: ?d=widthxheight eg ?d=800x600 is 800 pixels wide 600 pixels high.
 
There are also other ways to achieve sizing control. See the forum posts below for some hacks.


You can use HTML code and the object tag to set individual movie sizes which will work with most browsers except Microsoft's Internet Explorer
You can use HTML code and the object tag to set individual movie sizes which will work with most browsers except Microsoft's Internet Explorer

Revision as of 07:59, 20 November 2006

Flash content can easily be included in your courses.

If you have the multimedia filter enabled then simply linking to the file in an HTML area such as a label, HTML block or section description will also display the Flash file inline. At the moment all flash files will play at the same size site-wide by default. However, you can control display size by adding the following parameters to the link to specify size: ?d=widthxheight eg ?d=800x600 is 800 pixels wide 600 pixels high.

There are also other ways to achieve sizing control. See the forum posts below for some hacks.

You can use HTML code and the object tag to set individual movie sizes which will work with most browsers except Microsoft's Internet Explorer


<object width="600" height="400" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"> <param name="movie" value="http://yoursite.org/file.php/2/movie.swf" /> <param name="quality" value="high" /> <embed width="600" height="400" src="http://yoursite.org/file.php/2/movie.swf" quality="high" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>


See also