Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

mp3player.swf works in IE7, not Firefox 2

36 replies [Last post]

I have all the correct files uploaded (I think) on the website and the flash player loads under IE7. When I try to view the page in Firefox, the flash player gets stuck loading and never finishes. All I ever see is the circle of black bars spinning around.
I even tried embedding the player, but got the same result.
Here's the weird thing. All of the mp3 & media players on www.jeroenwijering.com work fine under both IE7 and Firefox.
Any ideas?

You probably did miss part of the embed code. If you use <embed> and <object> tags, make sure to add a 'flashvars' element to both of them!

:)

well the code that is currently on my website is not embedded. i tried the embedded code to see if it would make a difference. i had the same results both ways.

Right now I have

<script type="text/javascript">
var s2 = new SWFObject("mp3player.swf", "playlist", "240", "135", "7");
s2.addVariable("file","playlist.xml");
s2.addVariable("backcolor","0x00000");
s2.addVariable("frontcolor","0xEECCDD");
s2.addVariable("lightcolor","0xCC0066");
s2.addVariable("displayheight","0");
s2.write("player2");
</script>

It works in IE but not Firefox.

Well, this tiny snippet of your code looks OK, but what about the rest of it.

Can you post your entire HTML page and your playlist.xml or else a link to your page?

Without one of those, there isn't much we can advise you on.

http://www.returntothepit.com/livestream.php?date=2007-05-07&moredate=0

here is an example of a player that works great in IE, but not in firefox.

it also works brilliantly in safari 3.0

I have the exact same problem with firefox ... any clues ?

@AWP,

Can you provide a direct link to the player? I'm not interested in navigating your site looking for it. :)

i have exactly the same problem... the video loads, plays & seeks fine in IE7, but it won't do so in FireFox. when hitting the play-button, nothing happens. if you hit it a few times, the video begins to play now and then. seeking doesn't work at all tho.

sample page:
http://outnow.ch/media/trailers/2007/DeathSentence/trailer1_en.flv

i played around with different encoders (ffmpeg, mencoder, sorenson) and different metadata injectors (flvtool2, flvmdi) - always the same symptoms: plays fine in IE7 but not FF2

- thomas

@thomas
have you modified the player?

i think it is better if you call your .html pages .html and not .flv -
http://outnow.ch/media/trailers/2007/DeathSentence/trailer1_en.flv

in both my IE7 and FF2 the page and player shows but nothing plays!
but i dont understand how the player shows on that page...

when i look in the code, the path to the logo is: /media/logo.png
so i would expect the logo here:
http://outnow.ch/media/trailers/2007/DeathSentence/media/logo.png
but i find the logo here:
http://outnow.ch/media/logo.png

same problem with the player itself!

and when i try to find the video i get redirected to this address:
http://trailers.outnow.ch/stream/ODMuOTIuOS4xMDJ3YXMgZ3Vja3N0IGR1IGRlbm4/IGg/movies/2007/DeathSenten...
but there i only get a 404 error message!

i suggest you try using the full paths!
then when it works you can start changing them into relative paths...

thanks andersen for your replies.

no, the player isn't modified. but there's some mod_rewrite action going on to protect the video files.

if you look closely, you'll see that the first url is actually an html page and not an flv file:

http://outnow.ch/media/trailers/2007/DeathSentence/trailer1_en.flv

this returns a normal html file which among other things has the player loaded. the location for the logo is correct: /media/logo.png is an absolute value.

what you're seeing with the "weird" urls is this: the server assings to your connection a temporary key which is added to the media url:

so.addVariable('file','/media/trailers/2007/DeathSentence/{id}/{key}/trailer1_en.flv');

when the player requests this file, the server checks if your key is stil valid. if so, it issues you another key and forwards the request to our dedicated media server:

http://trailers.outnow.ch/stream/{key2}/movies/2007/DeathSentence/trailer1_en.flv

this url invokes the streaming (based on lighttp's method), but only if your key2 is still valid.

of course the protection isn't really a protection as it is still possible to save the files. but you won't be able to use direct links to our mediafiles on other websites, which helped us greatly reducing hotlinking traffic (we also have the trailers in quicktime and wmv, and are just diving into the flv world right now). the real media files' url never is revealed to the client, just a temporary one.

anyway: even when turning the protection off and use direct, real urls (which i cant reveal here in public), the files play & seek very well in IE7, safari and opera, but refuse to do so with FF.

that would indicate that it isn't a metadata/keyframe problem. yet when using the ps3-sample-video from JW's example site, it also plays nicely in FF. i read some posts in this forum regarding a bug with fairly large files. while i won't say 12mb is large, might it be that this bug is triggered in FF's flashplugin a bit earlier than in the other browsers?

the weird thing is: according to the servers' logs, when playing the file in FF, it almost never sends a seek position (?start=xxxx), whereas the IE7 only requests the full file once and then sends correct seek values.

somehow it does look like that FF's flash plugin can't correctly process the metadata information...

update:
the smaller trailers play well in FF, for example:
http://outnow.ch/media/trailers/2007/Underdog/teaser1_de.flv

so it really seems like there's something wrong with bigger sized mediafiles & JW's player...

@thomas

your new url http://outnow.ch/media/trailers/2007/Underdog/teaser1_de.flv
does not play either! (in both my IE7 and FF2 both flash9 and freshly updated)

a couple of small misunderstandings: i obviously did look at the page and saw that actually its .html - what i try to tell is that its not smart to mixup stuff by using wrong extensions - this is proper naming practice, bitte: http://outnow.ch/media/trailers/2007/DeathSentence/trailer1_en_flv.html
thats a full url, the following is a relative: /media/logo.png

i agree 12mb should not be too big, but as other bigger files play from other sites, i would guess that the problem has to do with the streaming or rewrite? as you noted the demo works, so we can deduce it must be something else (than the player) - have you tried your self from other machines than your production environment?

i agree 12mb should not be too big, but as other bigger files play from other sites, i would guess that the problem has to do with the streaming or rewrite? as you noted the demo works, so we can deduce it must be something else (than the player)

not so sure: FF also has problems playing files > 8mb when not using rewrite. the demo-file is only 3mb - the "magic" limit seems to be around 8mb...

do you have a larger demo file handy that plays well with http-streaming? i'm eager to test that in our production system.

your new url http://outnow.ch/media/trailers/2007/Underdog/teaser1_de.flv
does not play either! (in both my IE7 and FF2 both flash9 and freshly updated)

are you using a proxy or is your provider doing fancy stuff (t-online.de for example has a transparent proxy that messes up sessions). i have disabled the protection system for now, care to take another try? thanks!

have you tried your self from other machines than your production environment?

yeah, same results: IE works, FF not.

@thomas
no connection (IE7 and FF2) - no proxies or such, i have never had any problem playing...

uff. i actually figured out what was wrong.

the media server was using GZIP for dynamic files. the stream script's output was thus GZIPed, although it shouldnt as the Content Type "video/x-flv" shouldn't be zipped.

this seems to have messed up FireFox in some cases, probably sending the gziped stream to the flash plugin instead of unpacking it first.

thus: if you're php/asp/whatever-streaming, make sure the script-file is excluded from being gziped by the server.

all files work perfectly fine in FF now :)

I have the same problem, not work in frefox 2, but yes in ie and firefox 1.5 , your sample video in http://www.jeroenwijering.com/?item=JW_Media_Player not work yet in Firefox 2

@nauj,

Do you have a link to the page where the player doesn't work?

hey guys, i found the bug within my playlist file... by mistake i've used backslashes within the path to the playlist files. i replaced it with slashes and it's working now... maybe some of you made the same mistake?

regards
sascha

that solved it for me also, those pesky backslashes!!!
Check your .xml file
don't forget to refresh cache

How 2 make the flv player work on the playstation 3 internet explorer

I am having the same problem. The player works fine in other browsers (IE7 on the PC, Firefox/Safari on the Mac) but does not play the MP3 file in Firefox 2.0 on the PC.

http://www.jeroenwijering.com/?item=JW_Media_Player

I have also noticed that video freezes after a couple of seconds in this browser.

Does anyone have a fix for this? Any help would be greatly appreciated.

James

@James - check that your browser plugins are up to date (as stated many places all over the forum)

adobe flash version test: - http://www.adobe.com/go/tn_15507
adobe flash deinstall: - http://www.adobe.com/go/tn_14157
adobe flash install: - http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash

Hi all! I've got the same problem. Video doesn't play in Firefox. In IE and Opera everything is ok. Where can be problem?
Here is example : http://www.kinoman.lv/index.php?option=com_content&view=article&id=61:mr-woodcock-2007&catid=4:comed...

@giorgio

your player is very old (v.3.11) try update (currently v.3.16) - http://www.jeroenwijering.com/?item=JW_FLV_Media_Player

make sure your flash plugins are up to date:

adobe flash version test: - http://www.adobe.com/go/tn_15507
adobe flash deinstall: - http://www.adobe.com/go/tn_14157
adobe flash install: - http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash

then try if you can use the wizard - http://www.jeroenwijering.com/?page=wizard

then make a simple test page with only the player and upload (no other scripts or stylesheets etc.)
and only when that works (so you know you know how to handle the player) try implement that in your CMSystem...

when implementing the other scripts, only do one thing at the time between testing - so you can know when what breaks...

@andersen

Thanks for replying. I read several other posts before posting here. I did see the other posts in regards to the player version and made sure that I had the latest version of the player installed. Sorry I was not clear about that.

The problem was not the plugin but the number of players I had on one page. I had missed that post. It seems that if there are 14 or more players on the page none of them will work in Firefox. Why so many players you might ask? The owner of the site wanted separate players for each song.

Anyway, thank you for your time and a great player. It really is a good solutions of music or video on a web site.

James

@James - im pretty sure the site owner doesnt want all fourteen players playing simultaniously ?

if not then you can use the mutex method - mutually exclusive players - please see the demos on the demopage

http://home5.inet.tele.dk/nyboe/flash/mediaplayer/mutex.htm
http://home5.inet.tele.dk/nyboe/flash/mediaplayer/mutexgray.htm
http://home5.inet.tele.dk/nyboe/flash/mediaplayer/mutexmouseover.htm
http://home5.inet.tele.dk/nyboe/flash/mediaplayer/mutexmouseout.htm
http://home5.inet.tele.dk/nyboe/flash/mediaplayer

they use a video but the principle would be the same for .mp3 - only one player and just images for the not playing ones...

myname

@andersen

sorry for the delay in my response. You are right they do not want 14 players going at the same time :) Sounds more like an art installation than a web site.

The mutex method looks like a great solution. I will give it a try.

Thank you for the help and assistance.

James

sesli chat,sesli sohbet, www.konyaguzeli.org Adresine bütün degerli dostlarımızı bekleriz Saygılarımla Hakan@ Seviyeli bir sohbet Ortamı Hazırladık sizler için

Had the same problem with player version 4.1 - solved it by changing the version of the flash required in the swfobject options from 9.0.115 to 9.0.0

lsn guyes i have built a whole website and before uploading it to the server i found that the website is ggreat via IE but crap via firefox what should i do, i really feel bad : (
and this is my email to contact with me s.mhashi@dallata.com

Are you using CSS files separately for IE and FF?

Just to add on to this thread as I spent a good amount of time trying to get my MP3 player working.

My Web Host was the issue for me as I was lucky enough (after almost crying over double checking all my codes hundreds of times) to have a friend who had some web space available so I could (as a last resort) up load my site..

Once uploaded, it worked in every single browser.

JustHost.com???...Just cr@p more like!

thanks