homepage Welcome to WebmasterWorld Guest from 54.198.224.121
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

    
Flash, Embed, and Validating
TimmyMagic




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

Hi,

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>
</object>

Any ideas?

Tim

 

dreamcatcher




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

Hi Tim,

Look into using SWF Object for displaying flash.

dc

TimmyMagic




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

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

mattur




msg:3828556
 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.

TimmyMagic




msg:3828668
 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!

phranque




msg:3828848
 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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved