View Full Version : Question regarding Firefox versus IE problem


imsims
11-02-2006, 10:11 AM
Hi all !

I´m a noob who just got the flash mp3player to work on my site.
It works perfectly in Firefox but it doesn´t work at all in IE.
Can someone tell me what I´ve done wrong ?

Here´s the adress: http://www.mellow.nu/main.htm

The alignment of the player is different in IE compared to Firefox and the border
of the bottom div is missing in IE.

Don´t laugh, but here´s the .css (I´m not sure what I´m doing really) :D

.main {
background-color: #000000;
position: absolute;
left: 150px;
top: 100px;
width: 500px;
height: 372px;

}
.Menu {
background-color: #FFFFFF;
position: absolute;
left: 804px;
top: 180px;
width: 123px;

}
.bottom {
background-color: #FFFFFF;
position: absolute;
width: 500px;
height: 0;
left: 300px;
top: 490px;
border: 1px solid #9F0000;




}
.Player {
background-color: #000000;
position: absolute;
left: 600px;
top: 90px;
width: 200px;
height: 51px;

}

THANKS !

J to the izzosh
11-02-2006, 03:04 PM
Well, I can't reproduce the problem with the border in IE 6 - it displays fine for me - but the flash player isn't playing/loading the right playlist due to some errors in the URI for your player in the movie parameter element. Really, it shouldn't work properly in Firefox, either. There's some extra whitespace on a couple broken lines, a space before the value of your playlist, and an extra semicolon after one of your ampersand character entities which was disabling the autoplay. Try comparing your URI with this one, which seems to work in IE. The parameters also needed to be added to the data attribute of the object tag, as that's where Firefox is calling the movie.

<object type="application/x-shockwave-flash" data="http://www.mellow.nu/xspf_player.swf?playlist_url=http://www.mellow.nu/playlist.xspf&amp;autoplay=true&amp;repeat_playlist=true&amp;p layer_title=KICK&amp;playlist_size=3" height="51" width="200">
<param name="movie" value="http://www.mellow.nu/xspf_player.swf?playlist_url=http://www.mellow.nu/playlist.xspf&amp;autoplay=true&amp;repeat_playlist=true&amp;p layer_title=KICK&amp;playlist_size=3">
</object>

Also, concerning your CSS, for elements like your player div, you can style them by their ID alone instead of specifying a redundant class in the HTML. The syntax for styling based on ID is as follows:
#id_name {
...styles...
}