[prev in list] [next in list] [prev in thread] [next in thread] 

List:       webkit-dev
Subject:    Re: [webkit-dev] How to detect the parameters in object tag?
From:       Xiong <browserwk () gmail ! com>
Date:       2009-05-13 1:21:26
Message-ID: 5170f2ed0905121821t10941e3fv77fbcd154a4bdfd5 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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@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@lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>

[Attachment #5 (text/html)]

Hi,<br><br>For the first question, you can implement a NPAPI plugin.<br><br>You can \
get all the parameters in the plugin-side functions \
API(NPPluginFuncs-&gt;newp).<br><br>Thanks.<br><br>-Xiong<br><br><div \
class="gmail_quote"> On Wed, May 13, 2009 at 8:56 AM, naixuan guan <span \
dir="ltr">&lt;<a href="mailto:guannaixuan@gmail.com">guannaixuan@gmail.com</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, \
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div>Hi, everyone</div>
<div>  </div>
<div>Recently, I met a HTML page which has a object tag like this:</div>
<div>  </div>
<div>&lt;OBJECT id=player style=&quot;LEFT: 0px; WIDTH:100%; TOP: 0px; \
HEIGHT:100%&quot; codebase= classid=&gt;<br>       &lt;param name=&quot;URL&quot; \
value=&quot;?&quot;&gt;                           <br>       &lt;PARAM \
NAME=&quot;ShowUI&quot; VALUE=&quot;1&quot;&gt;<br>

       &lt;PARAM NAME=&quot;volume&quot; VALUE=&quot;90&quot;&gt;<br>       &lt;PARAM \
NAME=&quot;autoPlay&quot; VALUE=&quot;2&quot;&gt;<br>       &lt;PARAM \
NAME=&quot;mute&quot; VALUE=&quot;0&quot;&gt;<br>       &lt;PARAM \
NAME=&quot;DropEnable&quot; VALUE=&quot;0&quot;&gt;<br>

       &lt;PARAM NAME=&quot;EnableFullScreen&quot; VALUE=&quot;0&quot;&gt;<br>       \
&lt;PARAM NAME=&quot;ShowVideo&quot; VALUE=&quot;1&quot;&gt;<br>       &lt;param \
name=&quot;loop&quot; value=&quot;2&quot;/&gt;<br>&lt;/OBJECT&gt;<br>

&lt;script language=&quot;JavaScript&quot;&gt;<br>document.player.URL = \
urlpath+file;<br>&lt;/Script&gt;</div> <div>  </div>
<div>I have  two questions</div>
<div>1.how to detect the parameters in object tag?</div>
<div>2.specially, how to detect the &quot;URL&quot; param which is changed by \
Javascript?</div> <div>  </div>
<div>Thank you!</div>
<br>_______________________________________________<br>
webkit-dev mailing list<br>
<a href="mailto:webkit-dev@lists.webkit.org">webkit-dev@lists.webkit.org</a><br>
<a href="http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev" \
target="_blank">http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev</a><br> \
<br></blockquote></div><br>



_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic