Hi. With Flash, it really comes down to the video player you are using. Most popular pre-bilt Flash based players such as Flowplayer and JW Media player have a javascript API in which you can invoke play(), stop(), load() methods etc. If you roll your own player or are using a custom built player, then methods to be called need to be exposed to the page. How to expose these methods are out of the scope of this list.
SWFObject is about embeddeing/inserting your flash files on your HTML page, and does not deal with the specific workings of the swf files which are embedded. You can however pass data to the swf at creation time though flashvars etc. I hope this helps you and puts you in the correct direction. Aran On Tue, Feb 8, 2011 at 1:05 AM, l.breyers <[email protected]> wrote: > Hi, ive come here in search of a way in which to play a flash video > using a button. Whereas all of video players require a simple play(); > function, flash seems to require a much more elaborate method, of > which there is little to no information about it. Apparently SWFObject > can do this, but after reading a few tutorials over and over again and > trying for hours to just get a video to show, ive not managed to > decipher their examples. What im looking for is a complete working > markup, that is, the minimal code required to get a flash video to > show in firefox, and play when an image is clicked. Please help! > > -- > 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.
