| /EmbedObject /ImageLink /Include /MailTo /MonthCalendar |
1. EmbedObject
This macro is used to Embed an Object into a wiki page. Optional size of the object could be adjusted. Further keywords are dependent on the kind of application.
If the attachment file isn't uploaded yet the attachment line will be shown.
New in 1.6: MoinMoin has new (for some target types rather experimental) transclusion syntax like this: {{target|desc|params}}.
1.1. Syntax
<<EmbedObject(attachment[,width=width][,height=height])>>
1.1.1. supported mimetypes
- application/x-shockwave-flash (this has to be explicitly enabled in your configuration)
- application/x-dvi
- application/postscript
- application/pdf
- application/ogg
- application/vnd.visio
- image/x-ms-bmp
- image/svg+xml
- image/tiff
- image/x-photoshop
- audio/mpeg
- audio/midi
- audio/x-wav
- video/fli
- video/mpeg
- video/quicktime
- video/x-msvideo
- chemical/x-pdb
- x-world/x-vrml
1.2. Parameters
attachment: image name of attachment
1.3. Keyword Parameters
Dependent on the mimetype class a different set of keywords is
used from the defaults
width = ""
height = ""
play = false
loop = false
quality = high
op = true
repeat = false
autostart = false
menu = true
hidden = false
All do use width, height
in addition:
'video' do use repeat, autostart, menu, op
'audio' do use play, repeat, autostart, op, hidden
the default width is 60 and default height is 20
'application' do use play, menu, autostart
1.4. Example
<<EmbedObject]] <<EmbedObject(example.swf)>> <<EmbedObject(example.pdf)>> <<EmbedObject(example.svg)>> <<EmbedObject(example.mp3)>> <<EmbedObject(example.vss)>> <<EmbedObject(example.swf,width=637,height=392)>>