Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: FLV into SWF Player Problems
09-11-2009, 05:31 PM #1
- Join Date
- Mar 2009
- Thanked 0 Times in 0 Posts
FLV into SWF Player Problems
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" /> </object>
Any thoughts on how I can remove this white screen over my movie?
Thanks in advance for all your help!
Last edited by CSSQuest; 09-11-2009 at 05:37 PM.
09-11-2009, 07:37 PM #2
- Join Date
- Mar 2009
- Uk, North
- Thanked 3 Times in 3 Posts
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
Users who have thanked Kelon for this post: