W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2007

[whatwg] EMBED should not require src if type is specified.

From: Shadow2531 <shadow2531@gmail.com>
Date: Tue, 27 Mar 2007 08:15:02 -0400
Message-ID: <6b9c91b20703270515o73dedc11x853128d5cdbcced6@mail.gmail.com>
As mentioned offtopic in
<http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2006-November/007936.html>,
just like OBJECT, for EMBED, the src attribute is not always needed
and sometimes it must not be present.

The best example for not requiring src is the tcl plug-in.
<http://shadow2531.com/opera/testcases/plugins/tcl/001.html>
<http://shadow2531.com/opera/testcases/plugins/tcl/001-a.html>

Also, Java can be loaded via the embed element where src is not needed.
<http://shadow2531.com/opera/testcases/plugins/java/007.html>

There are other cases with the Windows Media plug-in or with the
RealPlayer plug-in where just loading the plug-in with the type
attribute and doing scripting on the object is desirable.

There's also the neptune plug-in. For example: <embed
type="application/x-meadco-neptune-ax"
param-location="your-entry-page.htm">. In this case, it wants a
param-location param and not a src param.


-- 
burnout426
Received on Tuesday, 27 March 2007 05:15:02 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:54 UTC