Once the Random Sound
Player program has been successfully installed on your web site you will
need to follow several steps listed below
STEP ONE
Decide which sound player
you want to show up on your website, then copy the corresponding HTML
into each web page you want to have a random sound player.
There are three different options to choose from. You can have a large
random sound player, a small random sound player, or an invisible random
sound player. Each of these options does (or does not) allow visitors to
your website to turn the music off, replay the music, or adjust the
volume.
STEP ONE
Use the Following
Code for the Large Random Sound
Player
For Micosoft Internet
Explorer 3.0 and up:
<bgsound src=<!--#include virtual="/cgi-bin/ransound.cgi"-->
loop="infinite"><embed src=<!--#include virtual="/cgi-bin/ransound.cgi"-->
autostart=true loop=true volume=100>
For Netscape Navigator 3.0 and up:
<bgsound src=<!--#include virtual="/cgi-bin/ransound.cgi"-->
loop="infinite"><embed src=<!--#include virtual="/cgi-bin/ransound.cgi"-->
autostart=true loop=true volume=100 width=145 height=60>
Use the Following Code for the Small Random Sound Player
For Micosoft Internet Explorer 3.0 and up:
<noembed><bgsound src=<!--#include
virtual="/cgi-bin/ransound.cgi"--> loop="infinite"></noembed> <embed src=<!--#include
virtual="/cgi-bin/ransound.cgi"--> autostart=true loop=true volume=100
width=44 height=27 controls=smallconsole>
For Netscape Navigator 3.0 and up:
<noembed><bgsound
src='<!--#include virtual="/cgi-bin/ransound.cgi"-->'
loop="infinite"></noembed>
<embed
src='<!--#include virtual="/cgi-bin/ransound.cgi"
width="128" height="128" -->'
autostart="true"
loop="true"
volume="100"
width="50"
height="15"
controls="smallconsole"><br>
Use the Following
Code for the Hidden Random Sound Player
This code works with both Microsoft Internet Exporer and Netscape
Navigator 3.0 and up:
<bgsound src=<!--#include virtual="/cgi-bin/ransound.cgi"-->
loop="infinite"><embed src=<!--#include virtual="/cgi-bin/ransound.cgi"-->
autostart=true loop=true volume=100 width=145 height=60 hidden=true>
STEP
TWO
Rename all files using
the Random Sound Player to a .shtml extension.
After you have copied and pasted the HTML into your pages, now you need
to change the extension of every page that includes this HTML from a
.html or .htm file to a .shtml extension. In other words, if you have an
HTML page named index.html that uses this random sound player, then you
need to rename the file to index.shtml.
The reason this step is necessary is so that the server knows to
interpret a server-side include within the document. That line of code
you copied in step one was actually a Server-Side Include. This is a
line of code that the server must execute and place in your HTML file
before someone views the file.
FINAL STEP
Upload the sound files
the program will randomly select from.
A directory named "randomsounds" has been created in your public_html
directory. This directory should contain the MIDI files you want the
program to choose from. You can actually upload files of .mid, .wav, or
.au extension; so the program is not limited to just MIDI files. The
program will randomly select from all of the sound files within the
ransound directory, regardless of the number of files it contains.
TIPS
When using the random
sound program, it is best to use sound files that are small, such as
MIDI files. Larger files will take more time to download to the visitor,
delaying the time it takes to begin paying on your website, and
increasing the load time of your website.
We recommend that you not put more than 1,000 sound files in your
directory, as this will slow down the program and have a negative impact
on the load time of your website.
Below is an
example of your small random sound display
Reload this page to play another random sound