Javascript Flash Player detection and embed script
Few days ago when i was validating a site for W3 Standard and i was fixing error one by one. I saw that the < object > tag doesnt support W3 standard . And i was in deep trouble to fix those problem . But at least i got a Javascript thats detect flash player and helps me from removing that bugs.
this is very easy to use and configure. You just have to include a JS file and put the following line :
[For the further help, you can view the raw javascript here.]
Javascript Code ::
------------------
var so = new SWFObject("movie.swf", "mymovie", "200", "100%", "7", "#336699");
so.addParam("quality", "low");
so.addParam("wmode", "transparent");
so.addParam("salign", "t");
so.write("flashcontent");
---------
Here You can find the details about it . http://blog.deconcept.com/swfobject/
I really loved it !!!!
August 21st, 2006 at 11:10 am
Man thank u so much. its working good.