Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#56 Stops playing in IE7 the 3rd time I load the XSPF Player.

open
nobody
None
5
2008-06-07
2008-06-07
Anonymous
No

I have a weird problem that I always reproduce in IE7 either with the player's slim and extended version, using either a single song or an xspf playlist file.

Here is the context.
On my website, you may choose from a catalog of song, when you want to listen to a particular track, you click on it and it open the XSPF player in a Pop-Up Window (using window.open() in javascript).

It works all the time on Firefox and Safari.
But on Internet Explorer 7 (IE7), it always plays the song for the first and the second time; then from the third time, it loads the playlist (or the unique song) correctly but it is impossible to play the sound. I have to close IE7 and launch it again to be able to play sounds again. I always reproduce the problem, but can't find any hint to solve the problem.

Could anybody give me a hint?

Here is the embedding code I use, where the PHP variable $src is the Player URL along with the correct song or playlist URL:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
width="400" height="10"
id="xspf_player_slim" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="<?php echo $src; ?>" />
<param name="quality" value="best" />
<embed src="<?php echo $src; ?>" quality="best"
width="400" height="10"
name="xspf_player_slim" align="middle"
allowScriptAccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

Discussion