Log In · Register

 
w3c approved music player, unapproved <embed> tag
BayBxtch
post Nov 29 2009, 04:34 AM
Post #1


Newbie
*

Group: Member
Posts: 4
Joined: Nov 2009
Member No: 753,881



CODE

<embed src="http://assets.myflashfetish.com/swf/mp3/minime.swf?myid=35806491&path=2009/11/22" quality="high" wmode="transparent"
flashvars="mycolor=704d35&mycolor2=d94e4e&mycolor3=ff9582&autoplay=true&rand=0&f=4&vol=100&pat=0&grad=false"
width="160" height="68" name="myflashfetish" salign="TL" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" border="0" style="visibility:visible;width:160px;height:68px;" />


i want to add a music player to my first website, which is also my final for my html class and he said that we can but everything must validate and <embed> tag doesn't validate is there any music players out their i can put on my site that will validate? my friend said i should find a player that uses the <object> tag instead but i don't know where to look...any suggestions for a solution ? blink.gif
 
 
Start new topic
Replies
fixtatik
post Nov 30 2009, 04:32 PM
Post #2


Senior Member
******

Group: Member
Posts: 1,237
Joined: May 2008
Member No: 648,123



CODE
<object data="SOURCE" height="XX" width="XX">
<param name="NAME" value="VALUE">
</object>

Granted, how the <param> tag is formed depends on your doctype. It's an empty element.

To keep it streaming while a user browses, no. The only way would be with a popup player (don't do it), frames (don't use them), or build the site with Flash (which sort of goes against the idea of an HTML class).
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: