pftq.com
Blabberbox » Embedding Flash to W3C StandardsShare on Twitter

Embedding Flash to W3C Standards

March 22nd, 2009 | Posted by pftq in Blabberbox | #

  Been trying to figure out how to embed Flash the “perfect way” for a while.  The conventional way, using both object and embed tags, is not actually compliant or “legal” so to speak.  If you validate your site (validator.w3.org), you will run into many errors.

   So for a while, everything on my site except the Flash embedding was W3C-compliant.  I honestly don’t know why I care, but it just bugged me that one problem was keeping my site from being fully XHTML.

  Out of all my searches, I have to say this one is most useful: In Search of… the Perfect Plugin Technique.  Not only does it list all the ways to embed Flash and stay within the standards, it lists all the pros and cons of each method.

  From what I’ve tried, it would appear the nested-object method is the best way to go if you want to have the most compatibility across browsers.  Javascript is out of the question because, sadly, I still have people who disable javascript on their browsers.  It’s also just way too much hassle to create a new SWF in order to load other Flash files; I’d have to break and redo many of the links I’ve already created (rather than just changing a few key elements of the site).

  I guess really the only thing now is to see and wait.  If anyone knows of issues with the nested-object technique, please do say.  I’d hate to have it set up across all the sites and rely on it so blindly if it turns out not to work.

342 unique view(s)

Leave a Comment

Name: (Have an account? Login or Register)
Email: (Won't be published)
Website: (Optional)
Comment:
Enter the code from image: