thanks sunburn, briefly read thru the documentation for it - i dont quite understand it to be honest, can I just check: This is for x-browser friendly embedding of Flash files, and to also detect what version of flash player the user has, embed the correct version of the flash file, and if they dont have flash, display other content instead?
I suppose this would be very good if your Flash had an important link or could be replicated with html. And yes, the entire site is replicated in html, so in that way this could be of good use if i couldget my brain around it in simply redirecting the user to the html site or even better (concerns about cloaking etc) display the html content on the same page instead of the flash, avoiding a redirect - (can it do this?)
But my main problem from this thread was embedding a video file - if the user doesnt have flash, what do i embed, and how do i do this. It would be brilliant to have something that'd detect this, and if not display a different format of video.
However, i realised that the other formats are either for Quicktime, windows media player, and Realplayer. If the user has windows, they wont have quicktime. If the user has mac, they wont have WMP, and neither will have RealPlayer automatically installed. (I think i am correct therefore by saying theres a good chance that even if the user doesnt have flash, that they'll have to install something else either way and it'll still be irritating for them.)
So i thought of this very basic simple solution to the problem - embed flash, with a little link underneath to 'view/download .avi, view/download .wav'
If there IS a way of detecting what media player the user has, and displaying content accordingly, then that is amazing and id love to know about it (I cant find anything myself..) and apologies if I'v egot it wrong and that IS what SWFObject can do.
But if not, I thought the only thing i need that could make it smoother is something like the thing jaz just coded, which detects if the user has flash, and if not, directs them to a html version of the entire website. That way, I at least dont need to worry about displaying those download/view other format links on one of the sites.
Criticisms on my solution or corrections v welcome, or a direction to anything thatd help given the above
