tags:

views:

213

answers:

3

Hey everyone,

I've got this damn annoying bug (or wrong setting) that makes the player reload whenever it's clicked. It's set to play when you click, so when you click it, it reloads. The circle begins....

The reloading only happens in Firefox. In Safari (and I assume Chrome), the video opens in its own window. Not ideal, but it still plays.

Here's the code for the player: (I can't share the link unfortunately, NDAs etc etc.)

flashembed("player", "/flowplayer.commercial-3.0.7.swf", { config: { key: '#@xxxxxx',
clip: { autoPlay: false, autoBuffering: true, url: "http://myvid.com/url.mp4", wmode: 'opaque' } } });

This site is full of complete geniuses, I hope one of you can help me out!

A: 

The fact that this works as expected in Firefox 3.6 for Windows and Firefox 3.5.7 for Linux suggests its a Mac/Firefox issue.

Try comparing the generated output between different versions using Firebug and see if you can spot anything

Rob Cowell
I've compared the outputs from another site we've used the same player on, with the one in question. Here's what's generated, but reformatted to show differences more: http://pastebin.com/m2bc4a3d8
PaulDavis
A: 

I just had the exact same issue. I had Flowplayer in a content slider and the slider was cloning the player and the script. I fixed the problem by changing the video link to have a class of "player," instead of a unique ID, then changing the javascript call to Flowplayer to:

<script>flowplayer("a.player", "flowplayer-3.1.5.swf");</script>

and then moving the script out of the slider, so that the script itself wasn't cloned. I reinserted it just before the closing tag, but it could go anywhere.

secor
A: 

Has this issue been resolved? I'm having the exact same problem here, and cannot seem to get a resolution. If it is purely a browser-specific bug, has anyone come up with a workaround?

Eugene