You have the initial content and replace with flash if the users browse has the correct plugin installed (they see flash) other wise they get the alt content. You can provide better informed feedback to the user that if they install flash they will get a fuller experience (updating another area with innerHTML)
so you can meet a wide range of user needs/abilities - S On 12 January 2012 10:07, Nicke <[email protected]> wrote: > Hi Aran! > > Thanks for your answer & time. > Hmmm...but that would mean that the alternative content wouldn't exist > if flashplayer is installed. > The point of having alternative content in this case is to make the > site SEO-friendly. > > I'll have to try to find another way of dealing with this. > > Thanks, Niklas > > On 10 Jan, 19:15, Aran Rhee <[email protected]> wrote: > > Hi Niklas. > > > > It all depends on loading order, and what got kicked off when. > > > > What you could do to ensure you only load the appropriate content is to : > > > > 1) call the swfobject util > > method swfobject.hasFlashPlayerVersion(versionStr) (see more here : > http://code.google.com/p/swfobject/wiki/api) > > > > 2a) If the user has the appropriate Flash version, call embedSWF() > > > > 2b) If the user does not have the appropriate version, write out the > > content you want to your alt content div with js etc. > > > > Cheers, > > Aran > > > > > > > > > > > > > > > > On Tue, Jan 10, 2012 at 7:36 AM, Nicke <[email protected]> wrote: > > > Hi there! > > > I have a site that load rather large xml-files that are beeing used > > > for both alternative html- & flashcontent with both images & text. > > > The alternative content is beeing created with SimpleXML. > > > The problem I have is that the main.swf is not beeing loaded until > > > after all the images from the xml-file has been loaded. I've used > > > Firebug to analyse the loading. > > > I thought that by default, the replacement of alternative content > > > happens when the page loads, technically when the page structure has > > > loaded but before any images have been downloaded. > > > But the images are beeing loaded before main.swf so the replacement > > > can't take place until after all images are loaded? > > > Is there any way you can solve this so that the main.swf exist or load > > > before all images? > > > > > Best, Niklas > > > > > -- > > > 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. > > -- > 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. > > -- 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.
