User blog:Penguin-Pal/Embeding Music

Hi guys!

Chihang asked me to make a blog for how to embed music into pages, so here it is!

First of all, you need Administrator rights in the wiki on which you want to embed the musiic. Don't you have admin rights? no worry! I'm sure that the admins will be glad to help you, all you need to do is to ask them :)

Now, you need to create a MediaWiki page. Mediawiki pages are used for many purposes, a good example is the Emoticons page for chat. But it is also possible to add HTML elements that are not available in regular editing mode, and later be added to pages.


 * So, how it's done?

First of all, you need a HTML code of the music you'd like to embed (it can also work with other things but music). Here's an example for the Soundtracks of teh play "Ruby and The Ruby" (which can be found Here):



First of all, i suggest to changed it so it will only take 1 pixel:



Now, you will need to add the embeded music into your user page or any other page in your userspace. It can be done this way: MediaWiki Page Name

Suppose your MediaWiki page is called Foo, you will need to add this: Foo

I suggest adding a fixed "div" style, so the pixel will not be visible. A good way for doing this is by adding (and let's suppose wer'e still talking about a MediaWiki page called "Foo"): Foo

It is also possible to make a template for a simple use. Lets call it "Embed":

Now you will only have to add this in a page (in case you still use "Foo" for the MediaWiki page, but it can be cahnged as well.:

I hope this helps :) I'm interested in making a new way for embeding music, but till then, have a happy editing, and waddle on!

Penguin-Pal http://images3.wikia.nocookie.net/clubpenguin/images/4/4f/Arrow_Down_9c9c9c.png   Talk   Contributions   Editcount   CP Wiki   CP Quiz   08:37, June 14, 2012 (UTC)