3. How do I use the MOD Plugin in my HTML files ? --------------------------------------------------------- The syntax to put a song in your page is the following: NOTE: On a Web server, the command should also include the mime-type: DO NOT USING THE .ZIP EXTENSION. The most efficient way is to use type="audio/x-zipped-mod" src="myfile.mdz" for compressed modules and type="audio/x-mod" src="myfile.[mod/s3m/xm/it]" for uncompressed modules. That's it! NOTE: Don't forget to use the packing option of Modplug Player: you'll need to go to the Details window and select the 'Pack As' button. This can make the file twice smaller, even though quality might be reduced (You can slect the quality reduction, though). When the user will download the file from your page, it will be unpacked. It can make a big difference when downloading a file larger than 200K. The other options you may want to add are the following: - volume="x": set the volume of the song to x. (Default="100", range="1" to "100") - loop="true": Loop the song. (Default:"false") - autostart="true": Start playing the song when loaded. (Default="false"). (Also "autoplay" on versions 1.31+) - autonext="true": Jump to next mod when finished playing. (Default="false") This is useful only if you have more than one song in your page. (You should use loop="true" instead to make the same song loop) - controls="none"/"stereo": * "none": don't display anything - use with care because there is no way the user will be able to stop the mod (besides exiting the page). (same as "hidden="true") * "stereo"(1.65+): the horizontal spectrum analyzer will be split for right/left, on each side of the plugin. In this case the number of bands will be (width - 184) / 16. NOTE (1.75+): The option controls="smallconsole" has been removed, it's now automatic if height < 20. - hidden="true": same as controls="none". - title="song_title": Displays the text "song_title" when the song is not yet loaded. (Default: displays "Loading...") - shuffle="true" (1.57+): goes along with autonext="true". when a song finishes playing, the next song will be randomly chosen. The shuffle option is a global flag and should appear on the first EMBED section in the page. This flags sets the autonext="true" flag automatically. - bgcolor="black"(default),"gray" (1.60+): Select a background color for the plugin. v1.75+: you can specify a color like bgcolor="#RRGGBB". - spcolor="red"(default),"green","blue" (1.61+): Select the color of the spectrum analyzer. v1.75+: you can specify a color like spcolor="#RRGGBB". - vucolor="color1", vucolorhi="color2" (1.75+): you can now change the color of the VU-meter. The default for vucolor is green, and is red for vucolorhi. - spcolorhi: defines the top-color of the spectrum analyzer (1.75+). The default color is red. The middle color will be the mix between spcolor and spcolorhi. NOTE: (v1.43+) -------------- - If you want to enable the VU-Meter, the width parameter should be set to "168". The VU-Meter cannot be used with the controls="smallconsole" option. - If the plugin is hidden (with controls="none" or hidden commands), autostart will be set to "true". Spectrum Analyzer (1.60+) ------------------------- - You can enable the spectrum analyzer by setting a height of 96 (bottom spectrum) or a width of 336 (right spectrum). - v1.61+: You can have from 3 to 80 bands in your right spectrum analyzer: set the width parameter to 176+(numbands*8). The frequency range is between 86Hz (left) and 11KHz (right). - v1.65+: With the stereo spectrum, the number of bands on each side will be (width - 184) / 16.