MIDI Studio logo
 

EMBED .MID EXAMPLE
(Console Hidden on page)


Above is the result of our script.


Here are the settings used to play the music on this page. Notice that in "playMedia" the height and width have both been set to "2".  These are the smallest numbers allowed by all browsers, and have the effect of hiding the Console. 
 
<script language="JavaScript" src="wmpCodeGen.js"></script>
<script language="JavaScript" type="text/javascript"> 
playMedia("HeresThatRainyDay.mid",1,2,2) 
</script>

 
If you are a web page author, it is common courtesy to advise your visitor where you obtained your music from and give some credit at the bottom of your page. An image is not necessary, but it does provide a link to the site without having to create a link in the text portion as I have done below.

Thanks to Les Gorven and MIDI Studio Consortium
for this arrangement of "Here's That Rainy Day" 
 

 
A number of other useful sizes are illustrated below. Simply change the height and width in the "playMedia" section. 

 
45x300 Media Player
45 x 300 displays all the controls, including the volume slider.
27 x 280 Media Player control
27 x 280 is the smallest size allowing all controls.
27 x 240 Media Player control
27 x 240 without volume slider
27 x 280 Media Player control
27 x 180 without volume and mute button.
27 x 80 Media Player control
27 x 80 minimum, pause/start and stop
16 x 16 is inconspicuous. Right-click functions for play, stop, pause, & volume.

 
Please click the 'Back' button below to view the list of other examples and instructions.




©2006 MidiStudio.com. All Rights Reserved.
Last Update: January 8, 2006
This site is owned, designed and produced by Les Gorven
dba Business Technologies & MIDI-Studio Publishing