Making The XSPF Web Music Player Work In Internet Explorer
The XSPF Web Music Player is a Flash widget that lets you stream a single MP3 or a full playlist of songs on a website. There’s a really nice tutorial on Forever Geek that walks you through embedding the player.
The problem is that it doesn’t always work correctly in Internet Explorer. After a few minutes of going crazy and some trial and error, I figured out what you have to do to make the player work in both IE and Firefox. The trick is to make sure the value of your “movie” parameter equals the source of your “embed” tag. Like so:
<param name="movie" value="http://www.example.com/xspf_player_slim.swf?song_url=http://www.example.com/song.mp3 "/> <embed src="http://www.example.com/xspf_player_slim.swf?song_url=http://www.example.com/song.mp3 "/>
There are additional options you can add to the “embed” query string, but those are covered thoroughly in the Forever Geek tutorial if you’re curious.




I know this is an old post, but it worked! Thanks!
Best,
JD
Comment by JD — April 22, 2008 @ 6:10 pm
Thank you very much. It worked!
Ciao,
EVH
Comment by EVH — November 17, 2008 @ 6:36 pm
Oh man, read your post (read hundreds of posts online!!) but still can’t work it out… The player shows as a form on IE, in Firefox it’s perfect.
This is my code:
You sound like a man in the know, anything look off to yourself??
Many thanks
Comment by AP — February 5, 2009 @ 11:25 am
ok, the code never showed!!
Here it is again.. Fingers crossed it’ll work, or else I give up ;)
Comment by AP — February 5, 2009 @ 11:26 am
Hi, is it possible to play two files simultaneously ? How would it be configured ?
Comment by Chris — March 1, 2009 @ 10:15 pm
Can we disable the download option form the menu? If not how can teh source be compiled with makeswf ? Has anyone done this before ?
Comment by Chris — March 1, 2009 @ 10:16 pm
you’re a saint. thank you – this has been driving me nuts.
what i did find is that it wouldn’t work if i had multiple playlists – so i just had to copy a new player to the playlist folder and reference a different player per list.
Comment by erin — March 9, 2009 @ 11:49 pm
Thanks for saving me time!
Comment by Dan — April 13, 2009 @ 7:53 pm
I used the music player on a site I created that has a strange effect. When you head to the site using the www. the player works great. But when you open the site without the http://www., the player says loading, but does nothing. Same effect across browers. Any input would be greatly appriciated :)
Comment by Orlando Web Designer — October 20, 2009 @ 3:49 pm
for a simple mp3 player that works on both firefox and internet explorer, please check my blogpost
http://crazy4tips.blogspot.com/2009/11/total-guide-free-mp3-player-for-your.html
Comment by paul — November 2, 2009 @ 4:48 pm
Worked perfect for me.
Thanks a lot
Comment by Elmer — July 18, 2010 @ 11:12 pm