homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

Flash, Embed, and Validating

 3:44 pm on Jan 17, 2009 (gmt 0)


I'm trying to validate my HTML pages but am having problems with the Flash quizzes I created. These were created using Adobe Captivate and they work fine, no problems. But I'm using a validator tool with FireFox and it says "<embed> is not approved by W3C".

I've done some reading on the subject but can't really understand what I'm supposed to do. Hopefully someone here can shed some light (i hope). Here is the flash code in the HTML page:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="550" height="225" title="Mini Quiz">
<param name="movie" value="../../../media/quiz/quiz1.swf" />
<param name="quality" value="high" />
<embed src="../../../media/quiz/quiz1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="550" height="225"></embed>

Any ideas?




 6:34 pm on Jan 17, 2009 (gmt 0)

Hi Tim,

Look into using SWF Object for displaying flash.



 6:57 pm on Jan 17, 2009 (gmt 0)

Thanks for the reply, but could you be more specific?


 8:16 pm on Jan 17, 2009 (gmt 0)

SWF Object [code.google.com] is a widely used method for embedding Flash in web pages. It doesn't use <embed>, so your code will validate.


 11:50 pm on Jan 17, 2009 (gmt 0)

Thanks for the info and the link. This seems like a lot of work to embed something. I just don't get why Adobe Captivate outputs in a format that doesn't validate properly. Looks like I have a lot of reading to do!


 11:46 am on Jan 18, 2009 (gmt 0)

the problem is the combination of a deprecated tag and cross-browser compatibility problems.
by using javascript to check for flash support and write the necessary tags for that user agent it is possible to create code that validates html strict or xhtml.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved