Built-in tag for flash and w3c

when validating a site with w3c validator, it reports that the embed tag is invalid. So I take it out and it works on safari / chrome but not firefox (3.5.x) but checks everything. There is something in the object tag that I have to add in order for firefox to display the flash.

+2


a source to share


3 answers


A List Apart has an excellent article on this topic: Flash Satay: Implementing Flash With Standards Supported .

Read this to understand the general difficulties of embedding flash and to read about the various approaches to embedding it in valid HTML. And then go and use SWFobject to embed Flash as this is the best way to do it, having both standards support and browser compilation.



In addition to this, you can use the usual Flash Satay method to embed it for people without JavaScript.

+1


a source


embed was never part of the HTML specification and the object should be used. It's been so long since I touched the flash, I hesitate to say more than I know.



0


a source


You have to use swfobject . This is indeed, although I think I had a validator check before (the w3 validator has been known to hoist on things like this sometimes).

0


a source







All Articles