Not signed in (Sign In)

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

    • CommentAuthorPipsqueak
    • CommentTimeMar 4th 2007
     
    Hi Geoff,

    Thrilled with SWFObject.js. I'm trying to load a Flash movie which I would like to be paused until the user clicks on the play button. I'd rather not alter the SWF files themselves. I've tried to add a parameter as follows:

    so.addParam("play", "false");

    but it doesn't seem to work -- they always load and play. Is there a problem with this parameter?

    Thanks very much!
    • CommentAuthormosley
    • CommentTimeMar 17th 2007
     
    I have done this and have had the same problem. Still looking for a solution.
    • CommentAuthorpantone
    • CommentTimeMar 18th 2007
     
    I am having this exact problem, too! I've also tried using:
    so.addParam("autoStart", "false");
    but that doesn't work, and I've tried messing with the line of code above where you input the pixel dimensions but can't get anything to work there either. Very frustatrating! It is not easy reworking the Flash file to not play on initial load either.
    • CommentAuthorpantone
    • CommentTimeMar 18th 2007
     
    well a little more fooling around in Flash and an easy workaround:
    select your flash video in your flash file. in the Properties inspector, at the top change the tab to "Parameters" and there you can set Auto Play to false.

    would still be nice to be able to set the parameter in html though
    • CommentAuthorGeoff
    • CommentTimeMar 20th 2007
     
    can you just put a stop action on the first frame?
    • CommentAuthorpantone
    • CommentTimeMar 20th 2007
     
    no I tried putting a stop on the first frame, but the video operates more like a movie clip and operates independently of the main timeline so that did not work. It's very easy to change the Parameter of the video in Flash though and it works great.
    • CommentAuthormosley
    • CommentTimeMar 27th 2007
     
    My FLVs are all videos. I may have the same video in more than one page on my site. In one location I may want the video to start automatically, in another I may want that same video not start automatically.

    Geoff, Is this a bug? Any suggestions?

    Thanks
    • CommentAuthorGeoff
    • CommentTimeMar 28th 2007
     
    you should be able to just put in your swf that loads the movie whether you want it to auto play or not. i'm not sure how the flv player works, so i'm not sure how you control that using it, but if it's a custom player you should be able to just put some code in that either stops or plays your video.