Are you seeing that much of a performance hit to notice the detection happening?
Anyhow, you can call the util method swfobject.hasFlashPlayerVersion(versionStr) first, store a hasflash boolean in js and then call the lower level swfobject.createSWF(attObj, parObj, replaceElemIdStr) method repeatedly if the hasflash boolean is true. All API methods can be found on http://code.google.com/p/swfobject/wiki/api You could also write the hasflash boolean to a cookie, so that it would persist page refreshes / sessions etc. Aran On Fri, Jun 25, 2010 at 1:04 AM, Russ Back <[email protected]> wrote: > Is there a way to bypass the Flash detection and just embed the SWF? > > I have a situation where I have SWFs added dynamically so I only need > to detect the player once. > > -- > 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.
