Not signed in (Sign In)

Vanilla 1.0.3 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorkg123
    • CommentTimeMay 5th 2008
     
    Hello,

    I am having a strange problem. I have a few SWF players that play FLV files. I am using SWFObject 2.0 to put them on a page.

    When I view them from my web server, they work fine in both Firefox and Internet Explorer. But when I view them locally/from my hard drive in Internet Explorer, I get this:

    http://kfzy.com/result.png

    However, it works fine in Firefox:

    http://kfzy.com/firefox.png

    Does anybody know why this is happening? I have tried an older version of SWFObject too and get the same result. Here is my code:


    <div id="myAlternativeContent">video goes here</div>


    <script type="text/javascript" src="swfobject2.js"></script>
    <script type="text/javascript">
    var flashvars = {};
    flashvars.video = "sample.flv";
    flashvars.thumbnail = "images/racoon.jpg";
    flashvars.sound = "0";
    flashvars.buffersize = "3";
    flashvars.autoplay = "true";
    flashvars.redirect = "redirect=http://www.google.com/";
    var params = {};

    var attributes = {};
    attributes.id = "myAlternativeContent";
    swfobject.embedSWF("flvplayer01.swf", "myAlternativeContent", "500", "600", "8", false, flashvars, params, attributes);
    </script>

    Thank you for your help!!!

    Keith