EMBED
.WAX EXAMPLE
(Playlist
of Five songs with different formats)
Mixed Playlist of
one .wma clip
one .mp3 clip and
three full length .mid files.
Information about
each will display in the status bar of the Console.
| A .WAX file is a special document
that includes the location and names of the files to be played. It can
be edited in a Text Editor such as Notepad. MP3's and WMA files can
have the song name, author, album and copyright info included, however
there is no such provision with a .MID file. Of special interest
to MIDI authors is the fact that you can include this information in a
.WAX file so that it is displayed in the Status bar.
Note that the height of 60 and width of 300 displays the status bar to display song information and also part of the progress bar at the top. Change the height to 50 to eliminate the progress bar. With a playlist of more than one song the "Next" and "Previous" buttons also work. Following is the script used for this Playist. It must be placed on the page at the location you want it to appear. |
| <script language="JavaScript" src="wmpCodeGen.js"></script>
<script language="JavaScript" type="text/javascript"> playMedia("MixedPlaylist.wax",1,60,300) </script> |
| A .WAX file for one song has the following form, and must be saved with the .wax extension after editing. Use a text editor with NO formatting such as Windows Notepad. Select File | Open then in the bottom List Box select Files of type.. "All files.." allowing the .wax file to be seen and opened. |
| <ASX VERSION = "3.0"> <!-- DO NOT DELETE.. Must be
first line -->
<ENTRY>
</ASX> |
| You can download several .WAX file templates to work with. These are in a .ZIP file that can be extracted to your desk top as a folder. Instructions are included in a separate text file. |
|
|
| Please click the 'Back' button below to view other examples. |