[webkit-qt] How does QtWebkit parse this web page?

naixuan guan guannaixuan at gmail.com
Thu Jan 7 17:34:48 PST 2010


Hello, everyone!
I met a web page as follow:
<OBJECT id=StormPlayer style="LEFT: 0px; WIDTH: 100%; TOP: 0px; HEIGHT:
100%"
codeBase=http://123.123.123.181:8080/storm.cab#version=3,8,9,7 height=400
width=800 classid=clsid:BDBB259C-9729-484F-BF9D-778149B375B2>
<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.StormPlayer.URL = "abc.def.sds";
</SCRIPT>

now I have create a "Qt based plugin"(based on QWebPluginFactory) for this
"object" tag, but my plugin
could only get the value of "URL" is "?" in the MyPlugin::create() function.
How could I get the url modified by JS in my plugin?
Any suggestion will be appreciate~
Thanks!

gnx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20100108/6020088d/attachment.html>


More information about the webkit-qt mailing list