Not signed in (Sign In)

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

    • CommentAuthorabey
    • CommentTimeJan 11th 2007
     
    I am getting the following errors:
    swfobject is not defined
    for this line of code:
    var so = new SWFObject("/uploads/before_123.flv", "mymovie", "200", "100", "7", "#336699");

    I am not sure what could be the problem.

    Here is my simple javaScript I have on my page
    <script type="text/javascript" src="/js/swfObject/swfobject.js"></script>

    <div id="flashcontent">
    This text is replaced by the Flash movie.
    </div>

    <script type="text/javascript">
    var so = new SWFObject("/uploads/before_123.flv", "mymovie", "200", "100", "7", "#336699");
    so.write("flashcontent");
    </script>
    • CommentAuthorGeoff
    • CommentTimeJan 12th 2007
     
    usually that means the path to your js file is wrong... are you sure the js file is in the right place and linked to the page with the correct url?
    • CommentAuthorkamermans
    • CommentTimeJan 17th 2007
     
    It could be related to the fact that you're trying to load an FLV instead of a SWF. You need to put the FLV in a SWF, or make a player in Flash to play the FLV - you can't embed it directly in the page.