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 !!!!

One Response to “Javascript Flash Player detection and embed script”

  1. Hasan Says:

    Man thank u so much. its working good.

Leave a Reply