[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->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"><<a href="mailto:guannaixuan@gmail.com">guannaixuan@gmail.com</a>></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><OBJECT id=player style="LEFT: 0px; WIDTH:100%; TOP: 0px; \
HEIGHT:100%" codebase= classid=><br> <param name="URL" \
value="?"> <br> <PARAM \
NAME="ShowUI" VALUE="1"><br>
<PARAM NAME="volume" VALUE="90"><br> <PARAM \
NAME="autoPlay" VALUE="2"><br> <PARAM \
NAME="mute" VALUE="0"><br> <PARAM \
NAME="DropEnable" VALUE="0"><br>
<PARAM NAME="EnableFullScreen" VALUE="0"><br> \
<PARAM NAME="ShowVideo" VALUE="1"><br> <param \
name="loop" value="2"/><br></OBJECT><br>
<script language="JavaScript"><br>document.player.URL = \
urlpath+file;<br></Script></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 "URL" 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