Validating XHTML containing Flash code

Often, if you copy and paste a Flash object into your own code, it won’t validate as XHTML because HTML tags or invalid tags are used. One way of solving this is the Flash Satay method, which is explained far better than I can explain it by Drew McClellan.

I used this for the Last.fm widget, which was subsequently removed, and the embedded youtube video in one of my blog entries, although I didn’t need to use the whole hog. Simply removing the invalid tags and properties and adding the correct properties in the correct place worked for me because the widget wasn’t too horrendous, and the style section wasn’t even needed. I didn’t bother with the workaround because if you (voluntarily) use IE, especially older versions of it, then you deserve all you get. Apologies to those who are forced to use it; but perhaps you should have a word with your system administrator!

Advertisements
Leave a comment

What do you have to say about this?

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: