[whatwg] OBJECT as a link target?
Hallvord R M Steen
hallvors at gmail.com
Mon Jun 13 14:19:47 PDT 2005
often a page needs to interact with a plugin and tell it to load
difficult because most plugins have different JS interfaces, and there
are also differences between the plugins' ActiveX based interfaces in
IE and the NPAPI plugin ones.
Hence I thought it would be a great simplification if we could do the following:
<object type="application/x-shockwave-flash" id="myMedia"
<a href="animation1.swf" target="myMedia"> load movie 1 </a>
A compliant UA would detect that the target was a plugin and not a
window, and call the plugin's NPP_NewStream method (I think, I don't
know NPAPI well at all) to notify it of the new file to load. I think
backwards compatibility is pretty good since a non-compliant UA would
open a new window for the new file.
What do you think of this idea?
Hallvord R. M. Steen
More information about the whatwg