Basic embed code
Embed code with no autostart
Hidden embed code
Embed size
Embed Tutorial

Basic embed code. Copy and paste into your webpage. Replace yourmusicfile.midi with your file.

<embed src="yourmusicfile.mid" hidden="false" autostart="false" volume="100" width="500" height="40">

Looks like this...



This embed code explains width and height attributes.
You can set the width and height to any size you desire.
NOTE: The basic setting should be width="300" and height="40".
However, you can set the width and height specific to your needs. You can place this tag anywhere you want.

RECAP
You have learned how to embed a basic music file.
You have also learned how to hide the embedded music file.
Reminder: Hiding a music file requires you to use the autostart="true" command.


© 2007