阅读:3094回复:0
如何制作.xpt文件
如题,根据mozilla的例子程序mozilla/ modules/ plugin/ sdk/ samples/ basic/ unix/ BasicPlugin.c 已经编译出了.so文件,但不知道如何调用它。
该例子中还有一通过网页调用该插件的例子test.html: <html> <body> <center> <embed type="application/basic-plugin" width=600 height=80> </center> </html> </body> 这里的application/basic-plugin应该是插件的MIME_TYPE,但不知道如何注册这一个MIME_TYPE,据说是通过.xpt文件注册,如何编写.xpt文件,还请指教 |
|