Making The XSPF Web Music Player Work In Internet Explorer

XSPF Web Music Player 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.

November 18th, 2007 | Flash | 1 Comments

1 Comment

  1. I know this is an old post, but it worked! Thanks!

    Best,
    JD

    Comment by JD — April 22, 2008 @ 6:10 pm

Leave a comment...