This is not controllable through swfobject (it is just for embedding your files, not for controlling interactions). You will need to modify your swf either to have this functionality built in by default, or expose an external function that can be called through Javascript via ExternalInterface. Either way requires you to modify your swf.
Aran On Thu, Feb 25, 2010 at 1:47 PM, Anant <[email protected]> wrote: > Hello, > > I am very new to coding and trying to modify code on a existing > webpage.Currently the video keeps on repeating once it finishes > (looping). I would like to stop looping the video. When i remove the > repeat variable it plays the video but when it finishes i have a blank > screen. I would like to play the video but freeze on the last frame. > Is it possible? Thanks in advance. > > <script type="text/javascript"> > > var so = new SWFObject('/player.swf','mpl','364','220','9'); > > so.addParam('allowscriptaccess','always'); > > so.addParam('allowfullscreen','true'); > > > > so.addParam('flashvars','&file=BigWeb.flv&screencolor=FFFFFF&controlbar=over&autostart=true&repeat=always&stretching=fill'); > > so.write('player'); > > > > </script> > > -- > You received this message because you are subscribed to the Google Groups > "SWFObject" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<swfobject%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/swfobject?hl=en. > > -- You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.
