Skip to main content
August 3, 2010
Question

Flashvars not loading in recent versions of Firefox on PC??

  • August 3, 2010
  • 1 reply
  • 1563 views

I have a video player (just an out of the box flvplayer) where I pass in the video files using flashvars. I'm using swfobject to load the swf and pass in the video file. All standard code, nothing fancy or custom. This works perfectly in all browsers on both mac and pc... except recent versions of Firefox on the PC. On recent FF/PC machines the player loads but the video doesn't.

Anyone else have this problem? Better yet, is there a fix for it?

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
August 3, 2010

you need to define your flashvars in one location if you're using swfobject to embed your swf, 2 locations if you're using a cs5 html file and 3 locations (including your ac_fl_runcontent() ) function for other cs version html files.

August 4, 2010

I'm using swfobject:

<script type="text/javascript">
        var flashvars = { name: "IntroVid.flv" };
        var params = { wmode: "transparent" };
        var attributes = {};
        attributes.id = "mediaVideos";
        swfobject.embedSWF("MediaPlayer.swf", "content_flash", "640", "395", "10.0.0", "expressInstall.swf", flashvars, params, attributes);
    </script>
kglad
Community Expert
Community Expert
August 4, 2010

that looks good.  does your ff have fp 10?