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

naixuan guan guannaixuan at gmail.com
Tue May 12 17:56:22 PDT 2009

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"/>
<script language="JavaScript">
document.player.URL = urlpath+file;

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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090513/2333883f/attachment.html>

More information about the webkit-dev mailing list