Not signed in (Sign In)

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

    • CommentAuthorecurtis
    • CommentTimeJan 30th 2007
     
    Hello all,

    I have been using SWFobject for a while and I have run into an odd problem. I am getting perfect performance locally but when uploaded the page freezes. I have checked it in firefox and safari.

    Here is the page:
    http://www.rgbdesignstudio.com/reel.htm

    Here is the code:
    <script type="text/javascript">
    // <![CDATA[
    var fObj = new SWFObject("rgbloader.swf", "demoreel", "360", "283", 8, "#FFFFFF");
    fObj.write("demoreel");
    // ]]>
    </script>

    I have updated to 1.4.4, reloaded the files, checked the syntax and I am at a lose.

    Do I need to have some sort of code in the htaccess?

    Thank you for any help,

    Eric Curtis
    • CommentAuthorGeoff
    • CommentTimeJan 30th 2007
     
    it looks ok to me - the video plays and everything looks normal.

    can you give more information, like what exactly does 'the page freezes' mean - the video doesn't play? or it starts to play then stops?

    does it happen in both firefox and safari, or just one? have you tested it on windows at all?
    • CommentAuthorecurtis
    • CommentTimeJan 31st 2007
     
    Sorry to have taken your time. It was not a bug in SWFobject but a missing line in the HTaccess file. To get the flash video to work I had to add:

    AddType video/x-flv .flv

    It was trying to interpret the movie as a text document otherwise. Having read through the forum yesterday I would not be surprised if this might help others, you might want to add it to your FAQ.

    Thank you for your response.