Child pages
  • Play an MP3
Skip to end of metadata
Go to start of metadata

You can embed attached media files directly in your wiki pages.

The wiki software recognizes several media types by their file extensions. These include:

  • MP3 (.mp3)
  • Flash (.swf)
  • Quicktime (.mov)
  • Windows Media (.wma, .wmv)
  • Real Media (.rm, .ram).

Example

You must first attach the file to your page (click Attachments while viewing the page, not while editing it).  On the Attachments screen, click the Browse button to locate the file on your computer, then click the Attach File(s) button to upload. 

Note that there is a restriction on file size (5 MB); if you need to host a larger file, contact the ITS Wiki Administrators.

Once you've attached the file, the following code inserted in your wiki page:

!myfile.mp3!

...will play the attached media file directly within the page.

Disabling autoplay

The standard method for embedding attached media files has a tendency to autoplay; that is, the movie or sound file plays immediately when the page is loaded. This has been reported as a bug. Until it is fixed, you can try this alternate embed method:

{embedlocal:myfile.mp3}

This will produce the following output (note that unlike the example above, it is not playing automatically):

Unfortunately, this method has not been tested with all types of media. However, it should work in most cases. Give it a try!

More info may be available in the notation guide

1 Comment

  1. Hi - Thanks for this post.  Please note the second option plays automatically on windows Chrome v 4.1.

    Thought you'd want to know.