[whatwg] Object data Attribute
shadow2531 at gmail.com
Tue Nov 7 09:19:13 PST 2006
On 11/6/06, Lachlan Hunt <lachlan.hunt at lachy.id.au> wrote:
> Should the data attribute be required for <object>? There is at
<object classid="java:MyJavaClass"></object> is used for Java. (
Although I'd love to have <object type="application/java"
data="file.class"></object> work, but ...)
You might want to load a plugin like this: <object
type="application/x-mplayer2"></object> and later use scripting to
tell the plugin to get the resource. If the data attribute is
required, you'd be forced to load a resource that you didn't want to.
The tcl plugin <http://www.tcl.tk/software/plugin/> suports inline
scripts via a script param and things like the following need to work
with the data attribute.
<param name="script" value="script content">
More information about the whatwg