home projects speaker

XHTML JavaScript flash validated?

Note

Please note that this is an archived post, so links, code and the communicated message might be outdated. YMMV

I finally found a way to get my sites containing flash, xhtml 1.0 validated! I have tried several different quirks and tricks to make the flash validated, with no real success - the Flash Satay example from an article posted at A list apart and the default Adobe embed to mention a few.

The solution was SWFObject from deconcept.com! To say it directly:

SWFObject is a small Javascript file used for embedding Adobe Flash content. The script can detect the Flash plug-in in all major web browsers (on Mac and PC) and is designed to make embedding Flash movies as easy as possible.

To mention a tip: you can use the noscript tag with the js script to include an image incase the browser cant read flash OR javascript.

A little update

Robert Nyman has written another way to do this, have not tested it yet, but check it out.


About the author

Hi! My name is Alexander, and I am a creative frontender, specializing in UX, accessibility, universal design, frontend-architecture, node and design systems. I am passionate with open source projects and love to dabble with new emerging technologies related to frontend. With over 24 years of frontend experience, I have earned the right to be called a veteran. I am a lover of life, technologist at heart. If I am not coding, I am cooking and I love whisky and cigars. Oh, and coffee, I LOVE coffee!

If you want to know more about me, here is some links you might want to check out: GitHub, Instagram, Twitter, LinkedIn, CodePen, Slides.com, npm,

Speaker

I am also an avid speaker on several topics! Check out some of the things I speak about, and contact me if you are interested in having me at your next event!