PDA

View Full Version : Example of how to emed flash for playing audio files.



Jim
11-23-2009, 03:39 PM
Here is a decent example for those of bluehost that are scouring for how to embed flash to get their music to work.


<embed type="application/x-shockwave-flash" src="http://www.google.com/reader/ui/3247397568-audio-player.swf?audioUrl=http://domain.com/path/to/file/file.mp3" width="400" height="27" allowscriptaccess="never" quality="best" bgcolor="#ffffff" wmode="window" flashvars="playerMode=embedded"></embed>



Jim C.
"These are not the droids you are looking for."

felgall
11-23-2009, 05:46 PM
There is no such thing as an <embed> tag and you shouldn't be using one if you want to code your HTML correctly.

See http://www.felgall.com/flash.htm for how to correctly embed a Flash file into a web page using HTML tags that actually exist and which will work in all browsers rather than just the couple that support the proprietary <embed> tag..