【发布时间】:2015-01-16 15:15:35
【问题描述】:
使用 FireBreath 从插件获取 HTML 属性的最佳方法是什么?
我使用以下行从网页调用我的插件:
<embed src="mydata" type="application/x-myplugin" hidden="true">
如何获取插件中“src”的值? (例如,来自 void MyPlugin::onPluginReady() ?)
我只在文档中看到有关如何从 Javascript 对象 (http://www.firebreath.org/display/documentation/Interacting+with+Javascript) 获取参数的内容。
有没有办法直接从 HTML 中获取它们?
【问题讨论】:
标签: html c++ plugins firebreath