W3C home > Mailing lists > Public > www-validator@w3.org > July 2005

Re: [VE][108] Error Message Feedback

From: Jon Ribbens <jon+www-validator@unequivocal.co.uk>
Date: Tue, 5 Jul 2005 12:15:59 +0100
To: www-validator@w3.org
Message-ID: <20050705111559.GA13326@snowy.squish.net>

"Jukka K. Korpela" <jkorpela@cs.tut.fi> wrote:
> In HTML specifications, the general embedding element is the "OBJECT" 
> element. Replacing "EMBED" by it can be problematic, though, since the 
> functionalities, attributes, and browser support vary.

The original poster was using EMBED to provide a Flash movie.
Provided you don't need the Flash movie to stream (i.e. start playing
before it's fully downloaded), the following works in all browsers
that I am aware of (unless anyone else knows better):

<object type="application/x-shockwave-flash" data="example.swf" width="100" height="200">
<param name="movie" value="example.swf">
<!-- alternative content for non-flash browsers -->
</object>

which is simpler and easier to remember than the fancy EMBED-using
recipes, and validates.
Received on Tuesday, 5 July 2005 11:16:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:19 GMT