How to Change Flash Sound Player Parameters in an HTML-code.
Fun SoundPlayer Maker
and FlashWAmp are programs for easy creating sound
players inflash to embed audio
into a website or blog.
Our flash
sound player creators make web
music players as swf files (shockwave flash). But they also generate
an HTML-code to be inserted into a web page code. This option
is great because it simplifies player publishing very much. Not everyone
can write an HTML code, and the programs help people to embed audio
without programming skills. But it’s not the only advantage of HTML-code
generation.
Generated HTML-code contains
some of the parameters of flash audio
player interface. And these parameters can be changed manually immediately
in HTML.
Let’s look at a sample of
an HTML-code generated by Fun SoundPlayer Maker software.
In this code we can change
the following parameters:
1.
FLASH PLAYER SIZE
width="236"
height="114"
width="236"
height="114" ></embed>
You can change values to set
another width and height of a flash object frame and your flash sound
player size correspondingly. That’s much easier than creating
and publishing new swf file only to change size of the player. Try to
preserve aspect ratio when resizing your player not to distort its proportions.
2.
SWF FILE NAME
<param name="movie"
value="myflashplayer.swf">
<embed src="myflashplayer.swf"
When you want to change player’s
design, you have to create new swf file, but you don’t have to copy-paste
new HTML-code. Simply change a name of the file, and your flash mp3
player is renewed. It’s extremely handy when you want the frame size
not to be changed. Only mind you that if you intend to replace a rectangular
player with a round one (or vice versa), you won’t be able to save
the frame size without distorting your player.
You can reference swf file
either absolutely or relatively. An absolute link defines the location
of the file absolutely including the protocol to use to get the document,
the server to get it from, the directory it is located in, and the name
of the file itself, for example:
value=””
If you want to link to swf
file in the same directory, you don't need to write out the full URL
and you may use a relative link. All you need to write is the name of
the file:
value="myflashplayer.swf"
Or, if the file is located
in a subdirectory, write the name of this subdirectory and the file:
value="subdirectory/myflashplayer.swf".
Default link generated by the
programs is the name of an swf file only. So, if you need to move created
flash player from the root directory to another place, you’ll have
to change the link.
3.
FLASH PLAYER QUALITY
<param name="quality"
value="high">
<embed src="myflashplayer.swf"
quality="high"
You can set high, medium or
low quality. This quality is only the picture quality, it doesn’t
affect sound quality. The higher your player quality is, the longer
your web page will be opening and the more system resources will be
used by your flash sound player.
Pay an attention to the fact
that each of these parameters is duplicated in the HTML-code. You should
set the same values in both lines so that your web music
player can work correctly with any web-browser.
27 mar 2005 Fun Sound Player Maker1.0 is released.
There is a possibility
to design a new Flash player for web
or translate
the program interface
to any language
and get free
registration for
Fun SoundPlayer Maker