View Full Version : FLV into SWF Player Problems

09-11-2009, 06:31 PM
Hey Guys,

I'm a Flash newb so forgive any grievous errors.

I've been uploading videos for a church locally. They can only provide .flv files of their sermons. I load them into a wordpress setup using a player.swf and some code to call the flv file into that player. It works great in IE 7 and Mozilla etc.

The Problem: In IE6 and 8 there is a white screen over the movie. If you click it, the movie plays, but most visitors don't know to click it.

Here's the code I use to embed the player and call the .flv file.

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="480" height="360">

<param name="flashvars" value="file=http://www.bbcstar.org/media/music/videos/through20090830.flv&image=http://www.bbcstar.org/media/music/videos/through20090830.jpg" />

<param name="movie" value="http://www.bbcstar.org/media/music/videos/player.swf" />

<embed wmode="opaque" src="http://www.bbcstar.org/media/music/videos/player.swf" width="480" height="360"
type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="file=http://www.bbcstar.org/media/music/videos/through20090830.flv&image=http://www.bbcstar.org/media/music/videos/through20090830.jpg" />


I took over this position from someone else who originally made the player. All I have is the swf file of it and not the original .fla so I have no idea the script of the player.

Any thoughts on how I can remove this white screen over my movie?

Thanks in advance for all your help!

09-11-2009, 08:37 PM
wmode="opaque" needs to be wmode="transparent"

I'd recommend you take a look at swfObject here: http://code.google.com/p/swfobject/
I know it might look daunting.. it's easier than it seems and if you come back here, I'll be happy to help. I recommend it because swfObject's purpose is to negate much of the issues with older IE's

Hope this helps