Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Mar 2009
    Thanked 0 Times in 0 Posts

    FLV into SWF Player Problems

    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!
    Last edited by CSSQuest; 09-11-2009 at 06:37 PM.

  • #2
    New Coder
    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:

    CSSQuest (09-16-2009)


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts