[webkit-dev] How to detect the parameters in object tag?

Xiong browserwk at gmail.com
Tue May 12 18:21:26 PDT 2009


Hi,

For the first question, you can implement a NPAPI plugin.

You can get all the parameters in the plugin-side functions
API(NPPluginFuncs->newp).

Thanks.

-Xiong

On Wed, May 13, 2009 at 8:56 AM, naixuan guan <guannaixuan at gmail.com> wrote:

> Hi, everyone
>
> Recently, I met a HTML page which has a object tag like this:
>
> <OBJECT id=player style="LEFT: 0px; WIDTH:100%; TOP: 0px; HEIGHT:100%"
> codebase= classid=>
>     <param name="URL" value="?">
>     <PARAM NAME="ShowUI" VALUE="1">
>     <PARAM NAME="volume" VALUE="90">
>     <PARAM NAME="autoPlay" VALUE="2">
>     <PARAM NAME="mute" VALUE="0">
>     <PARAM NAME="DropEnable" VALUE="0">
>     <PARAM NAME="EnableFullScreen" VALUE="0">
>     <PARAM NAME="ShowVideo" VALUE="1">
>     <param name="loop" value="2"/>
> </OBJECT>
> <script language="JavaScript">
> document.player.URL = urlpath+file;
> </Script>
>
> I have two questions
> 1.how to detect the parameters in object tag?
> 2.specially, how to detect the "URL" param which is changed by Javascript?
>
> Thank you!
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090513/b2ab17c6/attachment.html>


More information about the webkit-dev mailing list