w3c approved music player, unapproved <embed> tag |
w3c approved music player, unapproved <embed> tag |
![]()
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 ? ![]() |
|
|
![]() |
![]()
Post
#2
|
|
![]() /人◕‿‿◕人\ ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,283 Joined: Dec 2007 Member No: 602,927 ![]() |
iirc you can replace the embed tag with the object tag with almost no changes to the rest of the code.
Also, validation doesn't mean shit in the real world. For example, there isn't a single page on Myspace that validates correctly. All you get is the ability to put that buttugly "W3C valid HTML" tag on your page without lying. |
|
|
![]() ![]() |